Changeling lesser form remake (#7436)

This commit is contained in:
Alberyk
2019-11-20 23:06:51 +01:00
committed by Werner
parent 8b3557d757
commit 60b60b9c0a
7 changed files with 140 additions and 14 deletions
+2 -1
View File
@@ -11,7 +11,8 @@ var/global/list/can_enter_vent_with = list(
/obj/item/holder,
/obj/machinery/camera,
/mob/living/simple_animal/borer,
/mob/living/simple_animal/rat
/mob/living/simple_animal/rat,
/mob/living/carbon/human
)
/mob/living/var/list/icon/pipes_shown = list()
@@ -41,14 +41,17 @@
//If its not small or the device isnt enabled, it wont blend
if(!issmall(AM) || !use_power)
return FALSE
//Get the things we need to create the "output"
var/mob/living/L = AM
if(L.mob_size > MOB_TINY)
return
var/blood_color = "#A10808"
if(L.blood_color)
blood_color = L.blood_color
if(iscarbon(AM))
var/mob/living/carbon/C = AM
blood_color = C.species.blood_color
@@ -58,7 +61,7 @@
//Blend the Mob
to_chat(AM, span("danger","\The [src] blends you to a fine dust."))
L.death()
qdel(L)
qdel(L)
//Output what´s left through the connected vents
if(N)