diff --git a/Resources/Prototypes/_CP14/Entities/Actions/Spells/ice_shards.yml b/Resources/Prototypes/_CP14/Entities/Actions/Spells/ice_shards.yml new file mode 100644 index 0000000000..fda1b15879 --- /dev/null +++ b/Resources/Prototypes/_CP14/Entities/Actions/Spells/ice_shards.yml @@ -0,0 +1,63 @@ +- type: entity + id: CP14ActionSpellIceShards + name: Ice Shards + description: Fast ice needles, for rapid shooting of targets. + components: + - type: CP14MagicEffect + manaCost: 5 + effects: + - !type:CP14SpellProjectile + prototype: CP14IceShard + - type: CP14MagicEffectVerbalAspect + endSpeech: "Glacies acus!" + - type: CP14MagicEffectSomaticAspect + - type: CP14MagicEffectCastingVisual + proto: CP14RuneIceShards + - type: WorldTargetAction + useDelay: 0.5 + repeat: true + 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: ice_shards + event: !type:CP14DelayedWorldTargetActionEvent + delay: 0.5 + +- type: entity + id: CP14RuneIceShards + parent: CP14BaseMagicRune + categories: [ HideSpawnMenu ] + components: + - type: PointLight + color: "#5eabeb" + - type: Sprite + layers: + - state: double_outer + color: "#5eabeb" + shader: unshaded + +- type: entity + id: CP14IceShard + parent: BaseBullet + name: ice shard + categories: [ HideSpawnMenu ] + components: + - type: PointLight + color: "#5eabeb" + radius: 1.1 + energy: 1.0 + - type: Projectile + damage: + types: + Cold: 4 + Piercing: 4 + - type: Sprite + sprite: _CP14/Objects/Weapons/Melee/Dagger/ice_dagger.rsi + layers: + - state: shard + shader: unshaded \ No newline at end of file diff --git a/Resources/Prototypes/_CP14/Entities/Clothing/Rings/ring.yml b/Resources/Prototypes/_CP14/Entities/Clothing/Rings/ring.yml index 83158c5b06..89a49463ae 100644 --- a/Resources/Prototypes/_CP14/Entities/Clothing/Rings/ring.yml +++ b/Resources/Prototypes/_CP14/Entities/Clothing/Rings/ring.yml @@ -29,6 +29,24 @@ spells: - CP14ActionSpellIceDagger +- type: entity + id: CP14ClothingRingIceShards + parent: CP14ClothingRingBase + name: conductive ring + suffix: Ice Shards + description: A standard mana-conductive ring that allows the user to summon ice shards. + components: + - type: Sprite + layers: + - state: brass_ring + - state: saphhire_stone_small + - type: CP14SpellStorageRequireAttune + - type: CP14MagicAttuningItem + - type: CP14SpellStorageAccessWearing + - type: CP14SpellStorage + spells: + - CP14ActionSpellIceShards + - type: entity id: CP14ClothingRingFlameCreation parent: CP14ClothingRingBase diff --git a/Resources/Textures/_CP14/Effects/Magic/spells_icons.rsi/ice_shards.png b/Resources/Textures/_CP14/Effects/Magic/spells_icons.rsi/ice_shards.png new file mode 100644 index 0000000000..2320fa61d3 Binary files /dev/null and b/Resources/Textures/_CP14/Effects/Magic/spells_icons.rsi/ice_shards.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 55474e51c7..f7f44dee95 100644 --- a/Resources/Textures/_CP14/Effects/Magic/spells_icons.rsi/meta.json +++ b/Resources/Textures/_CP14/Effects/Magic/spells_icons.rsi/meta.json @@ -19,6 +19,9 @@ { "name": "ice_dagger" }, + { + "name": "ice_shards" + }, { "name": "shadow_step" }, diff --git a/Resources/Textures/_CP14/Objects/Weapons/Melee/Dagger/ice_dagger.rsi/meta.json b/Resources/Textures/_CP14/Objects/Weapons/Melee/Dagger/ice_dagger.rsi/meta.json index 989a213394..c2b6b38608 100644 --- a/Resources/Textures/_CP14/Objects/Weapons/Melee/Dagger/ice_dagger.rsi/meta.json +++ b/Resources/Textures/_CP14/Objects/Weapons/Melee/Dagger/ice_dagger.rsi/meta.json @@ -10,6 +10,9 @@ { "name": "icon" }, + { + "name": "shard" + }, { "name": "inhand-left", "directions": 4 diff --git a/Resources/Textures/_CP14/Objects/Weapons/Melee/Dagger/ice_dagger.rsi/shard.png b/Resources/Textures/_CP14/Objects/Weapons/Melee/Dagger/ice_dagger.rsi/shard.png new file mode 100644 index 0000000000..612d08ea33 Binary files /dev/null and b/Resources/Textures/_CP14/Objects/Weapons/Melee/Dagger/ice_dagger.rsi/shard.png differ