From: keronshb <54602815+keronshb@users.noreply.github.com> Date: Sat, 22 Feb 2025 23:04:42 +0000 (-0500) Subject: Wizard: Smoke Spell (#35403) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=c922b4f843171c7c70119160c1c1a952f51af113;p=space-station-14.git Wizard: Smoke Spell (#35403) * Adds smoke spell for wizard * Adds the actual sprites oops * Removes repulse attract change * Removes change again? --- 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 0000000000..d8635da478 Binary files /dev/null and b/Resources/Textures/Actions/smokeaction.rsi/smokeaction.png differ