Cleanup of all the update_clothing() calls.

Mostly I replaced them with rebuild_appearance() or update_body_appearance() where suitable.

I also reorganized the new update_clothing() code a bit.
This commit is contained in:
cib
2012-05-27 18:41:27 +02:00
parent 479563cb28
commit 0799cddb4b
46 changed files with 144 additions and 182 deletions

View File

@@ -29,23 +29,22 @@
if("monkey")
if (M.monkeyizing)
return
if(istype(M,/mob/carbon/living/human))
if(istype(M,/mob/living/carbon/human))
M:monkeyize()
if("robot")
if (M.monkeyizing)
return
if(istype(M,/mob/carbon/living/human))
if(istype(M,/mob/living/carbon/human))
M:Robotize()
if("metroid")
if (M.monkeyizing)
return
if(istype(M,/mob/carbon/living/human))
if(istype(M,/mob/living/carbon/human))
M:Metroidize()
if("alien")
if (M.monkeyizing)
return
Alienize
if(istype(M,/mob/carbon/living/human))
if(istype(M,/mob/living/carbon/human))
M:Alienize()
if("human")
if (M.monkeyizing)