mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 23:53:47 +01:00
Fix temperature issues in caves
This commit is contained in:
@@ -159,6 +159,9 @@
|
||||
|
||||
data_having_type = /turf/simulated/floor/plating/asteroid/airless/cave/volcanic/has_data
|
||||
turf_type = /turf/simulated/floor/plating/asteroid/basalt/lava_land_surface
|
||||
oxygen = 14
|
||||
nitrogen = 23
|
||||
temperature = 300
|
||||
|
||||
/turf/simulated/floor/plating/asteroid/airless/cave/volcanic/has_data //subtype for producing a tunnel with given data
|
||||
has_data = TRUE
|
||||
@@ -249,7 +252,7 @@
|
||||
SpawnFlora(T)
|
||||
|
||||
SpawnMonster(T)
|
||||
T.ChangeTurf(turf_type,FALSE,FALSE)
|
||||
T.ChangeTurf(turf_type,FALSE,FALSE,TRUE)
|
||||
|
||||
/turf/simulated/floor/plating/asteroid/airless/cave/proc/SpawnMonster(turf/T)
|
||||
if(prob(30))
|
||||
|
||||
@@ -174,7 +174,7 @@
|
||||
return ChangeTurf(path)
|
||||
|
||||
//Creates a new turf
|
||||
/turf/proc/ChangeTurf(path, defer_change = FALSE, keep_icon = TRUE)
|
||||
/turf/proc/ChangeTurf(path, defer_change = FALSE, keep_icon = TRUE, ignore_air = FALSE)
|
||||
if(!path)
|
||||
return
|
||||
if(!use_preloader && path == type) // Don't no-op if the map loader requires it to be reconstructed
|
||||
@@ -193,7 +193,7 @@
|
||||
SSair.remove_from_active(src)
|
||||
var/turf/W = new path(src)
|
||||
if(!defer_change)
|
||||
W.AfterChange()
|
||||
W.AfterChange(ignore_air)
|
||||
|
||||
W.blueprint_data = old_blueprint_data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user