Buffs Firelockers + Adds New Tool: The Rescue Axe (#14006)

This commit is contained in:
WickedCybs
2022-05-29 01:51:52 +02:00
committed by GitHub
parent 18939e49f3
commit 3e9680bc5b
12 changed files with 78 additions and 14 deletions
+32
View File
@@ -737,6 +737,38 @@
icon_state = "crowbar_red"
item_state = "crowbar_red"
/obj/item/crowbar/rescue_axe //Imagine something like a crash axe found on airplanes or forcing tools used by emergency services. This is a tool first and foremost.
name = "rescue axe"
desc = "A short lightweight emergency tool meant to chop, pry and pierce. Most of the handle is insulated excepting the wedge at the very bottom. The axe head atop the tool has a short pick opposite of the blade."
icon_state = "rescue_axe"
item_state = "rescue_axe"
w_class = ITEMSIZE_NORMAL
force = 12
throwforce = 12
flags = null //Handle is insulated, so this means it won't conduct electricity and hurt you.
sharp = TRUE
edge = TRUE
origin_tech = list(TECH_ENGINEERING = 2)
/obj/item/crowbar/rescue_axe/resolve_attackby(atom/A)//In practice this means it just does full damage to reinforced windows, which halve the force of attacks done against it already. That's just fine.
if(istype(A, /obj/structure/window))
force = initial(force) * 2
else
force = initial(force)
. = ..()
/obj/item/crowbar/rescue_axe/iscrowbar()//go ham
if(ismob(loc))
var/mob/M = loc
if(M.a_intent && M.a_intent == I_HURT)
return FALSE
return TRUE
/obj/item/crowbar/rescue_axe/red
icon_state = "rescue_axe_red"
item_state = "rescue_axe_red"
// Pipe wrench
/obj/item/pipewrench
name = "pipe wrench"