mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 16:38:22 +01:00
Buffs Firelockers + Adds New Tool: The Rescue Axe (#14006)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user