Buffing plasmafires [READY FOR REVIEW] (#21000)

* Floors now almost won't melt

* grug wallmelting attempt

* Revert "grug wallmelting attempt"

This reverts commit e626504990.

I have a better idea

* letsgooo it worked (kinda(airlocks only))

* fuck yeah it worksss

* We stay winning

* woe, runtimes be upon ye

* Experimental values and some cleaning up

* nvm I hate atmos code

* more tweaks

* da window change

* Sean suggestion and temp increases
This commit is contained in:
DGamerL
2023-06-22 19:18:30 +02:00
committed by GitHub
parent 58a5fc9e46
commit 984eecd06e
10 changed files with 35 additions and 14 deletions
@@ -41,6 +41,12 @@
active_hotspot.just_spawned = (current_cycle < SSair.times_fired)
//remove just_spawned protection if no longer processing this cell
SSair.add_to_active(src, 0)
var/list/adjacent_dense_turfs = AdjacentTurfs(FALSE, TRUE, TRUE) //Checks adjacent turfs for dense turfs, only in the 4 cardinal directions
if(active_hotspot == null)
return igniting
for(var/turf/simulated/wall/W in adjacent_dense_turfs)
if(active_hotspot.temperature > W.heat_resistance) //Only deal heat damage when it's actually hot enough
W.take_damage(1 * (active_hotspot.temperature / W.heat_resistance))
return igniting
//This is the icon for fire on turfs, also helps for nurturing small fires until they are full tile