diff --git a/code/game/machinery/machine_frame.dm b/code/game/machinery/machine_frame.dm index 54f23c77257..1b4aa597f30 100644 --- a/code/game/machinery/machine_frame.dm +++ b/code/game/machinery/machine_frame.dm @@ -1032,6 +1032,17 @@ to destroy them and players will be able to make replacements. req_components = list(/obj/item/stock_parts/manipulator = 2, /obj/item/stack/cable_coil = 2) // End telecomms circuit boards +/obj/item/circuitboard/salvage_redemption + board_name = "Salvage Redemption" + icon_state = "supply" + build_path = /obj/item/circuitboard/salvage_redemption + board_type = "machine" + origin_tech = "programming=1;engineering=2" + req_components = list( + /obj/item/stack/sheet/glass = 1, + /obj/item/stock_parts/scanning_module = 3, + /obj/item/stock_parts/manipulator = 1) + /obj/item/circuitboard/smart_hopper board_name = "Ore Redemption" icon_state = "supply" diff --git a/code/modules/mining/salvage_redemption.dm b/code/modules/mining/salvage_redemption.dm index 32b78d5d73b..8d967d3f99f 100644 --- a/code/modules/mining/salvage_redemption.dm +++ b/code/modules/mining/salvage_redemption.dm @@ -22,7 +22,7 @@ . = ..() // Stock parts component_parts = list() - component_parts += new /obj/item/circuitboard/smart_hopper(null) + component_parts += new /obj/item/circuitboard/salvage_redemption(null) component_parts += new /obj/item/stock_parts/scanning_module(null) component_parts += new /obj/item/stock_parts/scanning_module(null) component_parts += new /obj/item/stock_parts/scanning_module(null) @@ -136,6 +136,7 @@ addtimer(CALLBACK(src, PROC_REF(print_slip), total_value, user), 2.5 SECONDS) /obj/machinery/salvage_redemption/proc/print_slip(total_value, mob/user) + animating = FALSE // Print the credit slip playsound(src, 'sound/machines/banknote_counter.ogg', 30, FALSE) var/obj/item/credit_redemption_slip/slip = new /obj/item/credit_redemption_slip(src, total_value) diff --git a/code/modules/research/designs/machine_designs.dm b/code/modules/research/designs/machine_designs.dm index 5051d9c5763..9957eba1f62 100644 --- a/code/modules/research/designs/machine_designs.dm +++ b/code/modules/research/designs/machine_designs.dm @@ -521,6 +521,16 @@ build_path = /obj/item/circuitboard/ore_redemption category = list ("Misc. Machinery") +/datum/design/salvage_redemption + name = "Machine Design (Salvage Redemption)" + desc = "The circuit board for a Salvage Redemption Machine." + id = "salvage_redemption" + req_tech = list("programming" = 2, "engineering" = 4, "plasmatech" = 3) + build_type = IMPRINTER + materials = list(MAT_GLASS = 1000) + build_path = /obj/item/circuitboard/salvage_redemption + category = list ("Misc. Machinery") + /datum/design/smart_hopper name = "Machine Design (Smart Hopper)" desc = "The circuit board for a Smart Hopper."