Difference between revisions of "Module:Table of spellbooks"

From CrawlWiki
Jump to: navigation, search
(updated C++ code and then generated for 0.28)
m (Fixed book of the Wilderness flavor text -- the import function must not like the code for changing the description if you can't smell)
Line 492: Line 492:
 
   },
 
   },
 
   ["book of the Wilderness"] = {
 
   ["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. {{[string \"db_embedded_lua\"]:2: attempt to index global 'you' (a nil value)}}",
+
     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",
 
     name = "book of the Wilderness",
 
     spells = {
 
     spells = {

Revision as of 02:20, 1 March 2022

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 (0.29-a0-92-gee772dd00f)
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 Alchemy"] = {
    description = "A book focusing on alchemical processes and their use in magic spells, collecting the wisdom of many ancient alchemists.",
    name = "book of Alchemy",
    spells = {
      "Sublimation of Blood",
      "Petrify",
      "Irradiate"
    },
    value = 280
  },
  ["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 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 = 380
  },
  ["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 = {
      "Fulminant Prism",
      "Iskenderun's Mystic Blast",
      "Lee's Rapid Deconstruction"
    },
    value = 320
  },
  ["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 = {
      "Sublimation of Blood",
      "Wereblood",
      "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 = {
      "Passwall",
      "Ensorcelled Hibernation",
      "Swiftness"
    },
    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 Guardian 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 = {
      "Animate Skeleton",
      "Summon Small Mammal",
      "Apportation"
    },
    value = 120
  },
  ["book of Changes"] = {
    description = "A student's primer to the magic arts of Transmutations, filled with lavish illustrations of spellcasting mistakes: half-wizard-half-spiders, blade noses, beaked tentacles where legs belong. The text is full of reassurances that these almost never happen.",
    name = "book of Changes",
    spells = {
      "Beastly Appendage",
      "Wereblood",
      "Spider Form"
    },
    value = 180
  },
  ["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 Guardian 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 = {
      "Corpse Rot",
      "Dispel Undead",
      "Death Channel"
    },
    value = 300
  },
  ["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",
      "Gell's Gravitas",
      "Teleport Other"
    },
    value = 240
  },
  ["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",
      "Spider Form",
      "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 = {
      "Fireball",
      "Starburst",
      "Ignition"
    },
    value = 440
  },
  ["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 = {
      "Foxfire",
      "Conjure Flame",
      "Inner Flame",
      "Flame Wave"
    },
    value = 300
  },
  ["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"
    },
    value = 180
  },
  ["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 = {
      "Inner Flame",
      "Cause Fear",
      "Discord"
    },
    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 = {
      "Freezing Cloud",
      "Simulacrum",
      "Polar Vortex"
    },
    value = 460
  },
  ["book of Iron"] = {
    description = "An ancient, metal-bound spellbook, covered in dark red blotches. Are they rust stains, or..?",
    name = "book of Iron",
    spells = {
      "Animate Armour",
      "Blade Hands",
      "Iron Shot"
    },
    value = 360
  },
  ["book of Lightning"] = {
    description = "A book that fairly crackles with arcane power.",
    name = "book of Lightning",
    spells = {
      "Static Discharge",
      "Lightning Bolt",
      "Maxwell's Capacitive Coupling"
    },
    value = 360
  },
  ["book of Maledictions"] = {
    description = "A book of Hexes, describing spells to confound and befuddle.",
    name = "book of Maledictions",
    spells = {
      "Tukima's Dance",
      "Anguish",
      "Enfeeble"
    },
    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",
      "Call Imp",
      "Mephitic Cloud"
    },
    value = 180
  },
  ["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 = {
      "Confusing Touch",
      "Yara's Violent Unravelling",
      "Enfeeble"
    },
    value = 360
  },
  ["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 = {
      "Pain",
      "Animate Skeleton",
      "Vampiric Draining"
    },
    value = 160
  },
  ["book of Pain"] = {
    description = "A magical book said to have been written by the demon-queen Ereshkigal, who delights in the painful death of mortals. Some would say that it would be best to consider the book's origin before putting it to use, but wizards are rarely deterred by such concerns.",
    name = "book of Pain",
    spells = {
      "Pain",
      "Agony",
      "Excruciating Wounds"
    },
    value = 280
  },
  ["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",
      "Alistair's Intoxication"
    },
    value = 160
  },
  ["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",
      "Iron Shot",
      "Spellforged Servitor"
    },
    value = 420
  },
  ["book of Rime"] = {
    description = "A frost-gripped tome describing icy spells, somewhat abridged. The Vaults are said to hold the full text, but the guardians of that place guard their treasures jealously.",
    name = "book of Rime",
    spells = {
      "Frozen Ramparts",
      "Ice Form",
      "Summon Ice Beast"
    },
    value = 280
  },
  ["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 = 300
  },
  ["book of Sloth"] = {
    description = "A lazily written book.",
    name = "book of Sloth",
    spells = {
      "Petrify",
      "Metabolic Englaciation",
      "Statue Form"
    },
    value = 360
  },
  ["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",
      "Lesser Beckoning",
      "Manifold Assault"
    },
    value = 260
  },
  ["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",
      "Iskenderun's Mystic Blast",
      "Starburst"
    },
    value = 320
  },
  ["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 = {
      "Airstrike",
      "Summon Lightning Spire",
      "Lightning Bolt"
    },
    value = 320
  },
  ["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",
      "Dragon Form",
      "Dragon's Call"
    },
    value = 460
  },
  ["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",
      "Statue Form"
    },
    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 = {
      "Call Canine Familiar",
      "Portal Projectile",
      "Leda's Liquefaction"
    },
    value = 260
  },
  ["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",
      "Agony",
      "Silence"
    },
    value = 320
  },
  ["book of the Sky"] = {
    description = "A magical book containing powerful elemental spells of Air. The great minotaur hero Vuxhurn, given a copy of this book while trapped atop the tower of a wizard with a particularly perverse sense of humor, used its pages to construct a rudimentary glider and soared to freedom.",
    name = "book of the Sky",
    spells = {
      "Summon Lightning Spire",
      "Storm Form",
      "Maxwell's Capacitive Coupling"
    },
    value = 440
  },
  ["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 = {
      "Iskenderun's Battlesphere",
      "Fireball",
      "Conjure Ball Lightning",
      "Orb of Destruction"
    },
    value = 540
  },
  ["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",
      "Ice Form",
      "Simulacrum"
    },
    value = 340
  },
  ["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 = {
      "Dispersal",
      "Disjunction"
    },
    value = 320
  },
  ["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 = {
      "Static Discharge",
      "Sticky Flame",
      "Dispel Undead"
    },
    value = 260
  },
  ["book of Transfigurations"] = {
    description = "An advanced book of Transmutations spells. Contrary to common wisdom, the book has no ability to move, but it does have a nasty habit of disguising itself as other nearby objects.",
    name = "book of Transfigurations",
    spells = {
      "Irradiate",
      "Blade Hands",
      "Dragon Form"
    },
    value = 400
  },
  ["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 = {
      "Poisonous Vapours",
      "Corpse Rot"
    },
    value = 120
  },
  ["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 = {
      "Portal Projectile",
      "Excruciating Wounds",
      "Blade Hands"
    },
    value = 320
  },
  ["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",
      "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 = {
      "Conjure Flame",
      "Ignite Poison",
      "Sticky Flame"
    },
    value = 260
  },
  ["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
  },
  ["Inescapable Atlas"] = {
    description = "A collection of maps, with accompanying descriptions of spells that can bring the user to each place. Most copies are locked up, chained down, or otherwise restrained, as the book has a habit of otherwise following its owner wherever they go.",
    name = "Inescapable Atlas",
    spells = {
      "Blink",
      "Manifold Assault",
      "Storm Form"
    },
    value = 340
  },
  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 = {
      "Borgnjor's Revivification",
      "Necromutation",
      "Death's Door"
    },
    value = 560
  },
  ["Ozocubu's Autobiography"] = {
    description = "An astonishingly vain and self-aggrandizing work. The author claims credit for a wide swathe of magical inventions, but seems to have misunderstood or misrepresented most of them. Only a few of the spells described in the book actually work.",
    name = "Ozocubu's Autobiography",
    spells = {
      "Ozocubu's Armour",
      "Ozocubu's Refrigeration"
    },
    value = 240
  },
  ["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",
      "Ignition"
    },
    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 = {
      "Gell's Gravitas",
      "Teleport Other",
      "Dispersal"
    },
    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",
      "Mephitic Cloud",
      "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",
      "Poisonous Vapours",
      "Olgreb's Toxic Radiance"
    },
    value = 200
  }
}