Fix prying speed & log (#29210)

* cleanup prototypes with `PryingComponent` & fix jaws of life prying speed

* Minor cleanup for tools and prying systems

Remove some obsolete methods.

* Fix doafter continues when not held & log

* Modifiy delays for floor prying

* Fix test fail
This commit is contained in:
MilenVolf
2024-06-20 17:19:22 +03:00
committed by GitHub
parent c91789a78d
commit 50146d4b98
12 changed files with 31 additions and 70 deletions

View File

@@ -22,8 +22,6 @@
Slash: 10
- type: ToolTileCompatible
- type: Tool
qualities:
- Prying
- type: Prying
- type: MultipleTool
statusShowBehavior: true

View File

@@ -2265,17 +2265,10 @@
tags:
- DoorBumpOpener
- FootstepSound
- type: Tool # Open door from xeno.yml.
- type: Prying # Open door from xeno.yml.
pryPowered: true
force: true
speedModifier: 1.5
qualities:
- Prying
useSound:
path: /Audio/Items/crowbar.ogg
- type: Prying
pryPowered: !type:Bool
true
force: !type:Bool
true
useSound:
path: /Audio/Items/crowbar.ogg
- type: PassiveDamage # Slight passive regen. Assuming one damage type, comes out to about 4 damage a minute from base.yml.

View File

@@ -21,15 +21,10 @@
true
NavSmash: !type:Bool
true
- type: Tool
speedModifier: 1.5
qualities:
- Prying
- type: Prying
pryPowered: !type:Bool
true
force: !type:Bool
true
pryPowered: true
force: true
speedModifier: 1.5
useSound:
path: /Audio/Items/crowbar.ogg
- type: Reactive

View File

@@ -91,11 +91,10 @@
- type: Tool
qualities:
- Prying
useSound:
path: /Audio/Items/crowbar.ogg
speedModifier: 0.05
- type: ToolTileCompatible
delay: 10
- type: Prying
speedModifier: 0.05
- type: entity
name: mooltitool

View File

@@ -18,15 +18,15 @@
slots:
- Belt
- type: ToolTileCompatible
delay: 0.5
- type: Tool
qualities:
- Prying
speedModifier: 1.5
useSound: /Audio/Items/jaws_pry.ogg
- type: Prying
speedModifier: 1.5
pryPowered: true
useSound: /Audio/Items/jaws_pry.ogg
- type: ToolForcePowered
- type: MultipleTool
statusShowBehavior: true
entries:
@@ -66,9 +66,7 @@
right:
- state: syn_inhand-right
size: Normal
- type: Tool
qualities:
- Prying
- type: Prying
speedModifier: 3.0
- type: MultipleTool
entries:

View File

@@ -18,7 +18,4 @@
- type: Item
size: Normal
sprite: Objects/Weapons/Melee/armblade.rsi
- type: Tool
qualities:
- Prying
- type: Prying

View File

@@ -62,9 +62,6 @@
- type: Item
size: Ginormous
- type: DisarmMalus
- type: Tool
qualities:
- Prying
- type: Prying
- type: entity