mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 21:12:24 +01:00
Refactor /obj/screen to /atom/movable/screen (#19852)
Part of backend stuff required for #19188. Should probably be test merged. --------- Co-authored-by: Cody Brittain <cbrittain10@live.com>
This commit is contained in:
co-authored by
Cody Brittain
parent
3c474b70df
commit
dc610520fe
@@ -44,7 +44,7 @@
|
||||
if(is_broken() && !oldbroken && owner && !owner.stat)
|
||||
to_chat(owner, SPAN_DANGER("You go blind!"))
|
||||
|
||||
/obj/item/organ/internal/eyes/flash_act(intensity = FLASH_PROTECTION_MODERATE, override_blindness_check = FALSE, affect_silicon = FALSE, ignore_inherent = FALSE, type = /obj/screen/fullscreen/flash, length = 2.5 SECONDS)
|
||||
/obj/item/organ/internal/eyes/flash_act(intensity = FLASH_PROTECTION_MODERATE, override_blindness_check = FALSE, affect_silicon = FALSE, ignore_inherent = FALSE, type = /atom/movable/screen/fullscreen/flash, length = 2.5 SECONDS)
|
||||
var/burnthrough = intensity - owner.get_flash_protection(ignore_inherent)
|
||||
if(burnthrough <= 0)
|
||||
return
|
||||
@@ -82,7 +82,7 @@
|
||||
|
||||
/obj/item/organ/internal/eyes/do_surge_effects()
|
||||
if(owner)
|
||||
owner.overlay_fullscreen("noise", /obj/screen/fullscreen/flash/noise)
|
||||
owner.overlay_fullscreen("noise", /atom/movable/screen/fullscreen/flash/noise)
|
||||
|
||||
/obj/item/organ/internal/eyes/clear_surge_effects()
|
||||
if(owner)
|
||||
|
||||
Reference in New Issue
Block a user