mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-24 04:26:38 +01:00
Now logs where the mob died
new var `location` that remembers where the mob died making on death spawn easier
usage example
oldmob/path/death()
..()
new mob/path(location)
This commit is contained in:
@@ -70,6 +70,7 @@
|
||||
|
||||
if(stat == DEAD)
|
||||
return 0
|
||||
var/location = get_turf(src) //CHOMPEDIT: since we use this so much lets define it here yknow
|
||||
if(src.loc && istype(loc,/obj/belly)) deathmessage = "no message" //VOREStation Add - Prevents death messages from inside mobs
|
||||
facing_dir = null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user