Fixes Several Machines Materials Insertion (#37432)

* Fixes Several Machines Materials Insertion

* attackby disable and show on examine fix
This commit is contained in:
Fox McCloud
2018-05-04 05:40:46 -04:00
committed by yogstation13-bot
parent a3fa28a0de
commit 61517ab0ee
9 changed files with 19 additions and 14 deletions

View File

@@ -573,7 +573,7 @@
/obj/item/integrated_circuit/manipulation/matman/Initialize()
var/datum/component/material_container/materials = AddComponent(/datum/component/material_container,
list(MAT_METAL, MAT_GLASS, MAT_SILVER, MAT_GOLD, MAT_DIAMOND, MAT_PLASMA, MAT_URANIUM, MAT_BANANIUM, MAT_TITANIUM, MAT_BLUESPACE), 0,
FALSE, list(/obj/item/stack, /obj/item/stack/ore/bluespace_crystal), CALLBACK(src, .proc/is_insertion_ready), CALLBACK(src, .proc/AfterMaterialInsert))
FALSE, list(/obj/item/stack), CALLBACK(src, .proc/is_insertion_ready), CALLBACK(src, .proc/AfterMaterialInsert))
materials.max_amount =100000
materials.precise_insertion = TRUE
.=..()