mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2025-05-12 21:11:05 +00:00
Added unlocking hotkeys
This commit is contained in:
parent
b003027098
commit
c8bc53ca50
4 changed files with 9 additions and 5 deletions
|
@ -46,7 +46,8 @@ You can make almost any value dynamic by using a function in its place, includin
|
|||
{
|
||||
key: "p", // What the hotkey button is. Use uppercase if it's combined with shift, or "ctrl+x" for holding down ctrl.
|
||||
description: "p: reset your points for prestige points", // The description of the hotkey that is displayed in the game's How To Play tab
|
||||
onPress() { if (player.p.unlocked) doReset("p") }
|
||||
onPress() { if (player.p.unlocked) doReset("p") },
|
||||
unlocked() {return hasMilestone('p', 3)} // Determines if you can use the hotkey, optional
|
||||
}
|
||||
]
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue