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:
Cody Brittain
2024-09-21 12:12:07 +00:00
committed by GitHub
co-authored by Cody Brittain
parent 3c474b70df
commit dc610520fe
88 changed files with 732 additions and 676 deletions
+2 -2
View File
@@ -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)