Revert "Actions Rework" (#6888)
This commit is contained in:
@@ -63,13 +63,12 @@
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: FlashLightVisualizer
|
||||
- type: ItemActions
|
||||
actions:
|
||||
- actionType: ToggleLight
|
||||
# right now there is no power system for hardsuits
|
||||
# so hardsuit helmet just have small battery inside
|
||||
- type: HandheldLight
|
||||
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
|
||||
|
||||
@@ -19,12 +19,9 @@
|
||||
visuals:
|
||||
- type: FlashLightVisualizer
|
||||
- type: HandheldLight
|
||||
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: ItemActions
|
||||
actions:
|
||||
- actionType: ToggleLight
|
||||
- type: PowerCellSlot
|
||||
cellSlot:
|
||||
startingItem: PowerCellSmallHigh
|
||||
|
||||
@@ -10,13 +10,9 @@
|
||||
- type: Clothing
|
||||
sprite: Clothing/Shoes/Boots/magboots.rsi
|
||||
- type: Magboots
|
||||
toggleAction:
|
||||
icon: Clothing/Shoes/Boots/magboots.rsi/icon.png
|
||||
iconOn: Clothing/Shoes/Boots/magboots.rsi/icon-on.png
|
||||
name: action-name-magboot-toggle
|
||||
description: action-decription-magboot-toggle
|
||||
itemIconStyle: NoItem
|
||||
event: !type:ToggleActionEvent
|
||||
- type: ItemActions
|
||||
actions:
|
||||
- actionType: ToggleMagboots
|
||||
|
||||
- type: entity
|
||||
parent: ClothingShoesBootsMag
|
||||
|
||||
@@ -646,15 +646,8 @@
|
||||
tags:
|
||||
- Trash
|
||||
- type: Recyclable
|
||||
- type: Actions
|
||||
# TODO: Remove CombatMode when Prototype Composition is added
|
||||
- type: CombatMode
|
||||
combatToggleAction:
|
||||
enabled: false
|
||||
autoPopulate: false
|
||||
disarmAction:
|
||||
enabled: false
|
||||
autoPopulate: false
|
||||
- type: Actions # TODO: Remove CombatMode when Prototype Composition is added
|
||||
innateActions: []
|
||||
|
||||
|
||||
- type: entity
|
||||
|
||||
@@ -121,6 +121,8 @@
|
||||
sprite: Mobs/Effects/onfire.rsi
|
||||
normalState: Generic_mob_burning
|
||||
- type: Actions
|
||||
innateActions:
|
||||
- CombatMode
|
||||
- type: DoAfter
|
||||
- type: Climbing
|
||||
- type: Flashable
|
||||
|
||||
@@ -13,6 +13,9 @@
|
||||
- type: DoAfter
|
||||
- type: CombatMode
|
||||
- type: Actions
|
||||
innateActions:
|
||||
- CombatMode
|
||||
- GhostBoo
|
||||
- type: PlayerInputMover
|
||||
- type: Physics
|
||||
bodyType: Kinematic
|
||||
|
||||
@@ -13,6 +13,10 @@
|
||||
- type: PlayerInputMover
|
||||
- type: Alerts
|
||||
- type: Actions
|
||||
innateActions:
|
||||
- CombatMode
|
||||
- Disarm
|
||||
- HumanScream
|
||||
- type: Eye
|
||||
- type: CameraRecoil
|
||||
- type: Examiner
|
||||
|
||||
@@ -68,6 +68,8 @@
|
||||
types:
|
||||
Blunt: 22
|
||||
- type: Actions
|
||||
innateActions:
|
||||
- CombatMode
|
||||
- type: Guardian
|
||||
- type: NameIdentifier
|
||||
group: Holoparasite
|
||||
@@ -20,6 +20,10 @@
|
||||
Asphyxiation: -1.5
|
||||
- type: Alerts
|
||||
- type: Actions
|
||||
innateActions:
|
||||
- CombatMode
|
||||
- Disarm
|
||||
- HumanScream
|
||||
- type: Eye
|
||||
- type: CameraRecoil
|
||||
- type: Examiner
|
||||
|
||||
@@ -45,3 +45,6 @@
|
||||
baseSprintSpeed: 14
|
||||
baseWalkSpeed: 7
|
||||
- type: MovementIgnoreGravity
|
||||
- type: Actions
|
||||
innateActions:
|
||||
- GhostBoo
|
||||
|
||||
@@ -11,6 +11,10 @@
|
||||
- type: PlayerInputMover
|
||||
- type: Alerts
|
||||
- type: Actions
|
||||
innateActions:
|
||||
- CombatMode
|
||||
- Disarm
|
||||
- HumanScream
|
||||
- type: Eye
|
||||
- type: CameraRecoil
|
||||
- type: Examiner
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
context: "human"
|
||||
- type: Alerts
|
||||
- type: Actions
|
||||
innateActions:
|
||||
- VoxScream
|
||||
- Disarm
|
||||
- type: Eye
|
||||
- type: CameraRecoil
|
||||
- type: Examiner
|
||||
- type: Vocal
|
||||
maleScream: /Audio/Voice/Vox/shriek1.ogg
|
||||
femaleScream: /Audio/Voice/Vox/shriek1.ogg
|
||||
- type: AiFactionTag
|
||||
factions:
|
||||
- NanoTrasen
|
||||
|
||||
@@ -288,7 +288,6 @@
|
||||
# - type: Recyclable Turns out turning off recycler safeties without considering the instagib is a bad idea
|
||||
# safe: false
|
||||
- type: Speech
|
||||
- type: Vocal
|
||||
- type: Emoting
|
||||
- type: Grammar
|
||||
attributes:
|
||||
|
||||
@@ -22,12 +22,6 @@
|
||||
- idcard
|
||||
- Belt
|
||||
- type: UnpoweredFlashlight
|
||||
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: PointLight
|
||||
enabled: false
|
||||
radius: 2.5
|
||||
|
||||
@@ -25,17 +25,12 @@
|
||||
- type: Input
|
||||
context: "human"
|
||||
- type: PAI
|
||||
midiAction:
|
||||
name: action-name-pai-play-midi
|
||||
checkCanInteract: false
|
||||
icon: Interface/Actions/pai-midi.png
|
||||
description: action-description-pai-play-midi
|
||||
event: !type:OpenUiActionEvent
|
||||
key: enum.InstrumentUiKey.Key
|
||||
- type: Examiner
|
||||
- type: GhostRadio
|
||||
- type: DoAfter
|
||||
- type: Actions
|
||||
innateActions:
|
||||
- PAIMidi
|
||||
# This has to be installed because otherwise they're not "alive",
|
||||
# so they can ghost and come back.
|
||||
# Note that the personal AI never "dies".
|
||||
|
||||
@@ -5,13 +5,10 @@
|
||||
abstract: true
|
||||
components:
|
||||
- type: HandheldLight
|
||||
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: ItemActions
|
||||
actions:
|
||||
- actionType: ToggleLight
|
||||
- type: Sprite
|
||||
sprite: Objects/Misc/Lights/lights.rsi
|
||||
netsync: false
|
||||
|
||||
@@ -8,12 +8,9 @@
|
||||
tags:
|
||||
- Flashlight
|
||||
- type: HandheldLight
|
||||
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: ItemActions
|
||||
actions:
|
||||
- actionType: ToggleLight
|
||||
- type: PowerCellSlot
|
||||
cellSlot:
|
||||
startingItem: PowerCellSmallHigh
|
||||
|
||||
@@ -15,12 +15,9 @@
|
||||
sprite: Objects/Tanks/generic.rsi
|
||||
QuickEquip: false
|
||||
- type: GasTank
|
||||
toggleAction:
|
||||
name: action-name-internals-toggle
|
||||
description: action-description-internals-toggle
|
||||
icon: Interface/Actions/internal0.png
|
||||
iconOn: Interface/Actions/internal1.png
|
||||
event: !type:ToggleActionEvent
|
||||
- type: ItemActions
|
||||
actions:
|
||||
- actionType: ToggleInternals
|
||||
|
||||
- type: entity
|
||||
parent: GasTankBase
|
||||
|
||||
@@ -5,12 +5,9 @@
|
||||
description: The holy light guides the way.
|
||||
components:
|
||||
- type: HandheldLight
|
||||
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: ItemActions
|
||||
actions:
|
||||
- actionType: ToggleLight
|
||||
- type: Sprite
|
||||
sprite: Objects/Tools/lantern.rsi
|
||||
layers:
|
||||
|
||||
Reference in New Issue
Block a user