CreateItem

Creates an instance of an item type and gives it a name. If an item with that name already exists, the action fails. In order to use any items, they must be first created.

Arguments
Argument Item Name
Type String
Default REQUIRED
Description Name of the item to create
Argument Item Type
Type String
Default REQUIRED
Description Type of the item to create (refer to Items for a list of all item types)

Examples

CreateItem("Sword", Sword)

CreateItem("Healing potion", Potion)


See Also