diff --git a/Resources/Prototypes/_CP14/Entities/Actions/Spells/Fire/firebolt.yml b/Resources/Prototypes/_CP14/Entities/Actions/Spells/Fire/firebolt.yml new file mode 100644 index 0000000000..896ecd6f81 --- /dev/null +++ b/Resources/Prototypes/_CP14/Entities/Actions/Spells/Fire/firebolt.yml @@ -0,0 +1,98 @@ +- type: entity + id: CP14ActionSpellFirebolt + name: Firebolt + description: A staple of a pyrokinetic's arsenal - a small but potent bolt of fire. + components: + - type: Sprite + sprite: _CP14/Actions/Spells/fire.rsi + state: fireball + - type: CP14MagicEffectCastSlowdown + speedMultiplier: 0.75 + - type: CP14MagicEffectManaCost + manaCost: 10 + - type: CP14MagicEffect + magicType: Fire + effects: + - !type:CP14SpellProjectile + prototype: CP14Firebolt + - !type:CP14SpellSpawnEntityOnUser + spawns: + - CP14ImpactEffectFirebolt + - type: CP14MagicEffectVerbalAspect + endSpeech: "Ignis acus!" + - type: CP14MagicEffectCastingVisual + proto: CP14RuneFirebolt + - type: CP14MagicEffectPacifiedBlock + - type: EntityWorldTargetAction + repeat: true + checkCanAccess: false + raiseOnUser: true + range: 60 + itemIconStyle: BigAction + sound: !type:SoundPathSpecifier + path: /Audio/Magic/rumble.ogg + icon: + sprite: _CP14/Actions/Spells/fire.rsi + state: firebolt + event: !type:CP14DelayedEntityWorldTargetActionEvent + cooldown: 1.0 + breakOnMove: false + +- type: entity + id: CP14RuneFirebolt + parent: CP14BaseMagicRune + categories: [ HideSpawnMenu ] + save: false + components: + - type: PointLight + color: "#eea911" + - type: Sprite + layers: + - state: medium_circle + color: "#fdda5d" + shader: unshaded + +- type: entity + id: CP14ImpactEffectFirebolt + parent: CP14BaseMagicImpact + categories: [ HideSpawnMenu ] + save: false + components: + - type: Sprite + layers: + - state: wave_up + color: "#eea911" + shader: unshaded + +- type: entity + id: CP14Firebolt + parent: BaseBullet + name: firebolt + categories: [ HideSpawnMenu ] + save: false + components: + - type: PointLight + color: "#E25822" + radius: 1.1 + energy: 1.0 + - type: Projectile + damage: + types: + Heat: 10 + soundHit: + path: /Audio/Weapons/Guns/Hits/energy_metal1.ogg + - type: Sprite + sprite: _CP14/Effects/Magic/firebolt.rsi + layers: + - state: firebolt + shader: unshaded + +- type: entity + parent: CP14BaseSpellScrollFire + id: CP14SpellScrollFirebolt + name: firebolt spell scroll + components: + - type: CP14SpellStorage + spells: + - CP14ActionSpellFirebolt + diff --git a/Resources/Prototypes/_CP14/Skill/pyrokinetic.yml b/Resources/Prototypes/_CP14/Skill/pyrokinetic.yml index 2aa5256173..c1a5dc55df 100644 --- a/Resources/Prototypes/_CP14/Skill/pyrokinetic.yml +++ b/Resources/Prototypes/_CP14/Skill/pyrokinetic.yml @@ -102,6 +102,20 @@ - !type:NeedPrerequisite prerequisite: PyrokineticT2 +- type: cp14Skill + id: CP14ActionSpellFirebolt + skillUiPosition: 6, 6 + tree: Pyrokinetic + icon: + sprite: _CP14/Actions/Spells/fire.rsi + state: firebolt + effects: + - !type:AddAction + action: CP14ActionSpellFirebolt + restrictions: + - !type:NeedPrerequisite + prerequisite: PyrokineticT2 + # T3 - type: cp14Skill diff --git a/Resources/Textures/_CP14/Actions/Spells/fire.rsi/firebolt.png b/Resources/Textures/_CP14/Actions/Spells/fire.rsi/firebolt.png new file mode 100644 index 0000000000..ac658353bc Binary files /dev/null and b/Resources/Textures/_CP14/Actions/Spells/fire.rsi/firebolt.png differ diff --git a/Resources/Textures/_CP14/Actions/Spells/fire.rsi/meta.json b/Resources/Textures/_CP14/Actions/Spells/fire.rsi/meta.json index 2838006a31..276d3148d8 100644 --- a/Resources/Textures/_CP14/Actions/Spells/fire.rsi/meta.json +++ b/Resources/Textures/_CP14/Actions/Spells/fire.rsi/meta.json @@ -5,7 +5,7 @@ "y": 32 }, "license": "All right reserved", - "copyright": "Created by .kreks., tiefling_revenge, fire_music by TheShuEd", + "copyright": "Created by .kreks., tiefling_revenge, fire_music by TheShuEd, firebolt by TheShuEd + edited by firebat4321", "states": [ { "name": "fire_music" @@ -21,6 +21,9 @@ }, { "name": "heat" + }, + { + "name": "firebolt" } ] -} \ No newline at end of file +} diff --git a/Resources/Textures/_CP14/Effects/Magic/firebolt.rsi/firebolt.png b/Resources/Textures/_CP14/Effects/Magic/firebolt.rsi/firebolt.png new file mode 100644 index 0000000000..e46b5d8237 Binary files /dev/null and b/Resources/Textures/_CP14/Effects/Magic/firebolt.rsi/firebolt.png differ diff --git a/Resources/Textures/_CP14/Effects/Magic/firebolt.rsi/meta.json b/Resources/Textures/_CP14/Effects/Magic/firebolt.rsi/meta.json new file mode 100644 index 0000000000..986c43f1fc --- /dev/null +++ b/Resources/Textures/_CP14/Effects/Magic/firebolt.rsi/meta.json @@ -0,0 +1,14 @@ +{ + "version": 1, + "size": { + "x": 32, + "y": 32 + }, + "license": "CC-BY-SA-4.0", + "copyright": "Created by /tg/station, edited by firebat4321", + "states": [ + { + "name": "firebolt" + } + ] +}