Patched Actions Rework (#6899)
* Rejig Actions * fix merge errors * lambda-b-gon * fix PAI, add innate actions * Revert "fix PAI, add innate actions" This reverts commit 4b501ac083e979e31ebd98d7b98077e0dbdd344b. * Just fix by making nullable. if only require: true actually did something somehow. * Make AddActions() ensure an actions component and misc comments * misc cleanup * Limit range even when not checking for obstructions * remove old guardian code * rename function and make EntityUid nullable * fix magboot bug * fix action search menu * make targeting toggle all equivalent actions * fix combat popups (enabling <-> disabling) * fix networking * Allow action locking * prevent telepathy
This commit is contained in:
@@ -1,147 +0,0 @@
|
||||
- type: action
|
||||
actionType: CombatMode
|
||||
icon: Interface/Actions/harmOff.png
|
||||
iconOn: Interface/Actions/harm.png
|
||||
name: "[color=red]Combat Mode[/color]"
|
||||
description: "Enter combat mode."
|
||||
filters:
|
||||
- human
|
||||
behaviorType: Toggle
|
||||
behavior: !type:CombatMode
|
||||
|
||||
- type: action
|
||||
actionType: Disarm
|
||||
icon: Interface/Actions/disarmOff.png
|
||||
iconOn: 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: HumanScream
|
||||
icon: Interface/Actions/scream.png
|
||||
name: "Scream"
|
||||
filters:
|
||||
- human
|
||||
behaviorType: Instant
|
||||
behavior: !type:ScreamAction
|
||||
cooldown: 10
|
||||
male:
|
||||
collection: MaleScreams
|
||||
female:
|
||||
collection: FemaleScreams
|
||||
wilhelm:
|
||||
path: /Audio/Voice/Human/wilhelm_scream.ogg
|
||||
|
||||
- type: action
|
||||
actionType: VoxScream
|
||||
icon: Interface/Actions/scream.png
|
||||
name: "Scream"
|
||||
filters:
|
||||
- vox
|
||||
behaviorType: Instant
|
||||
behavior: !type:ScreamAction
|
||||
cooldown: 10
|
||||
male:
|
||||
path: /Audio/Voice/Vox/shriek1.ogg
|
||||
female:
|
||||
path: /Audio/Voice/Vox/shriek1.ogg
|
||||
wilhelm:
|
||||
path: /Audio/Voice/Human/wilhelm_scream.ogg
|
||||
|
||||
- type: action
|
||||
actionType: GhostBoo
|
||||
icon: Interface/Actions/scream.png
|
||||
name: "Boo"
|
||||
description: "Scare your crew members because of boredom!"
|
||||
filters:
|
||||
- ghost
|
||||
behaviorType: Instant
|
||||
behavior: !type:GhostBoo
|
||||
radius: 3
|
||||
cooldown: 120
|
||||
maxTargets: 3
|
||||
|
||||
- type: action
|
||||
actionType: PAIMidi
|
||||
icon: Interface/Actions/pai-midi.png
|
||||
name: "Play MIDI"
|
||||
description: "Open your portable MIDI interface to soothe your owner."
|
||||
filters:
|
||||
- pai
|
||||
- music
|
||||
behaviorType: Instant
|
||||
behavior: !type:PAIMidi
|
||||
|
||||
- type: action
|
||||
actionType: DebugInstant
|
||||
icon: Interface/Alerts/human_health.rsi/health1.png
|
||||
name: "[color=red]Debug Instant[/color]"
|
||||
description: "This is a [color=red]debug message[/color]."
|
||||
requires: "Requires blah blah"
|
||||
filters:
|
||||
- debug
|
||||
behaviorType: Instant
|
||||
behavior: !type:DebugInstant
|
||||
message: Instant action was used!
|
||||
|
||||
- type: action
|
||||
actionType: DebugToggle
|
||||
icon: Interface/Alerts/human_health.rsi/health3.png
|
||||
name: "[color=red]Debug Toggle[/color]"
|
||||
description: "This is a [color=red]debug message[/color]."
|
||||
requires: "Requires blah blah"
|
||||
filters:
|
||||
- debug
|
||||
behaviorType: Toggle
|
||||
behavior: !type:DebugToggle
|
||||
messageOn: Toggled on!
|
||||
messageOff: Toggled off!
|
||||
|
||||
- type: action
|
||||
actionType: DebugTargetPoint
|
||||
icon: Interface/Alerts/human_health.rsi/health4.png
|
||||
name: "[color=red]Debug Target Position[/color]"
|
||||
description: "This is a [color=red]debug message[/color]."
|
||||
filters:
|
||||
- debug
|
||||
behaviorType: TargetPoint
|
||||
behavior: !type:DebugTargetPoint { }
|
||||
|
||||
- type: action
|
||||
actionType: DebugTargetPointRepeat
|
||||
icon: Interface/Alerts/human_health.rsi/health2.png
|
||||
name: "[color=red]Repeating Debug Target Position[/color]"
|
||||
description: "This is a [color=red]debug message[/color]."
|
||||
filters:
|
||||
- debug
|
||||
behaviorType: TargetPoint
|
||||
repeat: true
|
||||
behavior: !type:DebugTargetPoint { }
|
||||
|
||||
- type: action
|
||||
actionType: DebugTargetEntity
|
||||
icon: Interface/Alerts/human_health.rsi/health6.png
|
||||
name: "[color=red]Debug Target Entity[/color]"
|
||||
description: "This is a [color=red]debug message[/color]."
|
||||
filters:
|
||||
- debug
|
||||
behaviorType: TargetEntity
|
||||
behavior: !type:DebugTargetEntity { }
|
||||
|
||||
- type: action
|
||||
actionType: DebugTargetEntityRepeat
|
||||
icon: Interface/Alerts/human_health.rsi/health5.png
|
||||
name: "[color=red]Repeating Debug Target Entity[/color]"
|
||||
description: "This is a [color=red]debug message[/color]."
|
||||
filters:
|
||||
- debug
|
||||
behaviorType: TargetEntity
|
||||
repeat: true
|
||||
behavior: !type:DebugTargetEntity { }
|
||||
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
#This is the action the host gets to control the guardian
|
||||
- type: action
|
||||
actionType: ManifestGuardian
|
||||
icon: Interface/Actions/manifest.png
|
||||
name: "Toggle guardian manifestation"
|
||||
description: "Either manifests the guardian or recalls it back into your body"
|
||||
filters:
|
||||
- guardian
|
||||
behaviorType: Instant
|
||||
behavior: !type:ToggleGuardianAction
|
||||
cooldown: 2
|
||||
|
||||
@@ -1,125 +0,0 @@
|
||||
- type: itemAction
|
||||
actionType: ToggleInternals
|
||||
icon: Interface/Actions/internal0.png
|
||||
iconOn: Interface/Actions/internal1.png
|
||||
name: "Toggle Internals"
|
||||
description: "Breathe from the equipped gas tank."
|
||||
requires: "Requires equipped breath mask and gas tank"
|
||||
filters:
|
||||
- common
|
||||
- atmos
|
||||
keywords:
|
||||
- gas
|
||||
- tank
|
||||
- breath
|
||||
behaviorType: Toggle
|
||||
behavior: !type:ToggleInternalsAction { }
|
||||
|
||||
- type: itemAction
|
||||
actionType: ToggleLight
|
||||
icon: Objects/Tools/flashlight.rsi/flashlight.png
|
||||
iconOn: Objects/Tools/flashlight.rsi/flashlight-on.png
|
||||
name: "Toggle Light"
|
||||
description: "Turn the light on."
|
||||
filters:
|
||||
- tools
|
||||
keywords:
|
||||
- lantern
|
||||
- lamp
|
||||
behaviorType: Toggle
|
||||
behavior: !type:ToggleLightAction { }
|
||||
|
||||
- type: itemAction
|
||||
actionType: DebugInstant
|
||||
icon: Interface/Alerts/human_health.rsi/health1.png
|
||||
iconStyle: BigAction
|
||||
name: "[color=red]Debug Item Instant[/color]"
|
||||
description: "This is a [color=red]debug message[/color]."
|
||||
requires: "Requires blah blah"
|
||||
filters:
|
||||
- debug
|
||||
behaviorType: Instant
|
||||
behavior: !type:DebugInstant
|
||||
message: Instant action was used!
|
||||
cooldown: 10
|
||||
|
||||
- type: itemAction
|
||||
actionType: DebugToggle
|
||||
iconStyle: BigItem
|
||||
icon: Interface/Alerts/human_health.rsi/health3.png
|
||||
name: "[color=red]Debug Item Toggle[/color]"
|
||||
description: "This is a [color=red]debug message[/color]."
|
||||
requires: "Requires blah blah"
|
||||
filters:
|
||||
- debug
|
||||
behaviorType: Toggle
|
||||
behavior: !type:DebugToggle
|
||||
messageOn: Toggled on!
|
||||
messageOff: Toggled off!
|
||||
|
||||
- type: itemAction
|
||||
actionType: DebugTargetPoint
|
||||
iconStyle: NoItem
|
||||
icon: Interface/Alerts/human_health.rsi/health4.png
|
||||
name: "[color=red]Debug Item Target Position[/color]"
|
||||
description: "This is a [color=red]debug message[/color]."
|
||||
filters:
|
||||
- debug
|
||||
behaviorType: TargetPoint
|
||||
behavior: !type:DebugTargetPoint { }
|
||||
|
||||
- type: itemAction
|
||||
actionType: DebugTargetPointRepeat
|
||||
iconStyle: BigAction
|
||||
icon: Interface/Alerts/human_health.rsi/health2.png
|
||||
name: "[color=red]Repeating Debug Item Target Position[/color]"
|
||||
description: "This is a [color=red]debug message[/color]."
|
||||
filters:
|
||||
- debug
|
||||
behaviorType: TargetPoint
|
||||
repeat: true
|
||||
behavior: !type:DebugTargetPoint { }
|
||||
|
||||
- type: itemAction
|
||||
actionType: DebugTargetEntity
|
||||
iconStyle: BigAction
|
||||
icon: Interface/Alerts/human_health.rsi/health6.png
|
||||
name: "[color=red]Debug Item Target Entity[/color]"
|
||||
description: "This is a [color=red]debug message[/color]."
|
||||
filters:
|
||||
- debug
|
||||
behaviorType: TargetEntity
|
||||
behavior: !type:DebugTargetEntity { }
|
||||
|
||||
- type: itemAction
|
||||
actionType: DebugTargetEntityRepeat
|
||||
icon: Interface/Alerts/human_health.rsi/health5.png
|
||||
name: "[color=red]Repeating Debug Item Target Entity[/color]"
|
||||
description: "This is a [color=red]debug message[/color]."
|
||||
filters:
|
||||
- debug
|
||||
behaviorType: TargetEntity
|
||||
repeat: true
|
||||
behavior: !type:DebugTargetEntity { }
|
||||
|
||||
- type: entity
|
||||
name: item action example
|
||||
parent: BaseItem
|
||||
id: ItemActionExample
|
||||
description: for testing item actions
|
||||
suffix: DEBUG
|
||||
components:
|
||||
- type: Tag
|
||||
tags:
|
||||
- Debug
|
||||
- type: Sprite
|
||||
sprite: Objects/Fun/bikehorn.rsi
|
||||
state: icon
|
||||
- type: ItemActions
|
||||
actions:
|
||||
- actionType: DebugInstant
|
||||
- actionType: DebugToggle
|
||||
- actionType: DebugTargetPoint
|
||||
- actionType: DebugTargetPointRepeat
|
||||
- actionType: DebugTargetEntity
|
||||
- actionType: DebugTargetEntityRepeat
|
||||
@@ -1,13 +0,0 @@
|
||||
- type: itemAction
|
||||
actionType: ToggleMagboots
|
||||
icon: Clothing/Shoes/Boots/magboots.rsi/icon.png
|
||||
iconOn: Clothing/Shoes/Boots/magboots.rsi/icon-on.png
|
||||
name: "Toggle Magboots"
|
||||
description: "Turn your magboots on."
|
||||
filters:
|
||||
- tools
|
||||
keywords:
|
||||
- atmos
|
||||
- air
|
||||
behaviorType: Toggle
|
||||
behavior: !type:ToggleMagbootsAction { }
|
||||
@@ -1,14 +0,0 @@
|
||||
- type: action
|
||||
actionType: SpellPie
|
||||
icon: Objects/Consumable/Food/Baked/pie.rsi/plain.png
|
||||
name: "Pie"
|
||||
filters:
|
||||
- spells
|
||||
description: "Give me a pie, I dare you!"
|
||||
behaviorType: Instant
|
||||
behavior: !type:GiveItemSpell
|
||||
spellItem: FoodPieBananaCream
|
||||
castMessage: I NEED A PIE!
|
||||
cooldown: 15
|
||||
castSound:
|
||||
path: /Audio/Items/bikehorn.ogg
|
||||
Reference in New Issue
Block a user