Probably fixes bad stake behavior
This commit is contained in:
@@ -66,6 +66,7 @@
|
||||
/obj/item/stake/afterattack(atom/target, mob/user, proximity)
|
||||
//to_chat(world, "<span class='notice'>DEBUG: Staking </span>")
|
||||
// Invalid Target, or not targetting chest with HARM intent?
|
||||
. = ..()
|
||||
if(!iscarbon(target) || check_zone(user.zone_selected) != "chest" || user.a_intent != INTENT_HARM)
|
||||
return
|
||||
var/mob/living/carbon/C = target
|
||||
@@ -139,9 +140,8 @@
|
||||
|
||||
// Convert back to Silver
|
||||
/obj/item/stake/hardened/silver/attackby(obj/item/I, mob/user, params)
|
||||
if(istype(I, /obj/item/weldingtool))
|
||||
var/obj/item/weldingtool/WT = I
|
||||
if(WT.use(0))//remove_fuel(0, user))
|
||||
if(I.tool_behaviour == TOOL_WELDER)
|
||||
if(I.use(0))//remove_fuel(0, user))
|
||||
var/obj/item/stack/sheet/mineral/silver/newsheet = new (user.loc)
|
||||
for(var/obj/item/stack/sheet/mineral/silver/S in user.loc)
|
||||
if(S == newsheet)
|
||||
|
||||
Reference in New Issue
Block a user