ID:157780
 
How would one go about doing this? Would it be:
// ...

obj
Thing
icon='stuff.dmi'
Bump(atom/O)
if(isturf(O))
if(O.density == 1)
del(.())
..()

// ...


This compiles without errors...but just wondering if it would do what I intend it to do...
Thanks!
~Hi1
You can use 'src' to reference the thing executing a proc. So del(src) would delete the object.
In response to Nadrew
Wow, I'm blind. Thank you!