Endstar LUA API Documentation
Loading...
Searching...
No Matches
ItemEvents Class Reference

Properties

LuaInterfaceEvent OnItemPickedUp = new() [get]
 Fires whenever an item in the world is picked up. Passes the context of the character who picked up the item, the context of the item, and the quantity picked up.
 
LuaInterfaceEvent OnCharacterGainedItem = new() [get]
 Fires whenever a character gains an item. Passes the context of the character who gained the item, an InventoryItemDescription of the object gained and the quantity gained.
 

Property Documentation

◆ OnCharacterGainedItem

LuaInterfaceEvent OnCharacterGainedItem = new()
get

Fires whenever a character gains an item. Passes the context of the character who gained the item, an InventoryItemDescription of the object gained and the quantity gained.

◆ OnItemPickedUp

LuaInterfaceEvent OnItemPickedUp = new()
get

Fires whenever an item in the world is picked up. Passes the context of the character who picked up the item, the context of the item, and the quantity picked up.