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:
13
Resources/Prototypes/Actions/spells.yml
Normal file
13
Resources/Prototypes/Actions/spells.yml
Normal 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
|
||||
Reference in New Issue
Block a user