From 0da85c76d13f89b19eadec4b91e7d18923c21266 Mon Sep 17 00:00:00 2001 From: Ed Date: Sat, 3 Aug 2024 00:33:14 +0300 Subject: [PATCH] ice shards spell --- .../Entities/Actions/Spells/ice_shards.yml | 63 ++++++++++++++++++ .../_CP14/Entities/Clothing/Rings/ring.yml | 18 +++++ .../Magic/spells_icons.rsi/ice_shards.png | Bin 0 -> 1770 bytes .../Effects/Magic/spells_icons.rsi/meta.json | 3 + .../Melee/Dagger/ice_dagger.rsi/meta.json | 3 + .../Melee/Dagger/ice_dagger.rsi/shard.png | Bin 0 -> 245 bytes 6 files changed, 87 insertions(+) create mode 100644 Resources/Prototypes/_CP14/Entities/Actions/Spells/ice_shards.yml create mode 100644 Resources/Textures/_CP14/Effects/Magic/spells_icons.rsi/ice_shards.png create mode 100644 Resources/Textures/_CP14/Objects/Weapons/Melee/Dagger/ice_dagger.rsi/shard.png 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 0000000000000000000000000000000000000000..2320fa61d36cc4fdb56960bf1f6fc45ec0aada03 GIT binary patch literal 1770 zcmVPx*q)9|UR9J=WSIvuMR}ueJosWCpSHGU_*E8CkP6QJr14%0o}L69 z(1itOaiQw|e)Vyx>HzQM$Y{renJL!lezp8#W(FVEH2hz%KO_Km?FZBXN0W z%u5@yw2`Ha9JjF_MPPGeOx0+VzlrEO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wZxxDjxB}P>%HaE-$?|*JvPf*Lq!65@)K8&#%k}yfXV>2GuHR>7Y8s#YYBaR3fKCAOLZ z1AqgN6SH6T4@5%S%qB1PKKC#rR9`IXd^Rs-+RLdJbf_M5Iezc{!H4FeJqkYnmK0f4 zR7KFtXC)g`O4|mBkpP^9s@Ig9#OT;L!`2#N166%I*43310`k=}Un<7e=lO7T)-*CN zDy{0EZ4^!4IomsR7#(&hRnn9qG2b8Ss$%9+MT3eM03JXFpa*Cc=Ce0H@zA4~zkBUL zl~kyt^Ae-Rx(;k@VSHAy&zgg|#Gih3{giFs!zoZ4&g{Rb$R{CECm`T(pR>#3Rpd`8 z1Y|42N9XTdo7=pz08;=U&3vYkVoV{lDTJs=(hE=Bd3n8+fZ%XvJA<2x=g~rXG_?K# z;PXT*DKr%uJ2%c(#%Haxtw2O21Z_f)SATrrj=;wW9C_a?L645Tg+KzZ1%Q?}qmdLF z5XH`!_4Jz`KJ>8wkIM&p-LepmzIh4m0Zaj`EeXi-q@(lNvrqn8z$XaYDi@x4@m2zi z!w9ul?)CumKLtLL(>9``lmy&-j3fYZw}6l2)R)n*lmK_p>;EbF7t_+(Vzqf0VgLXD M07*qoM6N<$g4?EOq5uE@ literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..612d08ea339ea33f0bff0a1bddf6f0edc3f43214 GIT binary patch literal 245 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdz#^NA%Cx&(BWL^R}>pfi@Ln2y} z6C_v{CulG)UsU>E)3muWi1|)cU*HptE?Ec71veOXd##aRzrt9!I-cK0#6ooKZ~f#< z@6NkVtQn^LinrNgYryBg=J@T-m+}Mq_9?ir0Rd-aXqS%qZAOC+PkuaXEN$pns_Wb! zas5D=vlpW)-vSfHAQrPdzrNKUUY*YzF6sN~hU3b+Q!E+SRtR#XFnhgbWMkuUP6!Y= nsw^FFOGX;#HW33LU|?8Tud|Qo&Dv!^r!#oE`njxgN@xNA`}kAo literal 0 HcmV?d00001