Skip to content

Commit

Permalink
prettify .md + .js files
Browse files Browse the repository at this point in the history
- just ran `yarn start lint.fix`
  • Loading branch information
TheAfroOfDoom committed Dec 29, 2023
1 parent 542c18d commit 10b448d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 19 deletions.
34 changes: 17 additions & 17 deletions package-scripts.js
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
const { concurrent, series } = require("nps-utils");
const { concurrent, series } = require('nps-utils');

const minecraftPath = "C:/Users/afro/AppData/Roaming/.minecraft";
const worldName = "omega-flowey-remastered";
const resourcePackName = "omega-flowey-remastered-resourcepack";
const minecraftPath = 'C:/Users/afro/AppData/Roaming/.minecraft';
const worldName = 'omega-flowey-remastered';
const resourcePackName = 'omega-flowey-remastered-resourcepack';

const minecraftWorldPath = `${minecraftPath}/saves/${worldName}`;
const minecraftResourcePackPath = `${minecraftPath}/resourcepacks/${resourcePackName}`;

module.exports = {
scripts: {
default: concurrent.nps("watch.datapacks", "watch.resourcepack"),
default: concurrent.nps('watch.datapacks', 'watch.resourcepack'),
watch: {
datapacks: 'watch --wait=1 "nps sync.datapacks" datapacks',
resourcepack: 'watch --wait=1 "nps sync.resourcepack" resourcepack',
},
sync: {
datapacks: series(
"echo syncing datapacks",
"nps delete.datapacks",
"nps copy.datapacks",
"echo finished datapacks",
"mpg123 -f -5000 -q ./temp/anyway.mp3 || echo mpg123 not found on your system -- cannot play notification sound"
'echo syncing datapacks',
'nps delete.datapacks',
'nps copy.datapacks',
'echo finished datapacks',
'mpg123 -f -5000 -q ./temp/anyway.mp3 || echo mpg123 not found on your system -- cannot play notification sound',
),
resourcepack: series(
"echo syncing resourcepack",
"nps delete.resourcepack",
"nps copy.resourcepack",
"echo finished resourcepack",
"mpg123 -f -5000 -q ./temp/fnaf.mp3 || echo mpg123 not found on your system -- cannot play notification sound"
'echo syncing resourcepack',
'nps delete.resourcepack',
'nps copy.resourcepack',
'echo finished resourcepack',
'mpg123 -f -5000 -q ./temp/fnaf.mp3 || echo mpg123 not found on your system -- cannot play notification sound',
),
world: series(
"rimraf world.zip",
`bestzip world.zip ${minecraftWorldPath}/*`
'rimraf world.zip',
`bestzip world.zip ${minecraftWorldPath}/*`,
),
},
copy: {
Expand Down
11 changes: 9 additions & 2 deletions pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Summary

<!--
what is the primary purpose of this PR?
- does it address any existing tickets?
Expand All @@ -8,13 +9,15 @@ what is the primary purpose of this PR?
---

## Test plan

<!--
does this PR include any unit tests for its new code?
if yes, briefly describe them.
if no, explain why.
-->

## Reproducing in-game

<!--
how to view the thing you added in-game (Minecraft), if applicable.
- are there certain commands to run?
Expand All @@ -29,18 +32,22 @@ function entity:hostile/omega-flowey/attack/x-bullets-lower/start
-->

## Preview

<!--
provide visuals (GIFs preferred) showing a before/after of your PR's purpose.
contrasts between in-game (Minecraft) and Undertale are also great.
-->

| in-game -- before | in-game -- after | undertale |
|-|-|-|
| | | |
| ----------------- | ---------------- | --------- |
| | | |

<!-- `in-game -- before` can be `N/A` if this is a new addition to the map -->

---

## Supplemental changes

<!--
describe what other changes this PR makes which aren't specific to its main purpose.
- does it contain a world backup? (recommended)
Expand Down

0 comments on commit 10b448d

Please sign in to comment.