Re-add action prototypes (#7508)
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
This commit is contained in:
42
Resources/Prototypes/Actions/types.yml
Normal file
42
Resources/Prototypes/Actions/types.yml
Normal file
@@ -0,0 +1,42 @@
|
||||
- type: instantAction
|
||||
id: Scream
|
||||
useDelay: 10
|
||||
icon: Interface/Actions/scream.png
|
||||
name: action-name-scream
|
||||
description: AAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
serverEvent: !type:ScreamActionEvent
|
||||
checkCanInteract: false
|
||||
|
||||
- type: instantAction
|
||||
id: ToggleLight
|
||||
name: action-name-toggle-light
|
||||
description: action-description-toggle-light
|
||||
icon: Objects/Tools/flashlight.rsi/flashlight.png
|
||||
iconOn: Objects/Tools/flashlight.rsi/flashlight-on.png
|
||||
event: !type:ToggleActionEvent
|
||||
|
||||
- type: entityTargetAction
|
||||
id: Disarm
|
||||
name: action-name-disarm
|
||||
description: action-description-disarm
|
||||
icon: Interface/Actions/disarmOff.png
|
||||
iconOn: Interface/Actions/disarm.png
|
||||
repeat: true
|
||||
useDelay: 1.5
|
||||
interactOnMiss: true
|
||||
event: !type:DisarmActionEvent
|
||||
canTargetSelf: false
|
||||
whitelist:
|
||||
components:
|
||||
- Hands
|
||||
- StatusEffects
|
||||
|
||||
- type: instantAction
|
||||
id: CombatModeToggle
|
||||
name: action-name-combat
|
||||
description: action-description-combat
|
||||
icon: Interface/Actions/harmOff.png
|
||||
iconOn: Interface/Actions/harm.png
|
||||
userPopup: action-popup-combat
|
||||
popupToggleSuffix: -disabling
|
||||
event: !type:ToggleCombatActionEvent
|
||||
@@ -98,12 +98,6 @@
|
||||
- type: FlashLightVisualizer
|
||||
- type: HandheldLight
|
||||
addPrefix: true
|
||||
toggleAction:
|
||||
name: action-name-toggle-light
|
||||
description: action-description-toggle-light
|
||||
icon: Objects/Tools/flashlight.rsi/flashlight.png
|
||||
iconOn: Objects/Tools/flashlight.rsi/flashlight-on.png
|
||||
event: !type:ToggleActionEvent
|
||||
- type: PowerCellSlot
|
||||
cellSlot:
|
||||
startingItem: PowerCellHardsuitHelmet # self recharging
|
||||
|
||||
@@ -21,12 +21,6 @@
|
||||
- type: FlashLightVisualizer
|
||||
- type: HandheldLight
|
||||
addPrefix: true
|
||||
toggleAction:
|
||||
name: action-name-toggle-light
|
||||
description: action-description-toggle-light
|
||||
icon: Objects/Tools/flashlight.rsi/flashlight.png
|
||||
iconOn: Objects/Tools/flashlight.rsi/flashlight-on.png
|
||||
event: !type:ToggleActionEvent
|
||||
- type: PowerCellSlot
|
||||
cellSlot:
|
||||
startingItem: PowerCellSmallHigh
|
||||
|
||||
@@ -705,6 +705,7 @@
|
||||
# mice are gender neutral who cares
|
||||
maleScream: /Audio/Animals/mouse_squeak.ogg
|
||||
femaleScream: /Audio/Animals/mouse_squeak.ogg
|
||||
wilhelmProbability: 0.001
|
||||
# TODO: Remove CombatMode when Prototype Composition is added
|
||||
- type: CombatMode
|
||||
combatToggleAction:
|
||||
|
||||
@@ -95,20 +95,6 @@
|
||||
100: !type:DeadMobState {}
|
||||
- type: HeatResistance
|
||||
- type: CombatMode
|
||||
disarmAction:
|
||||
name: action-name-disarm
|
||||
description: action-description-disarm
|
||||
icon: Interface/Actions/disarmOff.png
|
||||
iconOn: Interface/Actions/disarm.png
|
||||
repeat: true
|
||||
useDelay: 1.5
|
||||
interactOnMiss: true
|
||||
event: !type:DisarmActionEvent
|
||||
canTargetSelf: false
|
||||
whitelist:
|
||||
components:
|
||||
- Hands
|
||||
- StatusEffects
|
||||
- type: Internals
|
||||
- type: StatusEffects
|
||||
allowed:
|
||||
|
||||
@@ -12,20 +12,6 @@
|
||||
- type: Hands
|
||||
- type: DoAfter
|
||||
- type: CombatMode
|
||||
disarmAction:
|
||||
name: action-name-disarm
|
||||
description: action-description-disarm
|
||||
icon: Interface/Actions/disarmOff.png
|
||||
iconOn: Interface/Actions/disarm.png
|
||||
repeat: true
|
||||
useDelay: 1.5
|
||||
interactOnMiss: true
|
||||
event: !type:DisarmActionEvent
|
||||
canTargetSelf: false
|
||||
whitelist:
|
||||
components:
|
||||
- Hands
|
||||
- StatusEffects
|
||||
- type: Actions
|
||||
- type: PlayerInputMover
|
||||
- type: MovementSpeedModifier
|
||||
|
||||
@@ -53,20 +53,6 @@
|
||||
0: !type:NormalMobState {}
|
||||
- type: HeatResistance
|
||||
- type: CombatMode
|
||||
disarmAction:
|
||||
name: action-name-disarm
|
||||
description: action-description-disarm
|
||||
icon: Interface/Actions/disarmOff.png
|
||||
iconOn: Interface/Actions/disarm.png
|
||||
repeat: true
|
||||
useDelay: 1.5
|
||||
interactOnMiss: true
|
||||
event: !type:DisarmActionEvent
|
||||
canTargetSelf: false
|
||||
whitelist:
|
||||
components:
|
||||
- Hands
|
||||
- StatusEffects
|
||||
- type: Internals
|
||||
- type: Examiner
|
||||
- type: Speech
|
||||
|
||||
@@ -228,17 +228,3 @@
|
||||
normal: onestar_boss
|
||||
dead: onestar_boss_wrecked
|
||||
- type: CombatMode
|
||||
disarmAction:
|
||||
name: action-name-disarm
|
||||
description: action-description-disarm
|
||||
icon: Interface/Actions/disarmOff.png
|
||||
iconOn: Interface/Actions/disarm.png
|
||||
repeat: true
|
||||
useDelay: 1.5
|
||||
interactOnMiss: true
|
||||
event: !type:DisarmActionEvent
|
||||
canTargetSelf: false
|
||||
whitelist:
|
||||
components:
|
||||
- Hands
|
||||
- StatusEffects
|
||||
|
||||
@@ -258,20 +258,6 @@
|
||||
Burn:
|
||||
sprite: Mobs/Effects/burn_damage.rsi
|
||||
- type: CombatMode
|
||||
disarmAction:
|
||||
name: action-name-disarm
|
||||
description: action-description-disarm
|
||||
icon: Interface/Actions/disarmOff.png
|
||||
iconOn: Interface/Actions/disarm.png
|
||||
repeat: true
|
||||
useDelay: 1.5
|
||||
interactOnMiss: true
|
||||
event: !type:DisarmActionEvent
|
||||
canTargetSelf: false
|
||||
whitelist:
|
||||
components:
|
||||
- Hands
|
||||
- StatusEffects
|
||||
- type: Climbing
|
||||
- type: Cuffable
|
||||
- type: CharacterInfo
|
||||
|
||||
@@ -6,12 +6,6 @@
|
||||
components:
|
||||
- type: HandheldLight
|
||||
addPrefix: true
|
||||
toggleAction:
|
||||
name: action-name-toggle-light
|
||||
description: action-description-toggle-light
|
||||
icon: Objects/Tools/flashlight.rsi/flashlight.png
|
||||
iconOn: Objects/Tools/flashlight.rsi/flashlight-on.png
|
||||
event: !type:ToggleActionEvent
|
||||
- type: PowerCellSlot
|
||||
- type: Sprite
|
||||
sprite: Objects/Misc/Lights/lights.rsi
|
||||
|
||||
@@ -17,12 +17,6 @@
|
||||
right:
|
||||
- state: inhand-right-light
|
||||
shader: unshaded
|
||||
toggleAction:
|
||||
name: action-name-toggle-light
|
||||
description: action-description-toggle-light
|
||||
icon: Objects/Tools/flashlight.rsi/flashlight.png
|
||||
iconOn: Objects/Tools/flashlight.rsi/flashlight-on.png
|
||||
event: !type:ToggleActionEvent
|
||||
- type: PowerCellSlot
|
||||
cellSlot:
|
||||
startingItem: PowerCellSmallHigh
|
||||
|
||||
@@ -6,12 +6,6 @@
|
||||
components:
|
||||
- type: HandheldLight
|
||||
addPrefix: true
|
||||
toggleAction:
|
||||
name: action-name-toggle-light
|
||||
description: action-description-toggle-light
|
||||
icon: Objects/Tools/flashlight.rsi/flashlight.png
|
||||
iconOn: Objects/Tools/flashlight.rsi/flashlight-on.png
|
||||
event: !type:ToggleActionEvent
|
||||
- type: Sprite
|
||||
sprite: Objects/Tools/lantern.rsi
|
||||
layers:
|
||||
|
||||
Reference in New Issue
Block a user