From a04513648a328b99bccfbecb981ddf752690e920 Mon Sep 17 00:00:00 2001 From: "elly1989@rocketmail.com" Date: Thu, 28 Jun 2012 23:46:57 +0000 Subject: [PATCH] Fix for forhuggers appearing under hud/inventory slots of aliums. Well, I say 'fix' I just removed the active-hugger image code. It didn't really add anything worthwhile to them. Simplified a little snippet of WC code. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3941 316c924e-a436-60f5-8080-3fe189b3f50e --- code/game/objects/alien/facehugger.dm | 12 ++++++------ code/game/objects/watercloset.dm | 4 +--- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/code/game/objects/alien/facehugger.dm b/code/game/objects/alien/facehugger.dm index 25d304f47eb..1f413f5e996 100644 --- a/code/game/objects/alien/facehugger.dm +++ b/code/game/objects/alien/facehugger.dm @@ -187,11 +187,11 @@ var/const/MAX_ACTIVE_TIME = 600 stat = CONSCIOUS - for(var/mob/living/carbon/alien/alien in world) +/* for(var/mob/living/carbon/alien/alien in world) var/image/activeIndicator = image('alien.dmi', loc = src, icon_state = "facehugger_active") activeIndicator.override = 1 if(alien && alien.client) - alien.client.images += activeIndicator + alien.client.images += activeIndicator */ spawn(rand(MIN_ACTIVE_TIME,MAX_ACTIVE_TIME)) GoIdle() @@ -202,7 +202,7 @@ var/const/MAX_ACTIVE_TIME = 600 if(stat == DEAD || stat == UNCONSCIOUS) return - RemoveActiveIndicators() +/* RemoveActiveIndicators() */ stat = UNCONSCIOUS @@ -212,7 +212,7 @@ var/const/MAX_ACTIVE_TIME = 600 if(stat == DEAD) return - RemoveActiveIndicators() +/* RemoveActiveIndicators() */ icon_state = "facehugger_dead" stat = DEAD @@ -222,14 +222,14 @@ var/const/MAX_ACTIVE_TIME = 600 return - proc/RemoveActiveIndicators() //removes the "active" facehugger indicator from all aliens in the world for this hugger +/* proc/RemoveActiveIndicators() //removes the "active" facehugger indicator from all aliens in the world for this hugger for(var/mob/living/carbon/alien/alien in world) if(alien.client) for(var/image/image in alien.client.images) if(image.icon_state == "facehugger_active" && image.loc == src) del(image) - return + return */ /obj/item/clothing/mask/facehugger/angry stat = CONSCIOUS diff --git a/code/game/objects/watercloset.dm b/code/game/objects/watercloset.dm index 1163a60c438..b6b51fb35ef 100644 --- a/code/game/objects/watercloset.dm +++ b/code/game/objects/watercloset.dm @@ -29,9 +29,7 @@ else var/obj/item/I = pick(contents) if(ishuman(user)) - if(!user.get_active_hand()) - I.loc = user.loc - user.put_in_hands(I) + user.put_in_hands(I) else I.loc = get_turf(src) user << "You find \an [I] in the cistern."