Functions
In several blocks, you'll be able to introduce actions for specific events. For instance, when using an item, that item can have associated with it an action to increase luck; or, in some chapter, the player loses a few points of stamina because he got knocked over. The description and how-to for each block, in this document, will explicitly refer to the use of functions, when applicable.
Here is the complete list of functions used in-game:
Function | Description |
addStamina | Add Stamina points |
subtractStamina | Subtract Stamina points |
setStamina | Set total Stamina points to a specific value |
addMaxStamina | Sets Stamina points to their initial value and adds some |
resetStamina | Sets Stamina points to their initial value |
addSkill | Add Skill points |
subtractSkill | Subtract Skill points |
setSkill | Set total Skill points to a specific value |
addMaxSkill | Sets Skill points to their initial value and adds some |
resetSkill | Sets Skill points to their initial value |
addLuck | Add Luck points |
subtractLuck | Subtract Luck points |
setLuck | Set total Luck points to a specific value |
addMaxLuck | Sets Luck points to their initial value and adds some |
resetLuck | Sets Skill points to their initial value |
addGold | Add Gold coins |
subtractGold | Subtract Gold coins |
addProvisions | Add Provisions |
addToInventory | Add item to Inventory |
removeFromInventory | Remove item from Inventory |
Last updated