mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2025-05-11 20:41:10 +00:00
Updated buyable documentation and added buyablesOwned
This commit is contained in:
parent
e9105e9865
commit
61788c6bdd
4 changed files with 16 additions and 5 deletions
js
|
@ -252,6 +252,14 @@ function hasChall(layer, id){
|
|||
return (player[layer].challs.includes(toNumber(id)) || player[layer].challs.includes(id.toString()))
|
||||
}
|
||||
|
||||
function buyablesOwned(layer, id){
|
||||
return (player[layer].buyables[id])
|
||||
}
|
||||
|
||||
function clickableState(layer, id){
|
||||
return (player[layer].clickables[id])
|
||||
}
|
||||
|
||||
function upgEffect(layer, id){
|
||||
return (tmp[layer].upgrades[id].effect)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue