Merge pull request #9895 from Novacat/nova-basicfixes

Fixes Industrial Expansion
This commit is contained in:
Novacat
2021-03-10 14:26:53 -05:00
committed by GitHub
3 changed files with 28 additions and 0 deletions
+10
View File
@@ -26,6 +26,16 @@ using metal and glass, it uses glass and reagents (usually sulphuric acid).
/obj/machinery/r_n_d/circuit_imprinter/Initialize()
. = ..()
spawn() // Go through all materials, and add them to the possible storage, but hide them unless we contain them.
for(var/Name in name_to_material)
if(Name in materials)
continue
hidden_materials |= Name
materials[Name] = 0
default_apply_parts()
/obj/machinery/r_n_d/circuit_imprinter/process()
+10
View File
@@ -40,6 +40,16 @@
/obj/machinery/r_n_d/protolathe/Initialize()
. = ..()
// Go through all materials, and add them to the possible storage, but hide them unless we contain them.
for(var/Name in name_to_material)
if(Name in materials)
continue
hidden_materials |= Name
materials[Name] = 0
default_apply_parts()
/obj/machinery/r_n_d/protolathe/process()