Merge pull request #7476 from Zuhayr/dev-freeze

Dev-freeze tweaks.
This commit is contained in:
Ccomp5950
2014-12-16 21:11:33 -05:00
4 changed files with 9 additions and 6 deletions
@@ -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",
+6 -2
View File
@@ -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
tool.loc = src*/
+2 -2
View File
@@ -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.
@@ -555,7 +555,6 @@
return
if(!istype(wearer) || !wearer.back == src)
H << "<span class='warning'>The hardsuit is not being worn.</span>"
return
var/obj/item/check_slot