Map & Ore sanity (#4321)

changes:

SSatlas will now warn if it detects a compiled-in map.
The asteroid gen no longer stops working if no smelter is mapped in.
Multiple smelters can now be mapped in without all but one being nonfunctional.
This commit is contained in:
Lohikar
2018-02-26 13:27:17 -06:00
committed by Erki
parent 2f36c20ee8
commit d02c9551fd
4 changed files with 16 additions and 8 deletions
+3 -6
View File
@@ -177,12 +177,9 @@
for(var/alloytype in typesof(/datum/alloy)-/datum/alloy)
alloy_data += new alloytype()
if(!ore_data || !ore_data.len)
for(var/oretype in typesof(/ore)-/ore)
var/ore/OD = new oretype()
ore_data[OD.name] = OD
ores_processing[OD.name] = 0
ores_stored[OD.name] = 0
for (var/O in ore_data)
ores_processing[O] = 0
ores_stored[O] = 0
//Locate our output and input machinery.
for (var/dir in cardinal)