Allows you to choose how much to insert into protolathe/exofab/circuitprinter/dronedispenser (#31399)
* precision * precision * sanity checks * itt kevinz doesn't know how cyberboss procs work * fixes * allows user cancellation * im dumb * itt: im still dumb * fixes stuff, makes it set on init * refactors reagentgrinder code * more fixes, prevents melee attacks from going anyways * ...? wtf is with usetopic * Finally found out what's wrongw ith this thing. * fixes a mistake
This commit is contained in:
committed by
CitadelStationBot
parent
eb9737912c
commit
a6ac800db0
@@ -28,8 +28,9 @@ using metal and glass, it uses glass and reagents (usually sulfuric acis).
|
||||
)
|
||||
|
||||
/obj/machinery/r_n_d/circuit_imprinter/Initialize()
|
||||
AddComponent(/datum/component/material_container, list(MAT_GLASS, MAT_GOLD, MAT_DIAMOND, MAT_METAL, MAT_BLUESPACE),
|
||||
var/datum/component/material_container/materials = AddComponent(/datum/component/material_container, list(MAT_GLASS, MAT_GOLD, MAT_DIAMOND, MAT_METAL, MAT_BLUESPACE),
|
||||
FALSE, list(/obj/item/stack, /obj/item/ore/bluespace_crystal), CALLBACK(src, .proc/is_insertion_ready))
|
||||
materials.precise_insertion = TRUE
|
||||
create_reagents(0)
|
||||
return ..()
|
||||
|
||||
|
||||
@@ -33,9 +33,10 @@ Note: Must be placed west/left of and R&D console to function.
|
||||
|
||||
/obj/machinery/r_n_d/protolathe/Initialize()
|
||||
create_reagents(0)
|
||||
AddComponent(/datum/component/material_container,
|
||||
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),
|
||||
FALSE, list(/obj/item/stack, /obj/item/ore/bluespace_crystal), CALLBACK(src, .proc/is_insertion_ready))
|
||||
materials.precise_insertion = TRUE
|
||||
return ..()
|
||||
|
||||
/obj/machinery/r_n_d/protolathe/RefreshParts()
|
||||
|
||||
Reference in New Issue
Block a user