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:
Detective Google
2020-05-01 01:17:56 -05:00
parent 231fd0edea
commit 2832b86e11
4 changed files with 169 additions and 175 deletions
+4
View File
@@ -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