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?

  1. Go to the editor of your item
  1. Create a new variable
  1. Setup the variable's name. You can leave it like that if you want
  1. Setup the variable's value. At the moment, you can only type numbers.
  1. Save

You can also setup the variable placeholders into the lore

How to setup variables in the activator editor

  1. Go to the editor for the activator
  1. Create a new variable modifier
  1. Choose what variable you want to edit (All the variables available in that ei item are displayed)
  1. 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
  1. Set the value of the modification here