From aa8fc14a6cc28ffc1f2b7af5346a54cfd8cdec74 Mon Sep 17 00:00:00 2001 From: Sparky Date: Sat, 8 Jun 2024 17:42:02 +0100 Subject: [PATCH] Adds geiger counters to autolathes (#19346) Title. Particularly useful while we're on Moghes, as other than those mapped in engineering/in the engineering vendor, there is no way to acquire these. --- code/game/machinery/autolathe/autolathe_datums.dm | 5 +++++ code/game/objects/items/devices/geiger.dm | 2 ++ html/changelogs/autolathe-geiger-couters.yml | 6 ++++++ 3 files changed, 13 insertions(+) create mode 100644 html/changelogs/autolathe-geiger-couters.yml diff --git a/code/game/machinery/autolathe/autolathe_datums.dm b/code/game/machinery/autolathe/autolathe_datums.dm index b6508a05350..236916bf17e 100644 --- a/code/game/machinery/autolathe/autolathe_datums.dm +++ b/code/game/machinery/autolathe/autolathe_datums.dm @@ -59,6 +59,11 @@ path = /obj/item/device/multitool category = "Tools" +/singleton/autolathe_recipe/geiger + name = "geiger counter" + path = /obj/item/device/geiger + category = "Tools" + /singleton/autolathe_recipe/t_scanner name = "T-ray scanner" path = /obj/item/device/t_scanner diff --git a/code/game/objects/items/devices/geiger.dm b/code/game/objects/items/devices/geiger.dm index 310c0c34487..1cccd23bb50 100644 --- a/code/game/objects/items/devices/geiger.dm +++ b/code/game/objects/items/devices/geiger.dm @@ -6,6 +6,8 @@ item_state = "multitool" w_class = ITEMSIZE_SMALL action_button_name = "Toggle geiger counter" + matter = list(MATERIAL_PLASTIC = 100, DEFAULT_WALL_MATERIAL = 100, MATERIAL_GLASS = 50) + origin_tech = list(TECH_MAGNET = 1, TECH_ENGINEERING = 1) var/scanning = 0 var/radiation_count = 0 var/datum/sound_token/sound_token diff --git a/html/changelogs/autolathe-geiger-couters.yml b/html/changelogs/autolathe-geiger-couters.yml new file mode 100644 index 00000000000..a5783b89b9f --- /dev/null +++ b/html/changelogs/autolathe-geiger-couters.yml @@ -0,0 +1,6 @@ +author: Sparky_hotdog + +delete-after: True + +changes: + - rscadd: "Added geiger counters to autolathes."