Objects Item - brianhang/nutscript2 GitHub Wiki

Description

Items are things that belong to players and give a certain ability or do something to the player.

Fields

Name Description
id A string identifier for the item.
name A string name for the item.
model A string for the model that is used to represent this item.

The other required fields may vary depending on the type of inventory system being used.

Functions

Name Description
Item:delete Deletes an item from existence.

Additional functions depend on the implementation of an inventory system since the usage means items can vary a lot.