From c922b4f843171c7c70119160c1c1a952f51af113 Mon Sep 17 00:00:00 2001 From: keronshb <54602815+keronshb@users.noreply.github.com> Date: Sat, 22 Feb 2025 18:04:42 -0500 Subject: [PATCH] Wizard: Smoke Spell (#35403) * Adds smoke spell for wizard * Adds the actual sprites oops * Removes repulse attract change * Removes change again? --- .../Locale/en-US/store/spellbook-catalog.ftl | 3 +++ .../Prototypes/Catalog/spellbook_catalog.yml | 13 +++++++++++++ .../Entities/Effects/chemistry_effects.yml | 9 +++++++++ Resources/Prototypes/Magic/smoke_spell.yml | 14 ++++++++++++++ .../Textures/Actions/smokeaction.rsi/meta.json | 14 ++++++++++++++ .../Actions/smokeaction.rsi/smokeaction.png | Bin 0 -> 1049 bytes 6 files changed, 53 insertions(+) create mode 100644 Resources/Prototypes/Magic/smoke_spell.yml create mode 100644 Resources/Textures/Actions/smokeaction.rsi/meta.json create mode 100644 Resources/Textures/Actions/smokeaction.rsi/smokeaction.png diff --git a/Resources/Locale/en-US/store/spellbook-catalog.ftl b/Resources/Locale/en-US/store/spellbook-catalog.ftl index 982f0491ed..fef4061996 100644 --- a/Resources/Locale/en-US/store/spellbook-catalog.ftl +++ b/Resources/Locale/en-US/store/spellbook-catalog.ftl @@ -14,6 +14,9 @@ spellbook-force-wall-desc = Make three walls of pure force that you can pass thr spellbook-repulse-name = Repulse spellbook-repulse-desc = Tell people to GITTAH`WEIGH and push 'em away from you. +spellbook-smoke-name = Smoke +spellbook-smoke-desc = Summons a cloud of smoke, it's pretty obvious. + spellbook-polymorph-spider-name = Spider Polymorph spellbook-polymorph-spider-desc = Transforms you into a spider, man! diff --git a/Resources/Prototypes/Catalog/spellbook_catalog.yml b/Resources/Prototypes/Catalog/spellbook_catalog.yml index 3fcddc4c7c..81ce664cda 100644 --- a/Resources/Prototypes/Catalog/spellbook_catalog.yml +++ b/Resources/Prototypes/Catalog/spellbook_catalog.yml @@ -92,6 +92,19 @@ - !type:ListingLimitedStockCondition stock: 1 +- type: listing + id: SpellbookSmoke + name: spellbook-smoke-name + description: spellbook-smoke-desc + productAction: ActionSmoke + cost: + WizCoin: 1 + categories: + - SpellbookDefensive + conditions: + - !type:ListingLimitedStockCondition + stock: 1 + # Utility - type: listing id: SpellbookPolymorphSpider diff --git a/Resources/Prototypes/Entities/Effects/chemistry_effects.yml b/Resources/Prototypes/Entities/Effects/chemistry_effects.yml index 8784ed77ce..d31a900236 100644 --- a/Resources/Prototypes/Entities/Effects/chemistry_effects.yml +++ b/Resources/Prototypes/Entities/Effects/chemistry_effects.yml @@ -48,6 +48,15 @@ tags: - HideContextMenu +- type: entity + parent: Smoke + id: WizardSmoke + name: smoke + categories: [ HideSpawnMenu ] + components: + - type: Smoke + spreadAmount: 5 + - type: entity parent: BaseFoam id: Foam diff --git a/Resources/Prototypes/Magic/smoke_spell.yml b/Resources/Prototypes/Magic/smoke_spell.yml new file mode 100644 index 0000000000..5c28606136 --- /dev/null +++ b/Resources/Prototypes/Magic/smoke_spell.yml @@ -0,0 +1,14 @@ +- type: entity + id: ActionSmoke + name: Smoke + description: Summons smoke around the user. + components: + - type: InstantAction + useDelay: 10 + itemIconStyle: BigAction + icon: + sprite: Actions/smokeaction.rsi + state: smokeaction + event: !type:InstantSpawnSpellEvent + prototype: WizardSmoke + posData: !type:TargetInFront diff --git a/Resources/Textures/Actions/smokeaction.rsi/meta.json b/Resources/Textures/Actions/smokeaction.rsi/meta.json new file mode 100644 index 0000000000..781286170f --- /dev/null +++ b/Resources/Textures/Actions/smokeaction.rsi/meta.json @@ -0,0 +1,14 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "Taken from https://github.com/discordia-space/CEV-Eris/blob/81b3a082ccdfb425f36bbed6e5bc1f0faed346ec/icons/effects/chemsmoke.dmi modified by keronshb", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "smokeaction" + } + ] +} diff --git a/Resources/Textures/Actions/smokeaction.rsi/smokeaction.png b/Resources/Textures/Actions/smokeaction.rsi/smokeaction.png new file mode 100644 index 0000000000000000000000000000000000000000..d8635da47860bad905535c2b26cbd25ff62b9222 GIT binary patch literal 1049 zcmV+!1m^pRP)@qRbB{+vwEK7DTz=nA%O`T7wW;?U=DoIF?s445=RH4DjATqk&ZI0`Po1rg zG0vR0$B>dW&N=nj@_jw=Jfl6&(9{&L1cc%MxW)hwAAsn$khLQL$fBh@&)#FZe?x2( z0|^FYX}zqQZnee&1cS_{t_48WxZ)5SYjc7S@*%6;1t>42xkvhT5C@8Le*(_)$v~6u zm(^0_Xv6&O)(xY5__}~$d48w-%jAW0&IE8`sc2jR<-4iP`COZ|?(?F5Q+^qHrPvId zU5n=)JlgQ#H&^B~+T5_Hud^1gB^*F~qkADGpg=B)=MKV{y7*?#7Pzp;`f_{5T9?ul z0}8O=hr-f~;FGmi0+mowbJ{o`k&_H)qW{wRt$!RHwldvRb>^Pm&?-Pf^kWTxr_R=1 zzyRVNf7_GZ6o=N$%I1RH+C8OYIld)b)1r?WU~;ko9){*OgFlm_d(hx(QRN^$f>5zh zpjE68PE33hB7uv=yNXb5>_oEwKyy*4RKs!?TnriO!{`Ro3hJTimTp$8UAfi~Mh)15 zNsrg~KP8uq?Tz}u+2hUYa$9fj z8&)7$fVq_vsTEve!PCtzGU@?9mk5ziml3w~%^L4~GEhnx^edfgtGzr$=5m(^e7K9P z?nHJ(B_uv8UTuPQtf#a&{l*$hc=W?yYn#hD3mU6LGS~iIDpMc`J{0BmHwG0D%FX z%AEg~hALY7aV5JCcxfp3?De(PHrw_zpf{r&-D+{;-a7Ea??$jUFgruNT7E|Ti za=$~!lK3{RQf#T{6>k-zcyGKA6QmmMsGD^TiCX6(#w(Wj;v(DI37?*_sSnK}*dO!&l TUl6q100000NkvXXu0mjfvxW2c literal 0 HcmV?d00001 -- 2.51.2