mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 14:31:59 +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:
@@ -747,6 +747,23 @@
|
||||
icon_state = "rescue_axe_red"
|
||||
item_state = "rescue_axe_red"
|
||||
|
||||
/obj/item/crowbar/hydraulic_rescue_tool
|
||||
name = "Hydraulic rescue tool"
|
||||
desc = "A hydraulic rescue tool that functions like a crowbar by applying strong amounts of hydraulic pressure to force open different things. Also known as jaws of life."
|
||||
icon = 'icons/obj/item/tools/hydraulic_rescue_tool.dmi'
|
||||
icon_state = "jawspry"
|
||||
force = 15
|
||||
throwforce = 1
|
||||
w_class = WEIGHT_CLASS_NORMAL
|
||||
drop_sound = 'sound/items/drop/crowbar.ogg'
|
||||
pickup_sound = 'sound/items/pickup/crowbar.ogg'
|
||||
usesound = /singleton/sound_category/crowbar_sound
|
||||
origin_tech = list(TECH_ENGINEERING = 1)
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 50)
|
||||
attack_verb = list("attacked", "rammed", "battered", "bludgeoned")
|
||||
sharp = FALSE
|
||||
edge = FALSE
|
||||
|
||||
// Pipe wrench
|
||||
/obj/item/pipewrench
|
||||
name = "pipe wrench"
|
||||
|
||||
Reference in New Issue
Block a user