mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 20:15:47 +01:00
Reinforced windows and windoors are a bit more resistant to fires and blasts
- Regular windows/windoors: 1073k - Reinforced windows/windoors: 1873k - Reinforced windows/windoors will count as walls for blast range calculation (The lowest possible value)
This commit is contained in:
@@ -409,7 +409,7 @@
|
||||
overlays += crack_overlay
|
||||
|
||||
/obj/structure/window/temperature_expose(datum/gas_mixture/air, exposed_temperature, exposed_volume)
|
||||
if(exposed_temperature > T0C + 800)
|
||||
if(exposed_temperature > T0C + (reinf ? 1600 : 800))
|
||||
hit(round(exposed_volume / 100), 0)
|
||||
..()
|
||||
|
||||
@@ -421,6 +421,7 @@
|
||||
icon_state = "rwindow"
|
||||
reinf = 1
|
||||
maxhealth = 50
|
||||
explosion_block = 1
|
||||
|
||||
/obj/structure/window/reinforced/tinted
|
||||
name = "tinted window"
|
||||
@@ -472,3 +473,4 @@
|
||||
reinf = 1
|
||||
smooth = 1
|
||||
canSmoothWith = null
|
||||
explosion_block = 1
|
||||
|
||||
Reference in New Issue
Block a user