Gods part 3 (#1421)

* apprice action, dead notice

* fix refollowing

* mist lumera action
This commit is contained in:
Red
2025-06-14 02:11:36 +03:00
committed by GitHub
parent b932d56f15
commit fc0beb5ccf
21 changed files with 288 additions and 17 deletions

View File

@@ -0,0 +1,73 @@
- type: entity
id: CP14ActionSpellGodLumeraDarkmist
name: Impenetrable darkness
description: You summon a thick fog that obscures vision and disorients mortals.
components:
- type: CP14MagicEffectReligionRestricted
- type: CP14MagicEffectManaCost
manaCost: 10
- type: CP14MagicEffect
telegraphyEffects:
- !type:CP14SpellSpawnEntityOnTarget
spawns:
- CP14ImpactEffectFlashLight
effects:
- !type:CP14SpellSpawnEntityOnTarget
spawns:
- CP14LumeraDarkMist
- type: WorldTargetAction
repeat: true
checkCanAccess: false
range: 100
itemIconStyle: BigAction
sound: !type:SoundPathSpecifier
path: /Audio/Magic/Eldritch/voidblink.ogg
icon:
sprite: _CP14/Actions/DemigodSpells/lumera.rsi
state: mist
event: !type:CP14WorldTargetActionEvent
cooldown: 0.15
- type: entity
parent:
- BaseStructure
- BaseShadow
id: CP14LumeraDarkMist
categories: [ HideSpawnMenu ]
components:
- type: SyncSprite
- type: TimedDespawn
lifetime: 60
- type: Occluder
- type: Sprite
drawdepth: Effects
sprite: Effects/spookysmoke.rsi
layers:
- state: spookysmoke
color: "#3266a8"
map: [base]
- type: OptionsVisualizer
visuals:
base:
- options: Default
data: { state: spookysmoke }
- options: ReducedMotion
data: { state: spookysmoke_static }
- type: Physics
bodyType: Static
canCollide: false
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.5,-0.5,0.5,0.5"
layer:
- SlipLayer
mask:
- ItemMask
density: 1000
hard: false
- type: Tag
tags:
- HideContextMenu

View File

@@ -10,4 +10,30 @@
priority: -8
event: !type:CP14RenounceFromGodEvent
- type: ConfirmableAction
popup: cp14-renounce-action-popup
popup: cp14-renounce-action-popup
- type: entity
id: CP14ActionAppealToGod
name: Appeal to god
description: You call upon your patron! He will hear your call wherever he may be.
components:
- type: CP14MagicEffect
effects:
- !type:CP14SpellSpawnEntityOnTarget
spawns:
- CP14ImpactEffectSphereOfLight
- !type:CP14SpellTransferManaToGod
amount: 20
safe: false
- !type:CP14SpellSendMessageToGod
- type: InstantAction
sound: !type:SoundPathSpecifier
path: /Audio/Magic/rumble.ogg
icon:
sprite: _CP14/Actions/DemigodSpells/generic.rsi
state: appeal
priority: -8
event: !type:CP14DelayedInstantActionEvent
cooldown: 15
castDelay: 1.5
breakOnMove: true

View File

@@ -57,6 +57,21 @@
- !type:GodFollowerPercentage
percentage: 0.3
- type: cp14Skill
id: LumeraDarkMist
skillUiPosition: 6, 3
tree: GodLumera
learnCost: 1.0
icon:
sprite: _CP14/Actions/DemigodSpells/lumera.rsi
state: mist
effects:
- !type:AddAction
action: CP14ActionSpellGodLumeraDarkmist
restrictions:
- !type:NeedPrerequisite
prerequisite: LumeraT2
# T3
- type: cp14Skill