ID:176831
 
My code:
verb/Un_Equip()
del(src)
to unequip things doesnt work it deletes the pic in the equiped and the inventory how do i fix this
What exactly are you trying to make happen when you un-equip something?
Im guessing you'll just want to reverse anything you did while equipping it (Ie, Take away stat points, overlays, ect), then set your equipped to = null.
-DogMan
When you execute the <code>del</code> instruction on an object it gets DELETED, you say? No! Surely not!

...

Think about what you're trying to accomplish. You want to equip the item, not destroy it; so reverse whatever you did when you equipped it.