1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2025-05-12 21:11:05 +00:00

Added marks to some other features

This commit is contained in:
Harley White 2021-05-14 15:32:20 -04:00
parent 01f33b0ebe
commit 4f831f51b0
10 changed files with 30 additions and 2 deletions
js/technical

View file

@ -105,6 +105,8 @@ function setupLayer(layer){
layers[layer].challenges[thing].unlocked = true
if (layers[layer].challenges[thing].completionLimit === undefined)
layers[layer].challenges[thing].completionLimit = 1
else if (layers[layer].challenges[thing].marked === undefined)
layers[layer].challenges[thing].marked = function() {return maxedChallenge(this.layer, this.id)}
}
}