Give Item spell (#4241)

* Cherry-picked summonspell

* Renamed the script for clarity

* Fixed Spell type error in yaml

* Fixed Sound issues and increased the cooldown

* Newline

* Major script change

* Fixed Namespace

* Validation fixed, TryGet replaced

* Typo again

* Allowed for proper localisation

* Typo fixed

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>

* Adressed changes

* Review cleanup

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
DmitriyRubetskoy
2021-07-01 14:26:44 +03:00
committed by GitHub
parent 427ed72754
commit 5469f8c8b2
4 changed files with 92 additions and 2 deletions

View File

@@ -0,0 +1,13 @@
- type: action
actionType: SpellPie
icon: Objects/Consumable/Food/Baked/pie.rsi/plain.png
name: "Pie"
filters:
- spells
description: "Give me a pie, I dare you!"
behaviorType: Instant
behavior: !type:GiveItemSpell
spellItem: FoodPieBananaCream
castMessage: I NEED A PIE!
cooldown: 15
castSound: /Audio/Items/bikehorn.ogg