mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
[MIRROR] Move death(), gib(), and dust() from /mob to /mob/living (#1634)
* Move death(), gib(), and dust() from /mob to /mob/living * a Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@users.noreply.github.com> Co-authored-by: Azarak <azarak10@gmail.com>
This commit is contained in:
co-authored by
Jared-Fogle
Azarak
parent
a144a5e9e2
commit
2ff5f9b259
@@ -63,8 +63,8 @@ Note: Must be placed within 3 tiles of the R&D Console
|
||||
var/list/food = thing.GetDeconstructableContents()
|
||||
for(var/obj/item/innerthing in food)
|
||||
destroy_item(innerthing, TRUE)
|
||||
for(var/mob/M in thing)
|
||||
M.death()
|
||||
for(var/mob/living/victim in thing)
|
||||
victim.death()
|
||||
|
||||
qdel(thing)
|
||||
loaded_item = null
|
||||
|
||||
@@ -765,7 +765,7 @@
|
||||
var/prompted = 0
|
||||
var/animal_type = SENTIENCE_ORGANIC
|
||||
|
||||
/obj/item/slimepotion/transference/afterattack(mob/living/M, mob/user, proximity)
|
||||
/obj/item/slimepotion/transference/afterattack(mob/living/M, mob/living/user, proximity)
|
||||
if(!proximity)
|
||||
return
|
||||
if(prompted || !ismob(M))
|
||||
|
||||
Reference in New Issue
Block a user