Object Info :
There will be many types of corpses so I need a verb that can recognize any type under /obj/Corpse.
obj/Corpse |
Verb :
mob |
Alright so I'm this far but apparently Corpse.Loot is undefined... How can I get this to recognize the corpses and allow me to access the loot variable? Oh and I know you can use Byond's in built object functions for a typical boring inventory but I'd like something different so I'm doing it this way.
Thank you.
Additionally, your syntax for locate() is wrong. You want locate(type) in list, not locate(type in list).