mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2024-11-24 09:21:46 +00:00
Fixed default challenge currency and added clarification in getting started
This commit is contained in:
parent
e248e10b99
commit
2a4612c8ec
2 changed files with 4 additions and 2 deletions
|
@ -35,7 +35,7 @@ The benefits of using Github:
|
||||||
|
|
||||||
3. Open [mod.js](/js/mod.js) in VSCode, and look at the top part where it has a "modInfo" object. Fill in your mod's name to whatever you want, and change the id as well. (It can be any string value, and it's used to determine where the savefile is. Make it something that's probably unique, and don't change it again later or else it'll effectively wipe existing saves)
|
3. Open [mod.js](/js/mod.js) in VSCode, and look at the top part where it has a "modInfo" object. Fill in your mod's name to whatever you want, and change the id as well. (It can be any string value, and it's used to determine where the savefile is. Make it something that's probably unique, and don't change it again later or else it'll effectively wipe existing saves)
|
||||||
|
|
||||||
4. Save [mod.js](/js/mod.js), and then reload [index.html](/index.html) in your browser. The title on the tab, as well as on the info page, will now be the ones you configured!
|
4. Save [mod.js](/js/mod.js), and then reload [index.html](/index.html) in your browser. The title on the tab, as well as on the info page, will now be updated! You can repeat this process every time you change the code to test it quickly and easily.
|
||||||
|
|
||||||
5. Go back to Github Desktop. It's time to save your changes into the git system by making a "commit". This basically saves your work and creates a snapshot of what your code looks like at this moment, allowing you to look back at it later.
|
5. Go back to Github Desktop. It's time to save your changes into the git system by making a "commit". This basically saves your work and creates a snapshot of what your code looks like at this moment, allowing you to look back at it later.
|
||||||
|
|
||||||
|
|
|
@ -244,7 +244,7 @@ function canCompleteChallenge(layer, x)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return !(player[layer].points.lt(challenge.goal))
|
return !(player.points.lt(challenge.goal))
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -357,3 +357,5 @@ var interval = setInterval(function() {
|
||||||
fixNaNs()
|
fixNaNs()
|
||||||
ticking = false
|
ticking = false
|
||||||
}, 50)
|
}, 50)
|
||||||
|
|
||||||
|
setInterval(function() {needCanvasUpdate = true}, 500)
|
Loading…
Reference in a new issue