Adds disarm action (#2950)

* Adds disarming

* Disarm acts

* yaml

* much better icon for disarm

* Apply Remie's suggestions, improve code!
This commit is contained in:
Vera Aguilera Puerto
2021-01-09 20:31:34 +01:00
committed by GitHub
parent 1fe25049a3
commit d81a5faac4
12 changed files with 247 additions and 2 deletions

View File

@@ -22,6 +22,17 @@
- /Audio/Voice/Human/femalescream_5.ogg
wilhelm: /Audio/Voice/Human/wilhelm_scream.ogg
- type: action
actionType: Disarm
icon: Interface/Actions/disarm.png
name: "[color=red]Disarm[/color]"
description: "Attempt to [color=red]disarm[/color] someone."
filters:
- human
behaviorType: TargetEntity
repeat: true
behavior: !type:DisarmAction { }
- type: action
actionType: DebugInstant
icon: Interface/Alerts/Human/human1.png