diff --git a/code/game/objects/items/weapons/storage/belt.dm b/code/game/objects/items/weapons/storage/belt.dm index 1613fa24597..941fdaae3bb 100644 --- a/code/game/objects/items/weapons/storage/belt.dm +++ b/code/game/objects/items/weapons/storage/belt.dm @@ -14,7 +14,7 @@ icon_state = "utilitybelt" item_state = "utility" can_hold = list( - "/obj/item/weapon/combitool", + //"/obj/item/weapon/combitool", "/obj/item/weapon/crowbar", "/obj/item/weapon/screwdriver", "/obj/item/weapon/weldingtool", diff --git a/code/game/objects/items/weapons/tools.dm b/code/game/objects/items/weapons/tools.dm index 2165a6bfa43..2c61ee24d58 100644 --- a/code/game/objects/items/weapons/tools.dm +++ b/code/game/objects/items/weapons/tools.dm @@ -473,7 +473,7 @@ else return ..() -/obj/item/weapon/combitool +/*/obj/item/weapon/combitool name = "combi-tool" desc = "It even has one of those nubbins for doing the thingy." icon = 'icons/obj/items.dmi' @@ -513,11 +513,15 @@ return 1 /obj/item/weapon/combitool/attack(mob/living/carbon/M as mob, mob/living/carbon/user as mob) + if(!M.Adjacent(user)) + return 0 var/obj/item/tool = tools[current_tool] if(!tool) return 0 return (tool ? tool.attack(M,user) : 0) /obj/item/weapon/combitool/afterattack(var/atom/target, var/mob/living/user, proximity, params) + if(!proximity) + return 0 var/obj/item/tool = tools[current_tool] if(!tool) return 0 tool.loc = user @@ -525,4 +529,4 @@ if(!resolved && tool && target) tool.afterattack(target,user,1) if(tool) - tool.loc = src \ No newline at end of file + tool.loc = src*/ \ No newline at end of file diff --git a/code/modules/client/preferences_gear.dm b/code/modules/client/preferences_gear.dm index 663e3f785c3..3e8c8e3a3c2 100644 --- a/code/modules/client/preferences_gear.dm +++ b/code/modules/client/preferences_gear.dm @@ -815,10 +815,10 @@ var/global/list/gear_datums = list() sort_category = "misc" cost = 2 -/datum/gear/combitool +/*/datum/gear/combitool display_name = "combi-tool" path = /obj/item/weapon/combitool - cost = 3 + cost = 3*/ // Stuff worn on the ears. Items here go in the "ears" sort_category but they must not use // the slot_r_ear or slot_l_ear as the slot, or else players will spawn with no headset.