From 8c8c4f90816fcd5fd6632116c2e66d41bd2859d5 Mon Sep 17 00:00:00 2001 From: EnefFlow Date: Thu, 16 Nov 2023 14:24:57 +0300 Subject: [PATCH] fix prototypes & actions --- .../Prototypes/Objectives/cultObjectives.yml | 2 + .../_White/Actions/constuct_actions.yml | 144 ++++++++++-------- .../_White/Entities/Cult/constructs.yml | 1 - 3 files changed, 84 insertions(+), 63 deletions(-) diff --git a/Resources/Prototypes/Objectives/cultObjectives.yml b/Resources/Prototypes/Objectives/cultObjectives.yml index 05fe14fae6..e31d1965d8 100644 --- a/Resources/Prototypes/Objectives/cultObjectives.yml +++ b/Resources/Prototypes/Objectives/cultObjectives.yml @@ -5,6 +5,8 @@ description: objective-condition-kill-person-description components: - type: Objective + difficulty: 1.5 + issuer: Cult icon: sprite: /White/Cult/interface.rsi state: icon diff --git a/Resources/Prototypes/_White/Actions/constuct_actions.yml b/Resources/Prototypes/_White/Actions/constuct_actions.yml index efef40f44c..1158ceef64 100644 --- a/Resources/Prototypes/_White/Actions/constuct_actions.yml +++ b/Resources/Prototypes/_White/Actions/constuct_actions.yml @@ -1,82 +1,102 @@ -- type: instantAction - id: ArtificerCreateSoulStone +- type: entity + id: InstantActionArtificerCreateSoulStone name: artificer-create-soul-stone-action-name description: artificer-create-soul-stone-action-description + noSpawn: true + components: + - type: InstantAction + icon: + sprite: /Textures/White/Cult/actions_cult.rsi + state: phaseshift + event: !type:ArtificerCreateSoulStoneActionEvent + useDelay: 300 + sound: /Audio/White/Cult/curse.ogg - icon: - sprite: White/Cult/actions_cult.rsi - state: phaseshift - sound: /Audio/White/Cult/curse.ogg - useDelay: 300 - event: !type:ArtificerCreateSoulStoneActionEvent - -- type: instantAction - id: ArtificerCreateConstructShell +- type: entity + id: InstantActionArtificerCreateConstructShell name: artificer-create-construct-shell-action-name description: artificer-create-construct-shell-action-description - itemIconStyle: NoItem - icon: - sprite: White/Cult/actions_cult.rsi - state: artificer - sound: /Audio/White/Cult/curse.ogg - useDelay: 180 - event: !type:ArtificerCreateConstructShellActionEvent + noSpawn: true + components: + - type: InstantAction + itemIconStyle: NoItem + icon: + sprite: /Textures/White/Cult/actions_cult.rsi + state: artificer + sound: /Audio/White/Cult/curse.ogg + useDelay: 180 + event: !type:ArtificerCreateConstructShellActionEvent -- type: instantAction - id: ArtificerConvertCultistFloor +- type: entity + id: InstantActionArtificerConvertCultistFloor name: artificer-convert-cultist-floor-action-name description: artificer-convert-cultist-floor-action-description - itemIconStyle: NoItem - icon: - sprite: White/Cult/actions_cult.rsi - state: floorconstruct - sound: /Audio/White/Cult/curse.ogg - useDelay: 2 - event: !type:ArtificerConvertCultistFloorActionEvent + noSpawn: true + components: + - type: InstantAction + itemIconStyle: NoItem + icon: + sprite: /Textures/White/Cult/actions_cult.rsi + state: floorconstruct + sound: /Audio/White/Cult/curse.ogg + useDelay: 2 + event: !type:ArtificerConvertCultistFloorActionEvent -- type: instantAction - id: ArtificerCreateCultistWall +- type: entity + id: InstantActionArtificerCreateCultistWall name: artificer-create-cultist-wall-action-name description: artificer-create-cultist-wall-action-description - itemIconStyle: NoItem - icon: - sprite: White/Cult/actions_cult.rsi - state: lesserconstruct - sound: /Audio/White/Cult/curse.ogg - useDelay: 20 - event: !type:ArtificerCreateCultistWallActionEvent + noSpawn: true + components: + - type: InstantAction + itemIconStyle: NoItem + icon: + sprite: /Textures/White/Cult/actions_cult.rsi + state: lesserconstruct + sound: /Audio/White/Cult/curse.ogg + useDelay: 20 + event: !type:ArtificerCreateCultistWallActionEvent -- type: instantAction - id: ArtificerCreateCultistAirlock +- type: entity + id: InstantActionArtificerCreateCultistAirlock name: artificer-create-cultist-airlock-action-name description: artificer-create-cultist-airlock-action-description - itemIconStyle: NoItem - icon: - sprite: White/Cult/actions_cult.rsi - state: lesserconstruct - sound: /Audio/White/Cult/curse.ogg - useDelay: 60 - event: !type:ArtificerCreateCultistAirlockActionEvent + noSpawn: true + components: + - type: InstantAction + itemIconStyle: NoItem + icon: + sprite: /Textures/White/Cult/actions_cult.rsi + state: lesserconstruct + sound: /Audio/White/Cult/curse.ogg + useDelay: 60 + event: !type:ArtificerCreateCultistAirlockActionEvent -- type: instantAction - id: WraithPhase +- type: entity + id: InstantActionWraithPhase name: wraith-phase-action-name description: wraith-phase-action-description - itemIconStyle: NoItem - icon: - sprite: White/Cult/actions_cult.rsi - state: phaseshift - sound: /Audio/White/Cult/wraith_phase.ogg - useDelay: 20 - event: !type:WraithPhaseActionEvent + noSpawn: true + components: + - type: InstantAction + itemIconStyle: NoItem + icon: + sprite: /Textures/White/Cult/actions_cult.rsi + state: phaseshift + sound: /Audio/White/Cult/wraith_phase.ogg + useDelay: 20 + event: !type:WraithPhaseActionEvent -- type: instantAction - id: JuggernautCreateWall +- type: entity + id: InstantActionJuggernautCreateWall name: juggernaut-create-wall-action-name description: juggernaut-create-wall-action-description - itemIconStyle: NoItem - icon: - sprite: White/Cult/actions_cult.rsi - state: cultforcewall - useDelay: 35 - event: !type:JuggernautCreateWallActionEvent + noSpawn: true + components: + - type: InstantAction + itemIconStyle: NoItem + icon: + sprite: /Textures/White/Cult/actions_cult.rsi + state: cultforcewall + useDelay: 35 + event: !type:JuggernautCreateWallActionEvent diff --git a/Resources/Prototypes/_White/Entities/Cult/constructs.yml b/Resources/Prototypes/_White/Entities/Cult/constructs.yml index 524e89a9ac..d573d437bc 100644 --- a/Resources/Prototypes/_White/Entities/Cult/constructs.yml +++ b/Resources/Prototypes/_White/Entities/Cult/constructs.yml @@ -45,7 +45,6 @@ allowedStates: - Alive - Dead - - type: HeatResistance - type: CombatMode canDisarm: false - type: Internals