diff --git a/Resources/Locale/en-US/magic/spells-actions.ftl b/Resources/Locale/en-US/magic/spells-actions.ftl index 8368770507..d45dd34726 100644 --- a/Resources/Locale/en-US/magic/spells-actions.ftl +++ b/Resources/Locale/en-US/magic/spells-actions.ftl @@ -1,6 +1,15 @@ action-name-spell-rune-flash = Flash Rune action-description-spell-rune-flash = Summons a rune that flashes if used. +action-name-spell-rune-explosion = Explosion Rune +action-description-spell-rune-explosion = Summons a rune that explodes if used. + +action-name-spell-rune-ignite = Ignite Rune +action-description-spell-rune-ignite = Summons a rune that ignites if used. + +action-name-spell-rune-stun = Stun Rune +action-description-spell-rune-stun = Summons a rune that stuns if used. + action-name-spell-forcewall = Forcewall action-description-spell-forcewall = Creates a magical barrier. action-speech-spell-forcewall = TARCOL MINTI ZHERI diff --git a/Resources/Prototypes/Entities/Objects/Magic/books.yml b/Resources/Prototypes/Entities/Objects/Magic/books.yml index 67333112e2..7b4dc5d535 100644 --- a/Resources/Prototypes/Entities/Objects/Magic/books.yml +++ b/Resources/Prototypes/Entities/Objects/Magic/books.yml @@ -91,3 +91,20 @@ - type: Spellbook worldSpells: Fireball: -1 + +- type: entity + id: ScrollRunes + name: scroll of runes + parent: BaseSpellbook + components: + - type: Sprite + netsync: false + sprite: Objects/Magic/magicactions.rsi + layers: + - state: spell_default + - type: Spellbook + instantSpells: + FlashRune: -1 + ExplosionRune: -1 + IgniteRune: -1 + StunRune: -1 \ No newline at end of file diff --git a/Resources/Prototypes/Magic/rune_spells.yml b/Resources/Prototypes/Magic/rune_spells.yml index 35d74c7007..4583390c9c 100644 --- a/Resources/Prototypes/Magic/rune_spells.yml +++ b/Resources/Prototypes/Magic/rune_spells.yml @@ -9,3 +9,39 @@ state: spell_default serverEvent: !type:InstantSpawnSpellEvent prototype: FlashRune + +- type: instantAction + id: ExplosionRune + name: action-name-spell-rune-explosion + description: action-description-spell-rune-explosion + useDelay: 20 + itemIconStyle: BigAction + icon: + sprite: Objects/Magic/magicactions.rsi + state: spell_default + serverEvent: !type:InstantSpawnSpellEvent + prototype: ExplosionRune + +- type: instantAction + id: IgniteRune + name: action-name-spell-rune-ignite + description: action-description-spell-rune-ignite + useDelay: 15 + itemIconStyle: BigAction + icon: + sprite: Objects/Magic/magicactions.rsi + state: spell_default + serverEvent: !type:InstantSpawnSpellEvent + prototype: IgniteRune + +- type: instantAction + id: StunRune + name: action-name-spell-rune-stun + description: action-description-spell-rune-stun + useDelay: 10 + itemIconStyle: BigAction + icon: + sprite: Objects/Magic/magicactions.rsi + state: spell_default + serverEvent: !type:InstantSpawnSpellEvent + prototype: StunRune