Wizards of Lua

The Art of Spell Crafting


DroppedItem - Things That are Lying Around

The DroppedItem class represents things that are lying somewhere and can be collected by players.

The DroppedItem class is a subtype of the Entity class and inherits all its properties and functions.

Here is an overview of the DroppedItem properties:

Property Type read / write
item Item r/w

Properties

Below you find short descriptions about each of the properties and some examples about how to use them in your spells.


item : Item

This is the item that has been dropped.