WorldItem
class WorldItem : Entity()on_world_item_option(Assets.Item.shark, "Take") { player -> val item: WorldItem = target player.message("You pick up ${item.quantity} x ${item.stack.name}.") item.remove()}val tile: Tile3val stack: rift.items.Itemquantity
Section titled “quantity”var quantity: Intcreate
Section titled “create”fun create( id: Int, quantity: Int, tile: Tile3, owner: Entity? = null, isOnWorldObject: Boolean = false): WorldItemInherited members
Section titled “Inherited members”Entity:uuid//isAlive//addComponent//replaceComponent//findComponent//getComponent//removeComponent//hasComponent//decommission//resetLook//allComponents//resolve