mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-28 02:52:01 +00:00
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:
@@ -385,7 +385,7 @@ mob/proc
|
||||
spawn(0) //Make it show the 2 states properly
|
||||
if(target_locked)
|
||||
target_locked.icon_state = "locking"
|
||||
update_clothing()
|
||||
update_clothing() // update_clothing clears overlays, so this might break stuff
|
||||
sleep(20)
|
||||
if(target_locked)
|
||||
target_locked.icon_state = "locked"
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user