mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-28 15:39:57 +01:00
Better Screen Tints (#12155)
This commit is contained in:
@@ -170,7 +170,7 @@ var/list/slot_equipment_priority = list( \
|
||||
else
|
||||
W.forceMove(get_turf(W))
|
||||
W.layer = initial(W.layer)
|
||||
W.dropped()
|
||||
W.dropped(src)
|
||||
return 0
|
||||
|
||||
// Removes an item from inventory and places it in the target atom.
|
||||
|
||||
@@ -521,7 +521,10 @@
|
||||
H.set_fullscreen(H.stat == UNCONSCIOUS, "blackout", /obj/screen/fullscreen/blackout)
|
||||
|
||||
if(config.welder_vision)
|
||||
H.set_fullscreen(H.equipment_tint_total, "welder", /obj/screen/fullscreen/impaired, H.equipment_tint_total)
|
||||
if(H.equipment_tint_total)
|
||||
H.overlay_fullscreen("welder", /obj/screen/fullscreen/impaired, H.equipment_tint_total, 0.5 SECONDS)
|
||||
else
|
||||
H.clear_fullscreen("welder")
|
||||
var/how_nearsighted = get_how_nearsighted(H)
|
||||
H.set_fullscreen(how_nearsighted, "nearsighted", /obj/screen/fullscreen/oxy, how_nearsighted)
|
||||
H.set_fullscreen(H.eye_blurry, "blurry", /obj/screen/fullscreen/blurry)
|
||||
|
||||
@@ -126,7 +126,7 @@
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
/mob/living/proc/handle_vision()
|
||||
/mob/living/handle_vision()
|
||||
update_sight()
|
||||
|
||||
if(stat == DEAD)
|
||||
|
||||
@@ -1246,4 +1246,7 @@ proc/is_blind(A)
|
||||
if(r_grab.wielded)
|
||||
. = max(MOB_GRAB_FIREMAN, .)
|
||||
else
|
||||
. = max(MOB_GRAB_NORMAL, .)
|
||||
. = max(MOB_GRAB_NORMAL, .)
|
||||
|
||||
/mob/proc/handle_vision()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user