mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 07:33:34 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user