In response to Xeronin
Try it and see?
In response to Garthor
what is the proc isitem and isequipment? those arent predefined?

and jeez u reply fast!

also when i do this it doesn't show up in the panels...

mob
var/list/items = list()
var/list/equipment = list()
Entered(obj/O)
if(O.item == "Item")
items += O
if(O.item == "Equipment")
equipment += O
Stat()
statpanel(Inventory)
stat(items)
statpanel(Equipment)
stat(equipment)
var
Inventory = "Inventory"
Equipment = "Equipment"

In response to Xeronin
isitem() is whatever you use to determine if something is an item. isequipment() is whatever you use to determine if something is equipment.

What I posted will only work, by the way, if you are calling Move() to move things in and out of contents.
In response to Garthor
so would i call entered() under the get verb?

Edit: nvm entered is automatically called i guess =) ill try it thx
In response to Xeronin
GENIOUS IT WORKED!! wow thats amazing thanks so much!

The drop verb that i use is

src.Move(usr.loc)

and it places it on the ground but it leaves an image in the inventory and when u double click that image it picks up the item that u dropped o.0
In response to Xeronin
Xeronin wrote:

and it places it on the ground but it leaves an image in the inventory and when u double click that image it picks up the item that u dropped o.0

You are forgetting to remove the item from your inventory list.
In response to AJX
Yup. That would go in Exited(), and would just be the opposite of Entered().
In response to AJX
Oh yeah lol thats right..

Thanx a million quys
Page: 1 2