These variables are defined in an item's JSON file, found in the assets/items folder. Default parameters are defined in defaultparameters.config.
This table is a list of all parameters found in in-game object files. Modders can add parameters to an item's file, but be aware that overwriting one of these parameters may cause problems.
|includes: Common, Uncommon, Rare, Legendary
|Price in pixels. Influences buying/selling/printing etc
|Stacks up to this number
|Weapon's name. For randomly generated weapons the name is also randomly generated from three predefined part sets.
|If true occupies both hands when wielded
|Can be used to define how weapons look and some parts of how they act. Also used to enable some abilities to be used on weapons that they normally aren't found on.
|Defines the parameters of the primary ability such as the dps, how fast the weapon fires or swings, and many more.
|Defines what type of ability the primary fire uses.
|Does what primaryAbility does, except it defines the parameters of the alternative ability on weapons that have one.
|Defines what type of ability the alternative fire uses.
|Defines the element of the weapon. Has to be "physical","ice","electric","fire", or "poison". Most staves will break if the element is set to physical, and elemental abilities will also usually break if the element is set to physical.