- type: entity
+ abstract: true
+ parent: [ BaseItem, BaseMagicalContraband ]
id: BaseSpellbook
name: spellbook
- parent: [ BaseItem, BaseMagicalContraband ]
- abstract: true
components:
- type: Sprite
sprite: Objects/Misc/books.rsi
tags:
- Spellbook
-# For the Wizard Antag
+# For the Wizard antagonist
# Do not add discounts or price inflation
- type: entity
+ parent: [ BaseItem, StorePresetSpellbook, BaseMagicalContraband ]
id: WizardsGrimoire
- name: wizards grimoire
+ name: wizard's grimoire
suffix: Wizard
- parent: [ BaseItem, StorePresetSpellbook, BaseMagicalContraband ]
+ description: A heavy tome containing complicated arcane formulae for preparing magic spells and conjuring supernatural equipment. Decades of study went into researching this collection of mystical secrets; now go use them to ruin someone's day.
components:
- type: Sprite
sprite: Objects/Misc/books.rsi
key: enum.StoreUiKey.Key
- type: Store
refundAllowed: true
- ownerOnly: true # get your own tome!
+ ownerOnly: true # Lesser minds cannot comprehend the arcane secrets within
balance:
WizCoin: 10 # prices are balanced around this 10 point maximum and how strong the spells are
-# Not meant for wizard antag but meant for spawning, so people can't abuse refund if they were given a tome
+# No-refund version meant for manual spawning, so people can't abuse refund if they were given a tome. Not meant for wizard antag proper!
- type: entity
+ parent: WizardsGrimoire
id: WizardsGrimoireNoRefund
- name: wizards grimoire
- suffix: Wizard, No Refund
- parent: [ WizardsGrimoire, StorePresetSpellbook ]
+ suffix: Wizard, no refunding
components:
- type: Store
refundAllowed: false
- ownerOnly: true # get your own tome!
+
+# For debugging purposes only! Or spawn this for an admeme so a wizard can have every spell at once, I can't stop you.
+- type: entity
+ parent: WizardsGrimoire
+ id: WizardsGrimoireDebug
+ suffix: Wizard, DEBUG
+ description: A heavy tome containing complicated arcane formulae for preparing magic spells and conjuring supernatural equipment. Someone wrote "FOR EXPERIMENTAL USE ONLY" on the inside cover.
+ components:
+ - type: Store
+ ownerOnly: false # For ease of debugging.
balance:
- WizCoin: 10 # prices are balanced around this 10 point maximum and how strong the spells are
+ WizCoin: 99999
- type: entity
+ parent: BaseSpellbook
id: SpawnSpellbook
name: spawn spellbook
- parent: BaseSpellbook
components:
- type: Spellbook
spellActions:
ActionSpawnMagicarpSpell: null
- type: entity
+ parent: BaseSpellbook
id: ForceWallSpellbook
name: force wall spellbook
- parent: BaseSpellbook
components:
- type: Sprite
sprite: Objects/Misc/books.rsi
ActionForceWall: null
- type: entity
+ parent: BaseSpellbook
id: BlinkBook
name: blink spellbook
- parent: BaseSpellbook
components:
- type: Sprite
sprite: Objects/Misc/books.rsi
ActionBlink: null
- type: entity
+ parent: BaseSpellbook
id: SmiteBook
name: smite spellbook
- parent: BaseSpellbook
components:
- type: Sprite
sprite: Objects/Misc/books.rsi
ActionSmiteNoReq: null
- type: entity
+ parent: BaseSpellbook
id: KnockSpellbook
name: knock spellbook
- parent: BaseSpellbook
components:
- type: Sprite
sprite: Objects/Misc/books.rsi
ActionKnock: null
- type: entity
+ parent: BaseSpellbook
id: FireballSpellbook
name: fireball spellbook
- parent: BaseSpellbook
components:
- type: Sprite
sprite: Objects/Misc/books.rsi
ActionFireball: null
- type: entity
+ parent: BaseSpellbook
id: ScrollRunes
name: scroll of runes
- parent: BaseSpellbook
components:
- type: Item
size: Normal