From 8d2e35b93d0d2ef5c9900dd151a301be389a1112 Mon Sep 17 00:00:00 2001 From: nicetoolbox Date: Sat, 3 Oct 2020 17:30:24 -0700 Subject: [PATCH] add efficiency_coeff to rdmachines --- code/modules/research/circuitprinter.dm | 2 -- code/modules/research/protolathe.dm | 2 -- code/modules/research/rdmachines.dm | 1 + 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/code/modules/research/circuitprinter.dm b/code/modules/research/circuitprinter.dm index 309cdb7eef1..f3bf0cc0b08 100644 --- a/code/modules/research/circuitprinter.dm +++ b/code/modules/research/circuitprinter.dm @@ -10,8 +10,6 @@ using metal and glass, it uses glass and reagents (usually sulfuric acis). icon_state = "circuit_imprinter" container_type = OPENCONTAINER - var/efficiency_coeff - var/list/categories = list( "AI Modules", "Computer Boards", diff --git a/code/modules/research/protolathe.dm b/code/modules/research/protolathe.dm index 8e85c041708..4ea24ce7e51 100644 --- a/code/modules/research/protolathe.dm +++ b/code/modules/research/protolathe.dm @@ -13,8 +13,6 @@ Note: Must be placed west/left of and R&D console to function. icon_state = "protolathe" container_type = OPENCONTAINER - var/efficiency_coeff - var/list/categories = list( "Bluespace", "Equipment", diff --git a/code/modules/research/rdmachines.dm b/code/modules/research/rdmachines.dm index bd4e5528a9b..4d9b03b38d3 100644 --- a/code/modules/research/rdmachines.dm +++ b/code/modules/research/rdmachines.dm @@ -18,6 +18,7 @@ var/obj/machinery/computer/rdconsole/linked_console var/obj/item/loaded_item = null var/datum/component/material_container/materials //Store for hyper speed! + var/efficiency_coeff = 1 /obj/machinery/r_n_d/New() materials = AddComponent(/datum/component/material_container, list(MAT_METAL, MAT_GLASS, MAT_SILVER, MAT_GOLD, MAT_DIAMOND, MAT_PLASMA, MAT_URANIUM, MAT_BANANIUM, MAT_TRANQUILLITE, MAT_TITANIUM, MAT_BLUESPACE, MAT_PLASTIC), 0, TRUE, /obj/item/stack, CALLBACK(src, .proc/is_insertion_ready), CALLBACK(src, .proc/AfterMaterialInsert))