mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 20:17:15 +01:00
Merge pull request #9895 from Novacat/nova-basicfixes
Fixes Industrial Expansion
This commit is contained in:
@@ -83,6 +83,14 @@
|
||||
|
||||
/obj/machinery/mecha_part_fabricator/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
|
||||
|
||||
materials[Name] = 0
|
||||
|
||||
default_apply_parts()
|
||||
files = new /datum/research(src) //Setup the research data holder.
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user