Radiation Refactor (#19270)

* Part 1

* WIP

* The rest of these

* More stuff

* Whoops, did that wrong

* typo

* gweeen

* This all works

* SHOWER

* Rads

* awa

* rad

* Update life.dm

* edits

* Makes lvl 3 rads give you a warning.

You should already know by this point, but this makes it EXTRA clear you're getting fucked

* Update vorestation.dme

* aaa

* propagate

* gwah

* more fixes

* AAA

* Update radiation.dm

* Update radiation.dm

* mobs rads

* rads

* fix this

* Update _reagents.dm

* these

* Get rid of these

* rad

* Update config.txt

* fixed

* Update radiation_effects.dm
This commit is contained in:
Cameron Lennox
2026-03-22 12:29:09 -04:00
committed by GitHub
parent d91baf9c9f
commit cbc4151bfb
113 changed files with 2044 additions and 551 deletions
+5
View File
@@ -23,6 +23,7 @@
var/glasstype = null // Set this in subtypes. Null is assumed strange or otherwise impossible to dismantle, such as for shuttle glass.
var/silicate = 0 // number of units of silicate
var/fulltile = FALSE // Set to true on full-tile variants.
rad_insulation = RAD_VERY_LIGHT_INSULATION //Windows can have multiple placed on one tile, meaning you have to account for the potential that someone could just build a bunch of windows on one tile to prevent rads entirely.
/obj/structure/window/examine(mob/user)
. = ..()
@@ -514,6 +515,7 @@
maxhealth = 80
fulltile = TRUE
flags = NONE
rad_insulation = RAD_LIGHT_INSULATION
/obj/structure/window/phoronreinforced
name = "reinforced borosilicate window"
@@ -527,12 +529,14 @@
damage_per_fire_tick = 1.0 // This should last for 80 fire ticks if the window is not damaged at all. The idea is that borosilicate windows have something like ablative layer that protects them for a while.
maxhealth = 80.0
force_threshold = 10
rad_insulation = RAD_LIGHT_INSULATION
/obj/structure/window/phoronreinforced/full
icon_state = "phoronrwindow-full"
maxhealth = 160
fulltile = TRUE
flags = NONE
rad_insulation = RAD_MEDIUM_INSULATION
/obj/structure/window/reinforced
name = "reinforced window"
@@ -578,6 +582,7 @@
basestate = "w"
dir = 5
force_threshold = 7
rad_insulation = RAD_MEDIUM_INSULATION
/obj/structure/window/reinforced/polarized
name = "electrochromic window"