mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
You can no longer see hud / screen when asleep. DOESN'T AFFECT BLINDNESS (#24360)
* You can no longer see hud / screen when asleep * oh fuck the huds * Update code/_onclick/hud/robot_hud.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> * storing when looking into a bug * more tweaks * Initial screen object fixes * fix for old screen types * animation my dear watson --------- Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com>
This commit is contained in:
co-authored by
Contrabang
S34N
parent
1823eff1b5
commit
9ae66dd496
@@ -670,13 +670,13 @@
|
||||
return ..()
|
||||
|
||||
/datum/status_effect/drill_payback/on_apply()
|
||||
owner.overlay_fullscreen("payback", /atom/movable/screen/fullscreen/payback, 0)
|
||||
owner.overlay_fullscreen("payback", /atom/movable/screen/fullscreen/stretch/payback, 0)
|
||||
addtimer(CALLBACK(src, PROC_REF(payback_phase_2)), 2.7 SECONDS)
|
||||
return TRUE
|
||||
|
||||
/datum/status_effect/drill_payback/proc/payback_phase_2()
|
||||
owner.clear_fullscreen("payback")
|
||||
owner.overlay_fullscreen("payback", /atom/movable/screen/fullscreen/payback, 1)
|
||||
owner.overlay_fullscreen("payback", /atom/movable/screen/fullscreen/stretch/payback, 1)
|
||||
|
||||
/datum/status_effect/drill_payback/tick() //They are not staying down. This will be a fight.
|
||||
if(!drilled_successfully && (get_dist(owner, drilled) >= 9)) //We don't want someone drilling the safe at arivals then raiding bridge with the buff
|
||||
|
||||
@@ -1023,7 +1023,7 @@
|
||||
/datum/status_effect/bubblegum_curse/on_creation(mob/living/new_owner, mob/living/source)
|
||||
. = ..()
|
||||
source_UID = source.UID()
|
||||
owner.overlay_fullscreen("Bubblegum", /atom/movable/screen/fullscreen/fog, 1)
|
||||
owner.overlay_fullscreen("Bubblegum", /atom/movable/screen/fullscreen/stretch/fog, 1)
|
||||
|
||||
/datum/status_effect/bubblegum_curse/tick()
|
||||
var/mob/living/simple_animal/hostile/megafauna/bubblegum/attacker = locateUID(source_UID)
|
||||
@@ -1031,7 +1031,7 @@
|
||||
qdel(src)
|
||||
if(attacker.health <= attacker.maxHealth / 2)
|
||||
owner.clear_fullscreen("Bubblegum")
|
||||
owner.overlay_fullscreen("Bubblegum", /atom/movable/screen/fullscreen/fog, 2)
|
||||
owner.overlay_fullscreen("Bubblegum", /atom/movable/screen/fullscreen/stretch/fog, 2)
|
||||
if(!coward_checking)
|
||||
if(owner.z != attacker.z)
|
||||
addtimer(CALLBACK(src, PROC_REF(onstation_coward_callback)), 12 SECONDS)
|
||||
|
||||
Reference in New Issue
Block a user