User Tools

Site Tools


lua:ch:inventory

This is an old revision of the document!


Returns a table of OBJs.

Example:

-- loop through a PCs inventory and remove that item\n   for _,object in ipairs (ch.inventory) do
 
  if object.vnum == 100 then
 
    object:destroy()
 
  end
 
end
lua/ch/inventory.1419396783.txt.gz · Last modified: 2014/12/24 04:53 by aethyn