Aardwolf MUD Home Page Link

Location: Home / Lua Coding / Item Properties

The table below lists item properties visible from Lua at the time of writing. This is not even close to complete, just a small set to test the initial Lua implementation with.

PropertyDescription
LevelLevel of item
NameName of item
WeightItem total weight
KeywordsItem keywords
*OwnerCurrent owner of item
ValueValue of item
TypeType of item as a number
TypestrType of item as a name
FoodnameName of drink type on a drink container
FoodleftCapacity remaining on a drink container
FoodpoisonedReturns 1 if item is poisoned food/drink
IngameNumber of items with the same object key in game
KeyReturns the object key
ClanClan number if the item is from a clan