Item Attributes

usingAction

This attribute defines the action of the item when it is in use (the player hold the right mouse button).
List of actions:

  • eat
  • drink
  • block

Examples

// Default value food
usingAction[0] = "eat";
// ...
usingAction[31] = "eat";

usingAction[0] = "block";