some map fixes, fixes the station_ruin loader shitting out errors this commit took 2 hours of my fucking life
This commit is contained in:
@@ -118,7 +118,7 @@ SUBSYSTEM_DEF(mapping)
|
||||
// Generate station space ruins
|
||||
var/list/station_ruins = levels_by_trait(ZTRAIT_STATION)
|
||||
if (station_ruins.len)
|
||||
seedRuins(station_ruins, CONFIG_GET(number/station_space_budget), /area/space/station_ruins, station_ruins_templates)
|
||||
seedRuins(station_ruins, (SSmapping.config.station_ruin_budget < 0) ? CONFIG_GET(number/station_space_budget) : SSmapping.config.station_ruin_budget, list(/area/space/station_ruins), station_ruins_templates)
|
||||
SSmapping.seedStation()
|
||||
loading_ruins = FALSE
|
||||
#endif
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
var/traits = null
|
||||
var/space_ruin_levels = 2
|
||||
var/space_empty_levels = 1
|
||||
var/station_ruin_budget = -1
|
||||
|
||||
var/minetype = "lavaland"
|
||||
|
||||
@@ -130,6 +131,9 @@
|
||||
log_world("map_config space_empty_levels is not a number!")
|
||||
return
|
||||
|
||||
if("station_ruin_budget" in json)
|
||||
station_ruin_budget = json["station_ruin_budget"]
|
||||
|
||||
temp = json["year_offset"]
|
||||
if (isnum(temp))
|
||||
year_offset = temp
|
||||
|
||||
Reference in New Issue
Block a user