Variables - ssomar1607/ExecutableItems GitHub Wiki
Variables
What are variables?
- Variables are used to setup custom values to specific items and can be used to create more complex items
How to setup variables ingame?
- Go to the editor of your item
- Create a new variable
- Setup the variable's name. You can leave it like that if you want
- Setup the variable's value. At the moment, you can only type numbers.
- Save
You can also setup the variable placeholders into the lore
How to setup variables in the activator editor
- Go to the editor for the activator
- Create a new variable modifier
- Choose what variable you want to edit (All the variables available in that ei item are displayed)
- Choose what kind of modification you want to use
-
- MODIFICATION: Adds or subtracts the value based on your given value
- SET: Replaces the current value with the given value you typed
- Set the value of the modification here