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

Started to update docs

This commit is contained in:
Acamaeda 2020-10-12 20:48:06 -04:00
parent 9956aa77e5
commit 02da021fb1
4 changed files with 23 additions and 6 deletions

View file

@ -39,7 +39,7 @@ Individual Challenges can have these features:
- effectDisplay(): **optional**, A function that returns a display of the current effects of the reward with
formatting. Default behavior is to just display the a number appropriately formatted.
- goal: A Decimal for the cost of the upgrade. By default, the goal is in basic Points.
- goal: A Decimal for the amount of currency required to beat the challenge. By default, the goal is in basic Points.
The goal can also be a function if its value changes.
- unl(): A function returning a bool to determine if the challenge is visible or not.