add efficiency_coeff to rdmachines

This commit is contained in:
nicetoolbox
2020-10-03 17:30:24 -07:00
parent 93e1ebb71f
commit 8d2e35b93d
3 changed files with 1 additions and 4 deletions
-2
View File
@@ -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",
-2
View File
@@ -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",
+1
View File
@@ -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))