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 = "eat";

usingAction = "block";