From 2aec984766b853324fa030bcea2868e0dff9e6f0 Mon Sep 17 00:00:00 2001 From: fallcon Date: Thu, 1 Feb 2024 10:16:57 -0600 Subject: [PATCH] shrug --- code/__DEFINES/gun_crafting.dm | 4 ++++ code/modules/guncrafting/frame.dm | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/code/__DEFINES/gun_crafting.dm b/code/__DEFINES/gun_crafting.dm index e69de29bb2d1..d4db4d300a77 100644 --- a/code/__DEFINES/gun_crafting.dm +++ b/code/__DEFINES/gun_crafting.dm @@ -0,0 +1,4 @@ +#define GUN_PART_FRAME "frame" +#define GUN_PART_BARREL "barrel" +#define GUN_PART_GRIP "grip" +#define GUN_PART_MECHANISM "mechanism" diff --git a/code/modules/guncrafting/frame.dm b/code/modules/guncrafting/frame.dm index eae05aba15d7..7ae7904e96d6 100644 --- a/code/modules/guncrafting/frame.dm +++ b/code/modules/guncrafting/frame.dm @@ -20,7 +20,7 @@ // Which barrels does the frame accept? //var/list/validBarrels = list(/obj/item/part/gun/modular/barrel) - gun_part_type = "gun_frame" + gun_part_type = GUN_PART_FRAME /* /obj/item/part/gun/frame/Initialize(mapload, dont_spawn_with_parts)