mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 03:55:05 +01:00
Fueltanks explode if too hot.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
|
||||
#define AUTOIGNITION_WELDERFUEL 561.15
|
||||
|
||||
/obj/structure/reagent_dispensers
|
||||
name = "Dispenser"
|
||||
@@ -154,6 +154,11 @@
|
||||
ex_act()
|
||||
explode()
|
||||
|
||||
temperature_expose(datum/gas_mixture/air, exposed_temperature, exposed_volume)
|
||||
if(exposed_temperature >= AUTOIGNITION_WELDERFUEL)
|
||||
explode()
|
||||
|
||||
|
||||
proc/explode()
|
||||
if (reagents.total_volume > 500)
|
||||
explosion(src.loc,1,2,4)
|
||||
|
||||
Reference in New Issue
Block a user