Skip to content

Commit

Permalink
Pyrokinetic Flare Power
Browse files Browse the repository at this point in the history
  • Loading branch information
VMSolidus committed Oct 24, 2024
1 parent 05a1301 commit 4e76ed4
Show file tree
Hide file tree
Showing 7 changed files with 76 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ private void SpawnEntities(EntityUid uid, PsionicComponent component, EntitySpaw
foreach (var tileref in tiles)
Spawn(_random.Pick(entry.Spawns), _mapSystem.ToCenterCoordinates(tileref, grid));
}
}
}
13 changes: 12 additions & 1 deletion Resources/Locale/en-US/psionics/psionic-powers.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,17 @@ telekinetic-pulse-power-initialization-feedback =
As I reach through the veil with my psyche, I discover a wellspring of pure kinetic energy. It courses through me, but I seem to lack fine control over it.
telekinetic-pulse-power-metapsionic-feedback = {CAPITALIZE($entity)} has the essence of pure kinesis flowing through him.
# Pyrokinetic Flare
action-name-pyrokinetic-flare = Pyrokinetic Flare
action-description-pyrokinetic-flare =
Generate a flash of firelight from Gehenna to blind your adversaries.
pyrokinetic-flare-power-description = { action-description-pyrokinetic-flare }
pyrokinetic-flare-power-initialization-feedback =
My gaze is briefly filled with a flash of immense light and head, and for a single moment I can see a glimpse of a realm
of fire and pain, of hunger and suffering. Just as soon as I glimpse it, the vision fades. But the memory of that flash lingers within my mind.
I can recall it still, a glimpse of the fires of Gehenna.
pyrokinetic-flare-power-metapsionic-feedback = Guh these don't even matter because nobody can read this line in-game and I don't know when I'm ever bringing back Narrow Pulse
# Psionic System Messages
mindbreaking-feedback = The light of life vanishes from {CAPITALIZE($entity)}'s eyes, leaving behind a husk pretending at sapience
examine-mindbroken-message =
Expand All @@ -148,4 +159,4 @@ action-description-shadowkin-shadeskip = Aaramrra!
action-name-darkswap = DarkSwap
action-description-darkswap = Mmra Mamm!
ethereal-pickup-fail = My hand sizzles as it passes through...
ethereal-pickup-fail = My hand sizzles as it passes through...
26 changes: 26 additions & 0 deletions Resources/Prototypes/Actions/psionics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -338,3 +338,29 @@
event: !type:DarkSwapActionEvent
manaCost: 100
checkInsulation: false

- type: entity
id: ActionPyrokineticFlare
name: action-name-pyrokinetic-flare
description: action-description-pyrokinetic-flare
noSpawn: true
components:
- type: InstantAction
icon: { sprite: Interface/Actions/psionics.rsi, state: pyrokinetic_flare }
useDelay: 25
checkCanInteract: false
event: !type:AnomalyPowerActionEvent
settings:
powerName: "Pyrokinetic Flare"
minGlimmer: 3
maxGlimmer: 5
doSupercritical: false
entitySpawnEntries:
- settings:
spawnOnPulse: true
spawnOnSuperCritical: true
minAmount: 1
maxAmount: 3
maxRange: 1
spawns:
- EffectPyrokineticFlare
24 changes: 23 additions & 1 deletion Resources/Prototypes/Entities/Effects/bluespace_flash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,26 @@
lifetime: 3
- type: EmitSoundOnSpawn
sound:
path: /Audio/Effects/Shadowkin/darkswapoff.ogg
path: /Audio/Effects/Shadowkin/darkswapoff.ogg

- type: entity
id: EffectPyrokineticFlare
components:
- type: Sprite
sprite: /Textures/Interface/Actions/psionics.rsi
visible: false
state: pyrokinetic_flare
- type: TriggerOnSpawn
- type: PointLight
radius: 5
energy: 8
color: "#ff4500"
- type: LightFade
duration: 0.5
- type: TimedDespawn
lifetime: 0.5
- type: FlashOnTrigger
range: 7
- type: EmitSoundOnSpawn
sound:
path: "/Audio/Effects/flash_bang.ogg"
11 changes: 11 additions & 0 deletions Resources/Prototypes/Psionics/psionics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,3 +243,14 @@
actions:
- ActionDarkSwap
powerSlotCost: 1

- type: psionicPower
id: PyrokineticFlare
name: Pyrokinetic Flare
description: pyrokinetic-flare-power-description
actions:
- ActionPyrokineticFlare
powerSlotCost: 1
initializationFeedback: pyrokinetic-flare-power-initialization-feedback
metapsionicFeedback: pyrokinetic-flare-power-metapsionic-feedback
amplificationModifier: 0.25
3 changes: 3 additions & 0 deletions Resources/Textures/Interface/Actions/psionics.rsi/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
},
{
"name": "telekinetic_pulse"
},
{
"name": "pyrokinetic_flare"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4e76ed4

Please sign in to comment.