mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2025-05-05 07:41:04 +00:00
Achievements
This commit is contained in:
parent
d9d2f777a7
commit
923f096aa0
12 changed files with 173 additions and 14 deletions
js
|
@ -17,9 +17,9 @@ let modInfo = {
|
|||
// Set your version in num and name, but leave the tmt values so people know what version it is
|
||||
let VERSION = {
|
||||
num: "2.0",
|
||||
name: "Finally making some progress!",
|
||||
name: "Pinnacle of Achievement Mountain",
|
||||
tmtNum: "2.0",
|
||||
tmtName: "Finally making some progress!"
|
||||
tmtName: "Pinnacle of Achievement Mountain"
|
||||
}
|
||||
|
||||
// Determines if it should show points/sec
|
||||
|
@ -182,6 +182,7 @@ function doReset(layer, force=false) {
|
|||
|
||||
addPoints(layer, gain)
|
||||
updateMilestones(layer)
|
||||
updateAchievements(layer)
|
||||
|
||||
if (!player[layer].unlocked) {
|
||||
player[layer].unlocked = true;
|
||||
|
@ -312,6 +313,7 @@ function gameLoop(diff) {
|
|||
|
||||
for (layer in layers){
|
||||
if (layers[layer].milestones) updateMilestones(layer);
|
||||
if (layers[layer].achievements) updateAchievements(layer)
|
||||
}
|
||||
|
||||
if (player.hasNaN&&!NaNalert) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue