Fixes unconscious mob standing still when removed from cryo cell, closet, containers.

Fixes mobs inside cryo cells getting pipes overlay(ventcrawl). Ventcrawler can no longer move in or out of
the cryo cell, which fixes ventcrawler going into cryo cell and getting stuck in it.
Being inside a cryo cell now give you a nearsight overlay (same as closet).
Brains no longer get the red circles overlay when damaged.
MMI now properly updates its icon when the brain mob dies.
Fixes getting stuck with a grab inside you when grabbing someone buckled.
Silicon stunned, weakened and paralysis is now properly updated.
This commit is contained in:
phil235
2016-02-08 19:22:45 +01:00
parent b3c503ebec
commit b9bba3a501
19 changed files with 91 additions and 56 deletions

View File

@@ -94,8 +94,6 @@
if (tr_flags & TR_DEFAULTMSG)
O << "<B>You are now a monkey.</B>"
O.update_pipe_vision()
for(var/A in loc.vars)
if(loc.vars[A] == src)
loc.vars[A] = O
@@ -216,8 +214,6 @@
if (tr_flags & TR_DEFAULTMSG)
O << "<B>You are now a human.</B>"
O.update_pipe_vision()
. = O
for(var/A in loc.vars)
@@ -263,8 +259,6 @@
else
O.key = key
O.update_pipe_vision()
var/obj/loc_landmark
for(var/obj/effect/landmark/start/sloc in landmarks_list)
if (sloc.name != "AI")
@@ -345,8 +339,6 @@
else
O.key = key
O.update_pipe_vision()
if (config.rename_cyborg)
O.rename_self("cyborg")
@@ -385,7 +377,6 @@
new_xeno.key = key
new_xeno << "<B>You are now an alien.</B>"
new_xeno.update_pipe_vision()
. = new_xeno
qdel(src)
@@ -418,7 +409,6 @@
new_slime.key = key
new_slime << "<B>You are now a slime. Skreee!</B>"
new_slime.update_pipe_vision()
. = new_slime
qdel(src)
@@ -467,7 +457,6 @@
new_corgi.key = key
new_corgi << "<B>You are now a Corgi. Yap Yap!</B>"
new_corgi.update_pipe_vision()
. = new_corgi
qdel(src)
@@ -501,7 +490,6 @@
new_mob << "You suddenly feel more... animalistic."
new_mob.update_pipe_vision()
. = new_mob
qdel(src)
@@ -519,7 +507,6 @@
new_mob.key = key
new_mob.a_intent = "harm"
new_mob << "You feel more... animalistic"
new_mob.update_pipe_vision()
. = new_mob
qdel(src)