Welding masks can now be flipped up to not cover your face via a nice shiny rightclick verb.

NOW STOP FIGHTING OVER THE DAMN GLOBAL VAR AND ADD SPRITES FOR THE FLIPPED-UP MASK.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1227 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
n3ophyt3@gmail.com
2011-03-21 23:33:36 +00:00
parent ddd9050592
commit 25f60dfae8
5 changed files with 26 additions and 5 deletions
+9 -4
View File
@@ -722,8 +722,12 @@
if(!seer)
src.see_invisible = 0
if (istype(src.head, /obj/item/clothing/head/helmet/welding) && tinted_weldhelh)
src.see_in_dark = 0
if (istype(src.glasses, /obj/item/clothing/glasses/sunglasses))
src.see_in_dark = 1
if (istype(src.head, /obj/item/clothing/head/helmet/welding))
if(!src.head:up && tinted_weldhelh)
src.see_in_dark = 0
if (src.sleep) src.sleep.icon_state = text("sleep[]", src.sleeping)
if (src.rest) src.rest.icon_state = text("rest[]", src.resting)
@@ -813,8 +817,9 @@
if (src.druggy)
src.client.screen += src.hud_used.druggy
if (istype(src.head, /obj/item/clothing/head/helmet/welding) && tinted_weldhelh)
src.client.screen += src.hud_used.darkMask
if (istype(src.head, /obj/item/clothing/head/helmet/welding))
if(!src.head:up && tinted_weldhelh)
src.client.screen += src.hud_used.darkMask
if (src.stat != 2)
if (src.machine)