[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:
SkyratBot
2020-11-10 22:01:47 +01:00
committed by GitHub
co-authored by Jared-Fogle Azarak
parent a144a5e9e2
commit 2ff5f9b259
37 changed files with 169 additions and 137 deletions
@@ -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))