Files
2026-01-24 16:34:15 -05:00

57 lines
1.5 KiB
YAML

# SPDX-FileCopyrightText: 2022 Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 DrSmugleaf <DrSmugleaf@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 metalgearsloth <comedian_vs_clown@hotmail.com>
# SPDX-FileCopyrightText: 2024 Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
- type: entity
abstract: true
parent: BaseAction
id: BaseMechAction
components:
- type: Action
itemIconStyle: NoItem
- type: entity
parent: BaseMechAction
id: ActionMechCycleEquipment
name: Cycle
description: Cycles currently selected equipment
components:
- type: Action
useDelay: 0.5
icon:
sprite: Interface/Actions/actions_mecha.rsi
state: mech_cycle_equip_on
- type: InstantAction
event: !type:MechToggleEquipmentEvent
- type: entity
parent: BaseMechAction
id: ActionMechOpenUI
name: Control Panel
description: Opens the control panel for the mech
components:
- type: Action
useDelay: 1
icon:
sprite: Interface/Actions/actions_mecha.rsi
state: mech_view_stats
- type: InstantAction
event: !type:MechOpenUiEvent
- type: entity
parent: BaseMechAction
id: ActionMechEject
name: Eject
description: Ejects the pilot from the mech
components:
- type: Action
icon:
sprite: Interface/Actions/actions_mecha.rsi
state: mech_eject
- type: InstantAction
event: !type:MechEjectPilotEvent