mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 21:12:24 +01:00
Hydraulic rescue tool refactoring (#20162)
### Introduction
The recently to atmos added hydraulic rescue tool is a robotic tool and
has none of the common item/tool properties. This PR refactors the tool
to a non-robotic version and fixes a bug in the recently added
functionality (#20138 - Airlocks can be opened instantly by moving
during the action duration).
### What changed?
- Added `/obj/item/crowbar/hydraulic_rescue_tool` to tools.dm
- Removed robotic version under AI
(`/obj/item/crowbar/robotic/jawsoflife`)
- Updated all occurrences (Sprite label due to updating the sprite
filename)
- Fix action skip bug in airlock.dm when using the tool (See
[5cc808b](https://github.com/Aurorastation/Aurora.3/pull/20162/commits/5cc808ba53787a2bf44be476e9503860e5440f9c))
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
|
||||
/obj/item/robot_module/aicontrol/Initialize()
|
||||
. = ..()
|
||||
modules += new /obj/item/crowbar/robotic/jawsoflife(src)
|
||||
modules += new /obj/item/crowbar/hydraulic_rescue_tool(src)
|
||||
modules += new /obj/item/wrench/robotic(src)
|
||||
modules += new /obj/item/device/healthanalyzer(src)
|
||||
modules += new /obj/item/extinguisher/mini(src)
|
||||
@@ -58,17 +58,3 @@
|
||||
|
||||
/mob/living/silicon/robot/shell/choose_icon()
|
||||
return
|
||||
|
||||
/obj/item/crowbar/robotic/jawsoflife
|
||||
name = "jaws of life"
|
||||
desc = "A set of specialized tools that functions as both the ordinary crowbar, but is additionally capable of brute forcing bolted doors without power."
|
||||
icon = 'icons/obj/item/tools/jawsoflife.dmi'
|
||||
icon_state = "jawspry"
|
||||
item_flags = ITEM_FLAG_NO_BLUDGEON
|
||||
force = 0
|
||||
sharp = FALSE
|
||||
edge = FALSE
|
||||
|
||||
/obj/item/crowbar/robotic/jawsoflife/attack(mob/living/target_mob, mob/living/user, target_zone)
|
||||
user.visible_message("\The [user] [pick("boops", "squeezes", "pokes", "prods", "strokes", "bonks")] \the [target_mob] with \the [src]")
|
||||
return FALSE
|
||||
|
||||
Reference in New Issue
Block a user