From 4de2facf2cdcf8c7d9945934f98053f1bafd33df Mon Sep 17 00:00:00 2001 From: Iajret Creature <122297233+Steals-The-PRs@users.noreply.github.com> Date: Wed, 31 Jul 2024 22:30:02 +0300 Subject: [PATCH] [MIRROR] Fixing one way of duplicating iron sheets (#4817) * [MIRROR] Fixing one way of duplicating iron sheets [MDB IGNORE] (#4123) * Fixing one way of duplicating iron sheets (#85373) ## About The Pull Request You actually could duplicate iron by assembling and disassembling wallmounted sparklers or light switch. Well, now you can't. ## Why It's Good For The Game I cannot make a cassle out of one iron sheet :( ## Changelog :cl: fix: fixes a way of duplicating iron with wallmounted sparklers and light switches /:cl: * Fixing one way of duplicating iron sheets --------- Co-authored-by: Axidy <76065506+Axidyuwu@users.noreply.github.com> Co-authored-by: NovaBot13 * [MIRROR] Fixing one way of duplicating iron sheets --------- Co-authored-by: NovaBot <154629622+NovaBot13@users.noreply.github.com> Co-authored-by: Axidy <76065506+Axidyuwu@users.noreply.github.com> Co-authored-by: NovaBot13 Co-authored-by: StealsThePRs --- code/game/machinery/igniter.dm | 1 + code/game/machinery/lightswitch.dm | 1 + 2 files changed, 2 insertions(+) diff --git a/code/game/machinery/igniter.dm b/code/game/machinery/igniter.dm index 3fa7d25767f..887c04ebede 100644 --- a/code/game/machinery/igniter.dm +++ b/code/game/machinery/igniter.dm @@ -137,6 +137,7 @@ icon = 'icons/obj/wallmounts.dmi' icon_state = "migniter" result_path = /obj/machinery/sparker + custom_materials = list(/datum/material/iron = SHEET_MATERIAL_AMOUNT) pixel_shift = 26 /obj/machinery/sparker diff --git a/code/game/machinery/lightswitch.dm b/code/game/machinery/lightswitch.dm index c1f6fcdaaf2..c3fb9d14054 100644 --- a/code/game/machinery/lightswitch.dm +++ b/code/game/machinery/lightswitch.dm @@ -119,6 +119,7 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/light_switch, 26) icon = 'icons/obj/machines/wallmounts.dmi' icon_state = "light-nopower" result_path = /obj/machinery/light_switch + custom_materials = list(/datum/material/iron = SHEET_MATERIAL_AMOUNT) pixel_shift = 26 /obj/item/circuit_component/light_switch