Item Attributes

maxUsingDuration

This attribute defines how long the item can be in use (hold right mouse button) in ticks. This has to be 32 for foods and drinks.

Examples

// Default value
maxUsingDuration = 0;

// Default value food
maxUsingDuration = 32;

maxUsingDuration = 1000;