diff --git a/Resources/Prototypes/_CP14/Entities/Actions/Spells/fireball.yml b/Resources/Prototypes/_CP14/Entities/Actions/Spells/fireball.yml new file mode 100644 index 0000000000..68f21bc6ef --- /dev/null +++ b/Resources/Prototypes/_CP14/Entities/Actions/Spells/fireball.yml @@ -0,0 +1,90 @@ +- type: entity + id: CP14ActionSpellFireball + name: Fireball + description: An effective method of destruction - an explosive fireball + components: + - type: CP14MagicEffect + manaCost: 20 + effects: + - !type:CP14SpellSpawnEntityOnUser + spawns: + - CP14ImpactEffectFireball + - !type:CP14SpellProjectile + prototype: CP14Fireball + - type: CP14MagicEffectVerbalAspect + startSpeech: "Quaeso, quemdam inter vos quaero... " + endSpeech: "A pila!" + - type: CP14MagicEffectSomaticAspect + - type: CP14MagicEffectCastingVisual + proto: CP14RuneFireball + - type: WorldTargetAction + useDelay: 20 + checkCanAccess: false + raiseOnUser: true + range: 60 + itemIconStyle: BigAction + sound: !type:SoundPathSpecifier + path: /Audio/Magic/rumble.ogg + icon: + sprite: _CP14/Effects/Magic/spells_icons.rsi + state: fireball + event: !type:CP14DelayedWorldTargetActionEvent + delay: 3 + +- type: entity + id: CP14RuneFireball + parent: CP14BaseMagicRune + categories: [ HideSpawnMenu ] + components: + - type: PointLight + color: "#eea911" + - type: Sprite + layers: + - state: sun + color: "#eea911" + shader: unshaded + - state: medium_circle + color: "#fdda5d" + shader: unshaded + +- type: entity + id: CP14ImpactEffectFireball + parent: CP14BaseMagicImpact + categories: [ HideSpawnMenu ] + components: + - type: Sprite + layers: + - state: wave_up + color: "#eea911" + shader: unshaded + +- type: entity + id: CP14Fireball + parent: BulletRocket + name: artificial flame + categories: [ HideSpawnMenu ] + components: + - type: PointLight + color: "#E25822" + radius: 2.0 + energy: 5.0 + - type: Projectile + damage: + types: + Heat: 10 + - type: IgnitionSource + temperature: 400 + ignited: true + - type: IgniteOnCollide + fireStacks: 0.35 + - type: Sprite + sprite: Objects/Weapons/Guns/Projectiles/magic.rsi + layers: + - state: fireball + shader: unshaded + - type: Explosive + explosionType: FireBomb + totalIntensity: 15 + intensitySlope: 1 + maxIntensity: 6 + canCreateVacuum: false \ No newline at end of file diff --git a/Resources/Prototypes/_CP14/Entities/Actions/Spells/shadow_grab.yml b/Resources/Prototypes/_CP14/Entities/Actions/Spells/shadow_grab.yml index 4b61f5b817..8eec7fa9e9 100644 --- a/Resources/Prototypes/_CP14/Entities/Actions/Spells/shadow_grab.yml +++ b/Resources/Prototypes/_CP14/Entities/Actions/Spells/shadow_grab.yml @@ -13,10 +13,6 @@ spawns: - CP14ImpactEffectShadowGrab effects: - - !type:CP14SpellApplyEntityEffect - effects: - - !type:Paralyze - paralyzeTime: 0.5 - !type:CP14SpellThrowToUser throwPower: 10 - !type:CP14SpellSpawnEntityOnTarget @@ -36,6 +32,7 @@ state: shadow_grab event: !type:CP14DelayedEntityTargetActionEvent delay: 2 + hidden: true - type: entity id: CP14ImpactEffectShadowGrab diff --git a/Resources/Prototypes/_CP14/Entities/Clothing/Rings/ring.yml b/Resources/Prototypes/_CP14/Entities/Clothing/Rings/ring.yml index 9a73411b47..83158c5b06 100644 --- a/Resources/Prototypes/_CP14/Entities/Clothing/Rings/ring.yml +++ b/Resources/Prototypes/_CP14/Entities/Clothing/Rings/ring.yml @@ -47,6 +47,24 @@ spells: - CP14ActionSpellFlameCreation +- type: entity + id: CP14ClothingRingFireball + parent: CP14ClothingRingBase + name: conductive ring + description: A standard mana-conductive ring that allows the user to summon fireballs. + suffix: Fireball + components: + - type: Sprite + layers: + - state: brass_ring + - state: ruby_stone_small + - type: CP14SpellStorageRequireAttune + - type: CP14MagicAttuningItem + - type: CP14SpellStorageAccessWearing + - type: CP14SpellStorage + spells: + - CP14ActionSpellFireball + - type: entity id: CP14ClothingRingCureWounds parent: CP14ClothingRingBase diff --git a/Resources/Textures/_CP14/Effects/Magic/spells_icons.rsi/fireball.png b/Resources/Textures/_CP14/Effects/Magic/spells_icons.rsi/fireball.png new file mode 100644 index 0000000000..2d037218c2 Binary files /dev/null and b/Resources/Textures/_CP14/Effects/Magic/spells_icons.rsi/fireball.png differ diff --git a/Resources/Textures/_CP14/Effects/Magic/spells_icons.rsi/meta.json b/Resources/Textures/_CP14/Effects/Magic/spells_icons.rsi/meta.json index 427e8a028a..55474e51c7 100644 --- a/Resources/Textures/_CP14/Effects/Magic/spells_icons.rsi/meta.json +++ b/Resources/Textures/_CP14/Effects/Magic/spells_icons.rsi/meta.json @@ -13,6 +13,9 @@ { "name": "flame_creation" }, + { + "name": "fireball" + }, { "name": "ice_dagger" },