Module:Table of spellbooks

From CrawlWiki
Jump to: navigation, search

Module:Table of spellbooks is a Lua module which contains information used by Module:Spellbook. If you want to add new Lua functions to process this page, write them in Module:Spellbook.

To generate this script, see https://github.com/jkornelsen/crawl-wiki-modules. Or, update it by hand.

Note: the value of a book is simply 20 * (sum of spell levels of spells in book + number of spells in book). See item_value() in shopping.cc for more info.


-- Table of spell books (originally generated in 0.29.1, now up-to-date for 0.31 except possibly descriptions)
return {
  ["book of Air"] = {
    description = "A primer on the elemental magics of Air. Particularly dedicated students have found themselves convinced of their own ability to fly, with tragic results.",
    name = "book of Air",
    spells = {
      "Shock",
      "Swiftness",
      "Airstrike"
    },
    value = 220
  },
  ["book of Annihilations"] = {
    description = "A tome of arcane fury, greatly sought after by sorcerers. It allows the gifted and resourceful to conjure destruction with ease.",
    name = "book of Annihilations",
    spells = {
      "Chain Lightning",
      "Fire Storm",
      "Shatter"
    },
    value = 600
  },
  ["book of Armaments"] = {
    description = "A book describing various magical arms and armours. It was written in the midst of a particularly bloody civil war, and the text is made substantially less helpful by its author's frequent digressions describing the crimes committed by the other side.",
    name = "book of Armaments",
    spells = {
      "Stone Arrow",
      "Animate Armour",
      "Lehudib's Crystal Spear"
    },
    value = 360
  },
  ["book of Battle"] = {
    description = "An astonishingly vain and self-aggrandizing work. The author claims credit for a wide swathe of weapon-augmenting magics, but seems to have misunderstood or misrepresented most of them. Only a few of the spells described in the book actually work.",
    name = "book of Battle",
    spells = {
      "Fugue of the Fallen",
      "Ozocubu's Armour",
      "Manifold Assault"
    },
    value = 260
  },
  ["book of Beasts"] = {
    description = "A book of spells focused on the summoning of beasts. Its pages nip at careless readers' fingers.",
    name = "book of Beasts",
    spells = {
      "Summon Ice Beast",
      "Summon Mana Viper",
      "Monstrous Menagerie"
    },
    value = 360
  },
  ["book of Blasting"] = {
    description = "A book of spells used to set off powerful explosions. This edition's binder was careful to pad the cover, so that if its reader lacked sufficient caution, the book, at least, would survive.",
    name = "book of Blasting",
    spells = {
      "Volatile Blastmotes",
      "Fulminant Prism",
      "Iskenderun's Mystic Blast"
    },
    value = 280
  },
  ["book of Blood"] = {
    description = "A book of works dedicated to the manipulation of blood, both that of the caster and of creatures with particularly unusual ichor flowing through their veins. Some claim it to have been composed by the vampire lord Jory, but it's unclear why he would deign to share his secrets with others.",
    name = "book of Blood",
    spells = {
      "Call Imp",
      "Sublimation of Blood",
      "Summon Hydra"
    },
    value = 280
  },
  ["book of Burglary"] = {
    description = "A book containing spells useful for theft, breaking and entering, and other miscellaneous larceny.",
    name = "book of Burglary",
    spells = {
      "Ensorcelled Hibernation",
      "Swiftness",
      "Passwall"
    },
    value = 200
  },
  ["book of Callings"] = {
    description = "An introductory text on the magical summoning of beasts and beings from other realms.",
    name = "book of Callings",
    spells = {
      "Summon Small Mammal",
      "Call Canine Familiar",
      "Summon Blazeheart Golem"
    },
    value = 200
  },
  ["book of Cantrips"] = {
    description = "A book containing a small selection of very basic magic spells, intended for beginners who wish to learn the rudiments of one of the featured magical schools.",
    name = "book of Cantrips",
    spells = {
      "Sting",
      "Summon Small Mammal",
      "Apportation"
    },
    value = 160
  },
  ["book of Chaos"] = {
    description = "A book of spells that leave the caster's surroundings in a state of complete disarray. It's not clear why anyone would write such a thing, but it's here.",
    name = "book of Chaos",
    spells = {
      "Conjure Ball Lightning",
      "Disjunction",
      "Discord"
    },
    value = 500
  },
  ["book of Conjurations"] = {
    description = "A book containing an introduction to the destructive magical arts of Conjurations.",
    name = "book of Conjurations",
    spells = {
      "Magic Dart",
      "Searing Ray",
      "Fulminant Prism"
    },
    value = 200
  },
  ["book of Dangerous Friends"] = {
    description = "A book describing the creation and use of magical entities best kept at arm's reach. Or, preferably, even farther.",
    name = "book of Dangerous Friends",
    spells = {
      "Summon Blazeheart Golem",
      "Orb of Destruction",
      "Spellforged Servitor"
    },
    value = 400
  },
  ["book of Death"] = {
    description = "A manuscript containing dark spells of Necromancy. Each page is filled with grotesque art depicting scenes of disgusting decay.",
    name = "book of Death",
    spells = {
      "Animate Dead",
      "Haunt",
      "Infestation"
    },
    value = 440
  },
  ["book of Debilitation"] = {
    description = "A spellbook containing spells known for having a particularly unpleasant effect on their victims. It's considered something of a faux pas in the wizarding community to be seen with this book in one's collection.",
    name = "book of Debilitation",
    spells = {
      "Slow",
      "Vampiric Draining",
      "Confusing Touch"
    },
    value = 200
  },
  ["book of Decay"] = {
    description = "A book of necromancy, dictated by the god Kikubaaqudgha to an unfortunate apostle across the course of a nine-day fugue. The necromancer is said to have finished the dread work with their own life's blood... but of course this is just a copy, written in almost entirely normal ink.",
    name = "book of Decay",
    spells = {
      "Dispel Undead",
      "Martyr's Knell",
      "Death Channel"
    },
    value = 400
  },
  ["book of Displacement"] = {
    description = "A book of spells to bring others closer, or sometimes farther, depending on the user's whim.",
    name = "book of Displacement",
    spells = {
      "Lesser Beckoning",
      "Teleport Other"
    },
    value = 220
  },
  ["book of Dreams"] = {
    description = "The somniloquent utterings of a famed mystic, using uniquely bizarre imagery and cryptic digressions to describe spells drawn from the mystic's visions.",
    name = "book of Dreams",
    spells = {
      "Ensorcelled Hibernation",
      "Fugue of the Fallen",
      "Anguish"
    },
    value = 240
  },
  ["book of Fire"] = {
    description = "A book containing advanced spells in the elemental school of Fire, stolen from the secret college of the djinn.",
    name = "book of Fire",
    spells = {
      "Foxfire",
      "Plasma Beam",
      "Starburst",
    },
    value = 420
  },
  ["book of Flames"] = {
    description = "The standard text used in arcane academies by students of the elemental magic of Fire. Readers are recommended to wear a pair of insulated gloves.",
    name = "book of Flames",
    spells = {
      "Inner Flame",
      "Sticky Flame",
      "Flame Wave"
    },
    value = 280
  },
  ["book of Frost"] = {
    description = "A book of magic spells, often used as an introduction to the elemental magics of Ice. Its pages feel unusually brittle, as if they'd crumble at a touch.",
    name = "book of Frost",
    spells = {
      "Freeze",
      "Frozen Ramparts",
      "Hailstorm"
    },
    value = 220
  },
  ["book of Geomancy"] = {
    description = "A book containing basic spells involving the element of Earth. Readers are recommended to wear a pair of gardening gloves.",
    name = "book of Geomancy",
    spells = {
      "Sandblast",
      "Passwall",
      "Stone Arrow",
      "Brom's Barrelling Boulder"
    },
    value = 300
  },
  ["book of Hexes"] = {
    description = "A spellbook containing an assortment of powerful Hexes, which sparkles and shimmers as the pages are flipped.",
    name = "book of Hexes",
    spells = {
      "Anguish",
      "Cause Fear",
      "Enfeeble"
    },
    value = 360
  },
  ["book of Ice"] = {
    description = "A book of advanced magical spells using the element of Ice. Readers are recommended to wear a pair of warm gloves.",
    name = "book of Ice",
    spells = {
      "Sculpt Simulacrum",
      "Ozocubu's Refrigeration",
      "Polar Vortex"
    },
    value = 500
  },
  ["book of Iron"] = {
    description = "An ancient, metal-bound spellbook, covered in dark red blotches. Are they rust stains, or..?",
    name = "book of Iron",
    spells = {
      "Summon Lightning Spire",
      "Animate Armour",
      "Lee's Rapid Deconstruction"
    },
    value = 320
  },
  ["book of Lightning"] = {
    description = "A book that fairly crackles with arcane power.",
    name = "book of Lightning",
    spells = {
      "Vhi's Electric Charge",
      "Arcjolt",
      "Plasma Beam"
    },
    value = 340
  },
  ["book of Minor Magic"] = {
    description = "A spellbook containing a variety of simple but useful magical incantations. Many prominent spellcasters used this book to begin their arcane studies.",
    name = "book of Minor Magic",
    spells = {
      "Magic Dart",
      "Blink",
      "Call Imp"
    },
    value = 160
  },
  ["book of Misfortune"] = {
    description = "A spellbook dedicated to the art of inflicting creative calamities on one's foes. Superstitious wizards claim that the book itself actually absorbs ill fortune and carry it around as a talisman, but the effects of this seem subtle at best.",
    name = "book of Misfortune",
    spells = {
      "Jinxbite",
      "Yara's Violent Unravelling",
      "Enfeeble"
    },
    value = 320
  },
  ["book of Necromancy"] = {
    description = "A macabre book containing basic Necromancy spells. Readers are recommended to wear a pair of gloves they don't mind disposing of afterward.",
    name = "book of Necromancy",
    spells = {
      "Vampiric Draining",
      "Martyr's Knell",
      "Curse of Agony"
    },
    value = 340
  },
  ["book of Party Tricks"] = {
    description = "A book containing a variety of fun spells guaranteed to liven up any wizarding party, as well as a number of toasts, jokes, and party games.",
    name = "book of Party Tricks",
    spells = {
      "Apportation",
      "Jinxbite",
      "Alistair's Intoxication"
    },
    value = 220
  },
  ["book of Power"] = {
    description = "A book of powerful and destructive magic spells, rumbling and shuddering with barely-contained energies.",
    name = "book of Power",
    spells = {
      "Iskenderun's Battlesphere",
      "Bombard",
      "Spellforged Servitor"
    },
    value = 420
  },
  ["book of Scorching"] = {
    description = "A magical book, blasted and scoured by long exposure to the desert sun. Upon its badly-weathered pages lie the secrets to inflicting the desert's dangers upon the caster's foes.",
    name = "book of Scorching",
    spells = {
      "Scorch",
      "Flame Wave",
      "Summon Cactus Giant"
    },
    value = 420
  },
  ["book of Sloth"] = {
    description = "A lazily written book.",
    name = "book of Sloth",
    spells = {
      "Frozen Ramparts",
      "Leda's Liquefaction",
      "Petrify",
      "Metabolic Englaciation"
    },
    value = 400
  },
  ["book of Spatial Translocations"] = {
    description = "A basic spellbook on the magical field of Translocations. Many would-be mages have seen it disappear just as they needed it most.",
    name = "book of Spatial Translocations",
    spells = {
      "Blink",
      "Momentum Strike",
      "Lesser Beckoning"
    },
    value = 180
  },
  ["book of Spectacle"] = {
    description = "A book covered in glittering sequins. An impromptu lightshow bursts from every page, clearly reserving this book for only the tackiest of wizards.",
    name = "book of Spectacle",
    spells = {
      "Dazzling Flash",
      "Starburst",
      "Fulsome Fusillade"
    },
    value = 400
  },
  ["book of Spontaneous Combustion"] = {
    description = "A heavy tome whose desiccated pages smell faintly of sulfer. The ink with which it was written is wildly flammable and care must be taken even opening it, but the power of the spells described therein is undeniable.",
    name = "book of Spontaneous Combustion",
    spells = {
      "Inner Flame",
      "Irradiate",
      "Ignition"
    },
    value = 420
  },
  ["book of Storms"] = {
    description = "A book written by the magician Lan Shi, who was preoccupied with the study and control of natural phenomena. Most of Shi's works have been lost, but those still remaining are treasured by wizards lucky (or unscrupulous) enough to get their hands on a copy.",
    name = "book of Storms",
    spells = {
      "Static Discharge",
      "Airstrike",
      "Summon Lightning Spire"
    },
    value = 260
  },
  ["book of the Dragon"] = {
    description = "A magical book of spells which allow some command over dragons and their aspects.",
    name = "book of the Dragon",
    spells = {
      "Cause Fear",
      "Fireball",
      "Dragon's Call"
    },
    value = 420
  },
  ["book of the Earth"] = {
    description = "A guide to drawing immense power from the depths of the earth. The original was written as a collaboration between the hill dwarves and the mountain dwarves, but its compilation was cut short when a massive wave of earthquakes plunged their civilizations into ruin.",
    name = "book of the Earth",
    spells = {
      "Leda's Liquefaction",
      "Lee's Rapid Deconstruction",
      "Bombard", 
      "Permafrost Eruption" 
    },
    value = 360
  },
  ["book of the Hunter"] = {
    description = "A mundane book on hunting. Someone has gone through and covered the book in corrections and scathing criticisms, crossing out entire sections in favor of spells that accomplish the same task.",
    name = "book of the Hunter",
    spells = {
      "Sigil of Binding",
      "Call Canine Familiar",
      "Dimensional Bullseye"
    },
    value = 240
  },
  ["book of the Moon"] = {
    description = "A book written by a mad wizard, who had become convinced that the moon far above was composed, not of shining light, but of rock as solid as that beneath one's feet. Many of the pages have been mangled beyond recognition, seemingly shredded by a pair of powerful claws... but what would a troll be doing with a spellbook?",
    name = "book of the Moon",
    spells = {
      "Passage of Golubria",
      "Silence",
      "Lehudib's Crystal Spear"
    },
    value = 400
  },
  ["book of the Senses"] = {
    description = "A scholarly work, describing the senses used by living creatures to perceive the world around them. A handful of spells are included to demonstrate the principles being described.",
    name = "book of the Senses",
    spells = {
      "Dazzling Flash",
      "Mephitic Cloud",
      "Curse of Agony",
      "Silence"
    },
    value = 400
  },
  ["book of the Spheres"] = {
    description = "A book containing a comprehensive, well-rounded collection of sphere-related spells. Its final pages begin to describe a spell titled 'Summon Orb of Zot', but sadly, the remainder of the book has been completely vaporised.",
    name = "book of the Spheres",
    spells = {
      "Brom's Barrelling Boulder",
      "Iskenderun's Battlesphere",
      "Fireball",
      "Conjure Ball Lightning",
      "Orb of Destruction"
    },
    value = 640
  },
  ["book of the Tundra"] = {
    description = "A book written by peoples of a cold and inhospitable realm. It's exceptionally large, but that's because many thick furs hang from its spine. Most of the remaining pages are devoted to long, proud descriptions of how those furs were taken. Some of these stories include relevant spells, generally as an aside.",
    name = "book of the Tundra",
    spells = {
      "Hailstorm",
      "Summon Ice Beast",
      "Sculpt Simulacrum",
      "Permafrost Eruption" 
    },
    value = 320
  },
  ["book of the Warp"] = {
    description = "A book of advanced Translocations spells, written by a particularly misanthropic mage. After its completion, they were never seen again, which may or may not have been the point.",
    name = "book of the Warp",
    spells = {
      "Manifold Assault",
      "Dispersal",
      "Disjunction",
      "Gell's Gavotte"
    },
    value = 560
  },
  ["book of the Wilderness"] = {
    description = "A book holding lore ripped from distant and untamed lands, allowing their denizens to be called forth to serve the reader. It smells distressingly musty.",
    name = "book of the Wilderness",
    spells = {
      "Summon Forest",
      "Summon Mana Viper",
      "Summon Cactus Giant"
    },
    value = 380
  },
  ["book of Touch"] = {
    description = "A book describing spells requiring very close proximity to their target. The author seems to have had a low opinion of their wizardly peers, and spends much of the text describing the hygiene and social etiquette needed to enter close proximity to other sentient beings.",
    name = "book of Touch",
    spells = {
      "Kiss of Death",
      "Confusing Touch",
      "Dispel Undead"
    },
    value = 300
  },
  ["book of Transmutation"] = {
    description = "A meticulous compendium of research notes, filled with formulae for decomposing and reconstituting all manner of substances. The author appears to have had a strange obsession with becoming a spider, but even if their ultimate aim eluded them, many of the spells detailed therein are nonetheless quite practical.",
    name = "book of Transmutation",
    spells = {
      "Sublimation of Blood",
      "Petrify",
      "Irradiate"
    },
    value = 280
  },
  ["book of Unlife"] = {
    description = "An unholy book describing a variety of magical methods for the creation and command of undead servants.",
    name = "book of Unlife",
    spells = {
      "Animate Dead",
      "Borgnjor's Vile Clutch",
      "Death Channel"
    },
    value = 360
  },
  ["book of Vapours"] = {
    description = "A book of magic spells for creating an assortment of clouds, vapours and mists. It is difficult to read, as the text is frequently interrupted by descriptions of unusually-shaped clouds the author spotted while writing.",
    name = "book of Vapours",
    spells = {
      "Mercury Vapours",
      "Mephitic Cloud",
      "Freezing Cloud"
    },
    value = 260
  },
  ["book of Weapons"] = {
    description = "A book of spells used by rebels against an ancient and evil empire. The rebels were crushed, but this book was rediscovered years later, found by paladins of the crusade that finally destroyed the empire and slew its immortal twin sovereigns.",
    name = "book of Weapons",
    spells = {
      "Tukima's Dance",
      "Dimensional Bullseye",
      "Iskenderun's Mystic Blast"
    },
    value = 280
  },
  ["book of Winter"] = {
    description = "A book of spells written by the sorceress Ellawe, who sought to use her time productively while trapped inside by particularly harsh weather for over six months. A postscript details the bloody vengeance she took after discovering the weather mage responsible.",
    name = "book of Winter",
    spells = {
      "Ozocubu's Armour",
      "Metabolic Englaciation",
      "Sculpt Simulacrum"
    },
    value = 340
  },
  ["Everburning Encyclopedia"] = {
    description = "A book of magical spells, meticulously organized, dense, and almost entirely burnt black. Only a few pages are still legible, but the power within still blasts the reader with a furnace-like heat.",
    name = "Everburning Encyclopedia",
    spells = {
      "Ignite Poison",
      "Sticky Flame",
      "Ignition"
    },
    value = 380
  },
  ["Fen Folio"] = {
    description = "A collection of spells once used by the great swamp civilizations.",
    name = "Fen Folio",
    spells = {
      "Summon Forest",
      "Eringya's Noxious Bog",
      "Summon Hydra"
    },
    value = 420
  },
  ["Grand Grimoire"] = {
    description = "A book describing how the mighty among summoners can bend to their will the terrible things from betwixt the planes. Many have been the unwary souls, however, who have toyed with this tome and been driven mad by unimaginable eldritch horrors.",
    name = "Grand Grimoire",
    spells = {
      "Malign Gateway",
      "Summon Horrible Things"
    },
    value = 340
  },
  ["Great Wizards, Vol. II"] = {
    description = "A collection of spells from great wizards throughout history. The author seems to have been extremely enthusiastic, and each wizard is described in voluminous, comprehensive detail.",
    name = "Great Wizards, Vol. II",
    spells = {
      "Alistair's Intoxication",
      "Borgnjor's Vile Clutch",
      "Eringya's Noxious Bog"
    },
    value = 380
  },
  ["Great Wizards, Vol. VII"] = {
    description = "A collection of spells from great wizards throughout history. The author seems to have been quite tired of their project - the wizards' descriptions are terse and minimal, meeting the lowest requirement for completeness.",
    name = "Great Wizards, Vol. VII",
    spells = {
      "Tukima's Dance",
      "Passage of Golubria",
      "Yara's Violent Unravelling"
    },
    value = 300
  },
 ["Maxwell's Memoranda"] = {
    description = "A loosely bound collection of the infamous Maxwell's schemes, diagrams, and plans. Amidst messages written to and by his many minions, allies of convenience and hated rivals, a patient reader can discover spells of electrifying power.",
    name = "Maxwell's Memoranda",
    spells = {
      "Vhi's Electric Charge",
      "Arcjolt",
      "Maxwell's Capacitive Coupling",
    },
    value = 400
   },
  Necronomicon = {
    description = "An extremely rare book, powerful and sinister. Many foolhardy magicians have tried to study this tome, only to find themselves entangled within necromantic forces they could not hope to control.",
    name = "Necronomicon",
    spells = {
      "Haunt",
      "Borgnjor's Revivification",
      "Death's Door"
    },
    value = 540
  },
  ["the Unrestrained Analects"] = {
    description = "A collection of spells that assault everything in sight of the caster, unrestrained by petty limitations like 'needing a clear shot' or 'concern about collateral damage'.",
    name = "the Unrestrained Analects",
    spells = {
      "Olgreb's Toxic Radiance",
      "Ozocubu's Refrigeration",
      "Discord"
    },
    value = 440
  },
  ["There-And-Back Book"] = {
    description = "A compilation of children's stories about great adventures, always ending with the traveller returning to the place they started. The love infused into its pages by countless generations has granted it power, allowing a skilled mage to transport others by reciting specific passages.",
    name = "There-And-Back Book",
    spells = {
      "Teleport Other",
      "Dispersal",
      "Gell's Gavotte"
    },
    value = 300
  },
  ["Trismegistus Codex"] = {
    description = "A magical book written by a numerologically obsessed wizard. Everything from sentence length to overall organization is structured. It's unclear whether the author thought this was helpful.",
    name = "Trismegistus Codex",
    spells = {
      "Ignite Poison",
      "Freezing Cloud"
    },
    value = 280
  },
  ["Young Poisoner's Handbook"] = {
    description = "An introductory book for the magic arts of poison. Readers are recommended to wear a pair of very thick, non-absorbent gloves.",
    name = "Young Poisoner's Handbook",
    spells = {
      "Sting",
      "Mercury Vapours",
      "Olgreb's Toxic Radiance"
    },
    value = 200
  }
}