From 1e02b0756a3d7d42761aac3aa12939e466896305 Mon Sep 17 00:00:00 2001 From: Runa Dacino Date: Sun, 1 May 2022 12:05:51 +0200 Subject: [PATCH] Adds belt slot flag to proto-kinetic machete and subtypes Must be medium sized or smaller to prevent wearing greaves/gauntlets on your belt. --- code/modules/mining/kinetic_crusher.dm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/code/modules/mining/kinetic_crusher.dm b/code/modules/mining/kinetic_crusher.dm index 7effaf60d98..bf1ab82d722 100644 --- a/code/modules/mining/kinetic_crusher.dm +++ b/code/modules/mining/kinetic_crusher.dm @@ -230,7 +230,7 @@ desc = "A modified design of a proto-kinetic crusher, it is still little more of a combination of various mining tools cobbled together \ and kit-bashed into a high-tech cleaver on a stick - with a handguard and a goliath hide grip. While it is still of little use to any \ but the most skilled and/or suicidal miners against local fauna, it's an elegant weapon for a more civilized hunter." - + look gary there i am - hatterhat */ @@ -258,6 +258,11 @@ update_item_state = FALSE +/obj/item/weapon/kinetic_crusher/machete/Initialize() //Making sure you can't store gauntlets/greaves on your belts. + if(w_class < ITEMSIZE_HUGE) + slot_flags = SLOT_BELT + + /obj/item/weapon/kinetic_crusher/machete/gauntlets // did someone say single target damage name = "\improper proto-kinetic gear" @@ -381,6 +386,7 @@ thrown_bonus = 50 // 135 but you drop your knife because you threw it + //destablizing force /obj/item/projectile/destabilizer name = "destabilizing force"