Module:Table of backgrounds
Revision as of 10:03, 12 February 2022 by ScriptFactory (talk | contribs) (backgrounds start with spells rather than a book)
Module:Table of backgrounds is a Lua module which contains information used by Module:Background.
This script was created from job-data.h with a text editor.
--Translated from job-data.h using a text editor return { ["Abyssal Knight"] = { name = "Abyssal Knight", abbrev = "AK", stats = { str = 5, int = 2, dex = 5 }, recommended_species = { ["Hill Orc"] = true, ["Palentonga"] = true, ["Troll"] = true, ["Merfolk"] = true, ["Draconian"] = true, ["Demonspawn"] = true, }, library = { }, equipment = { "leather armour" = true, } weapon_choice = Plain, skills = { ["Fighting"] = 3, ["Armour"] = 1, ["Dodging"] = 1, ["Invocations"] = 2 ["Weapon"] = 2, } }, ["Air Elementalist"] = { name = "Air Elementalist", abbrev = "AE", stats = { str = 0, int = 7, dex = 5 }, recommended_species = { ["Deep Elf"] = true, ["Tengu"] = true, ["Draconian"] = true, ["Naga"] = true, ["Vine Stalker"] = true, ["Djinni"] = true, }, library = { ["Shock"] = true, ["Discharge"] = true, ["Swiftness"] = true, ["Airstrike"] = true, }, equipment = { ["robe"] = true, }, weapon_choice = None, skills = { ["Conjurations"] = 1, ["Air Magic"] = 3, ["Spellcasting"] = 2, ["Dodging"] = 2, ["Stealth"] = 2, }, }, ["Arcane Marksman"] = { name = "Arcane Marksman", abbrev = "AM", stats = { str = 2, int = 5, dex = 5 }, recommended_species = { ["Formicid"] = true, ["Deep Elf"] = true, ["Kobold"] = true, ["Spriggan"] = true, ["Troll"] = true, }, library = { ["Slow"] = true, ["Inner Flame"] = true, ["Portal Projectile"] = true, ["Cause Fear"] = true, }, equipment = { ["robe"] = true, }, weapon_choice = Ranged, skills = { ["Fighting"] = 1, ["Dodging"] = 2, ["Spellcasting"] = 1, ["Hexes"] = 3, ["Weapon"] = 2, }, }, ["Artificer"] = { name = "Artificer", abbrev = "Ar", stats = { str = 4, int = 3, dex = 5 }, recommended_species = { ["Deep Dwarf"] = true, ["Kobold"] = true, ["Spriggan"] = true, ["Draconian"] = true, ["Demonspawn"] = true, }, library = { }, equipment = { ["club"] = true, ["leather armour"] = true, ["wand of flame charges:15"] = true, ["wand of charming charges:15"] = true, ["piece from Xom's chessboard"] = true }, weapon_choice = None, skills = { ["Evocations"] = 3, ["Dodging"] = 1, ["Fighting"] = 1, ["Armour"] = 1, ["Stealth"] = 1, }, }, ["Berserker"] = { name = "Berserker", abbrev = "Be", stats = { str = 9, int = -1, dex = 4 }, recommended_species = { ["Hill Orc"] = true, ["Ogre"] = true, ["Merfolk"] = true, ["Minotaur"] = true, ["Gargoyle"] = true, ["Palentonga"] = true, }, library = { }, equipment = { ["animal skin"] = true }, weapon_choice = Plain, skills = { ["Fighting"] = 3, ["Dodging"] = 2, ["Weapon"] = 3, }, }, ["Brigand"] = { name = "Brigand", abbrev = "Br", stats = { str = 3, int = 3, dex = 6 }, recommended_species = { ["Troll"] = true, ["Spriggan"] = true, ["Demonspawn"] = true, ["Vampire"] = true, ["Vine Stalker"] = true, }, library = { }, equipment = { ["dagger plus:2"] = true, ["robe"] = true, ["cloak"] = true, ["dart ego:poisoned q:8"] = true, ["dart ego:curare q:2"] = true }, weapon_choice = None, skills = { ["Fighting"] = 2, ["Dodging"] = 1, ["Stealth"] = 4, ["Throwing"] = 2, ["Weapon"] = 2, }, }, ["Chaos Knight"] = { name = "Chaos Knight", abbrev = "CK", stats = { str = 4, int = 4, dex = 4 }, recommended_species = { ["Hill Orc"] = true, ["Troll"] = true, ["Gnoll"] = true, ["Merfolk"] = true, ["Minotaur"] = true, ["Draconian"] = true, ["Demonspawn"] = true, }, library = { }, equipment = { ["leather armour plus:2"] = true }, weapon_choice = Plain, skills = { ["Fighting"] = 3, ["Armour"] = 1, ["Dodging"] = 1, ["Weapon"] = 3 }, }, ["Cinder Acolyte"] = { name = "Cinder Acolyte", abbrev = "CA", stats = { str = 6, int = 6, dex = 0 }, recommended_species = { ["Hill Orc"] = true, ["Draconian"] = true, ["Ogre"] = true, ["Djinni"] = true, ["Gnoll"] = true, }, library = { ["Scorch"] = true, }, equipment = { ["robe"] = true }, weapon_choice = Plain, skills = { ["Fighting"] = 3, ["Weapon"] = 3, ["Fire Magic"] = 3, ["Spellcasting"] = 1, }, }, ["Conjurer"] = { name = "Conjurer", abbrev = "Cj", stats = { str = -1, int = 10, dex = 3 }, recommended_species = { ["Deep Elf"] = true, ["Naga"] = true, ["Tengu"] = true, ["Draconian"] = true, ["Demigod"] = true, ["Djinni"] = true, }, library = { ["Magic Dart"] = true, ["Searing Ray"] = true, ["Dazzling Flash"] = true, ["Fulminant Prism"] = true, ["Iskenderuns Mystic Blast"] = true, }, equipment = { ["robe"] = true }, weapon_choice = None, skills = { ["Conjurations"] = 4, ["Spellcasting"] = 2, ["Dodging"] = 2, ["Stealth"] = 2, }, }, ["Earth Elementalist"] = { name = "Earth Elementalist", abbrev = "EE", stats = { str = 0, int = 7, dex = 5 }, recommended_species = { ["Deep Elf"] = true, ["Deep Dwarf"] = true, ["Spriggan"] = true, ["Gargoyle"] = true, ["Demigod"] = true, ["Ghoul"] = true, ["Octopode"] = true, }, library = { ["Sandblast"] = true, ["Passwall"] = true, ["Stone Arrow"] = true, ["Petrify"] = true, }, equipment = { ["stone q:30"] = true, "robe", }, weapon_choice = None, skills = { ["Transmutations"] = 1, ["Earth Magic"] = 3, ["Spellcasting"] = 2, ["Dodging"] = 2, ["Stealth"] = 2, } }, ["Enchanter"] = { name = "Enchanter", abbrev = "En", stats = { str = 0, int = 7, dex = 5 }, recommended_species = { ["Deep Elf"] = true, ["Felid"] = true, ["Kobold"] = true, ["Spriggan"] = true, ["Naga"] = true, ["Vampire"] = true, }, library = { ["Hibernation"] = true, ["Confusing Touch"] = true, ["Tukimas Dance"] = true, ["Dazzling Flash"] = true, }, equipment = { ["dagger plus:1"] = true, ["robe"] = true, ["potion of invisibility"] = true }, weapon_choice = None, skills = { ["Weapon"] = 1, ["Hexes"] = 3, ["Spellcasting"] = 2, ["Dodging"] = 2, ["Stealth"] = 3, }, }, ["Fighter"] = { name = "Fighter", abbrev = "Fi", stats = { str = 8, int = 0, dex = 4 }, recommended_species = { ["Deep Dwarf"] = true, ["Hill Orc"] = true, ["Troll"] = true, ["Minotaur"] = true, ["Gargoyle"] = true, ["Palentonga"] = true, }, library = { }, equipment = { ["scale mail"] = true, ["buckler"] = true, ["potion of might"] = true }, weapon_choice = Good, skills = { ["Fighting"] = 3, ["Shields"] = 3, ["Armour"] = 3, ["Weapon"] = 2 }, }, ["Fire Elementalist"] = { name = "Fire Elementalist", abbrev = "FE", stats = { str = 0, int = 7, dex = 5 }, recommended_species = { ["Deep Elf"] = true, ["Hill Orc"] = true, ["Naga"] = true, ["Tengu"] = true, ["Demigod"] = true, ["Gargoyle"] = true, ["Djinni"] = true, }, library = { ["Foxfire"] = true, ["Scorch"] = true, ["Conjure Flame"] = true, ["Inner Flame"] = true, ["Flame Wave"] = true, }, equipment = { ["robe"] = true }, weapon_choice = None, skills = { ["Conjurations"] = 1, ["Fire Magic"] = 3, ["Spellcasting"] = 2, ["Dodging"] = 2, ["Stealth"] = 2, }, }, ["Gladiator"] = { name = "Gladiator", abbrev = "Gl", stats = { str = 6, int = 0, dex = 6 }, recommended_species = { ["Deep Dwarf"] = true, ["Hill Orc"] = true, ["Merfolk"] = true, ["Minotaur"] = true, ["Gargoyle"] = true, ["Gnoll"] = true, }, library = { }, equipment = { ["leather armour"] = true, ["helmet"] = true, ["throwing net q:3"] = true }, weapon_choice = Good, skills = { ["Fighting"] = 2, ["Throwing"] = 2, ["Dodging"] = 3, ["Weapon"] = 3, }, }, ["Hunter"] = { name = "Hunter", abbrev = "Hu", stats = { str = 4, int = 3, dex = 5 }, recommended_species = { ["Hill Orc"] = true, ["Minotaur"] = true, ["Gnoll"] = true, ["Kobold"] = true, ["Ogre"] = true, ["Troll"] = true, }, library = { }, equipment = { ["short sword"] = true, ["leather armour"] = true }, weapon_choice = Ranged, skills = { ["Fighting"] = 2, ["Dodging"] = 2, ["Stealth"] = 1, ["Weapon"] = 4, }, }, ["Ice Elementalist"] = { name = "Ice Elementalist", abbrev = "IE", stats = { str = 0, int = 7, dex = 5 }, recommended_species = { ["Merfolk"] = true, ["Naga"] = true, ["Draconian"] = true, ["Demigod"] = true, ["Gargoyle"] = true, ["Djinni"] = true, }, library = { ["Freeze"] = true, ["Frozen Ramparts"] = true, ["Ozocubus Armour"] = true, ["Hailstorm"] = true, }, equipment = { ["robe"] = true }, weapon_choice = None, skills = { ["Ice Magic"] = 4, ["Spellcasting"] = 2, ["Dodging"] = 2, ["Stealth"] = 2, }, }, ["Delver"] = { name = "Delver", abbrev = "De", stats = { str = 4, int = 2, dex = 6 }, recommended_species = { ["Felid"] = true, ["Spriggan"] = true, ["Kobold"] = true, ["Vampire"] = true, ["Gnoll"] = true, }, library = { }, equipment = { ["leather armour"] = true, ["scroll of fog"] = true, ["scroll of magic mapping"] = true, ["scroll of fear"] = true, ["potion of haste"] = true, ["wand of digging charges:3"] = true }, weapon_choice = Plain, skills = { ["Fighting"] = 3, ["Dodging"] = 2, ["Stealth"] = 5, ["Weapon"] = 2, }, }, ["Monk"] = { name = "Monk", abbrev = "Mo", stats = { str = 3, int = 2, dex = 7 }, recommended_species = { ["Deep Dwarf"] = true, ["Hill Orc"] = true, ["Troll"] = true, ["Palentonga"] = true, ["Merfolk"] = true, ["Gargoyle"] = true, ["Demonspawn"] = true, }, library = { }, equipment = { ["robe"] = true }, weapon_choice = Plain, skills = { ["Fighting"] = 3, ["Weapon"] = 3, ["Dodging"] = 3, ["Stealth"] = 2, }, }, ["Necromancer"] = { name = "Necromancer", abbrev = "Ne", stats = { str = 0, int = 7, dex = 5 }, recommended_species = { ["Deep Elf"] = true, ["Deep Dwarf"] = true, ["Hill Orc"] = true, ["Demonspawn"] = true, ["Mummy"] = true, ["Vampire"] = true, }, library = { ["Pain"] = true, ["Animate Skeleton"] = true, ["Vampiric Draining"] = true, ["Animate Dead"] = true, ["Agony"] = true, }, equipment = { ["robe"] = true }, weapon_choice = None, skills = { ["Spellcasting"] = 2, ["Necromancy"] = 4, ["Dodging"] = 2, ["Stealth"] = 2, }, }, ["Summoner"] = { name = "Summoner", abbrev = "Su", stats = { str = 0, int = 7, dex = 5 }, recommended_species = { ["Deep Elf"] = true, ["Hill Orc"] = true, ["Vine Stalker"] = true, ["Merfolk"] = true, ["Tengu"] = true, ["Vampire"] = true, }, library = { ["Summon Small Mammal"] = true, ["Call Imp"] = true, ["Call Canine Familiar"] = true, ["Summon Guardian Golem"] = true, ["Summon Lightning Spire"] = true, }, equipment = { ["robe"] = true }, weapon_choice = None, skills = { ["Summonings"] = 4, ["Spellcasting"] = 2, ["Dodging"] = 2, ["Stealth"] = 2, }, }, ["Transmuter"] = { name = "Transmuter", abbrev = "Tm", stats = { str = 2, int = 5, dex = 5 }, recommended_species = { ["Naga"] = true, ["Merfolk"] = true, ["Draconian"] = true, ["Demigod"] = true, ["Demonspawn"] = true, ["Troll"] = true, }, library = { ["Beastly Appendage"] = true, ["Wereblood"] = true, ["Spider Form"] = true, ["Ice Form"] = true, }, equipment = { ["robe"] = true }, weapon_choice = None, skills = { ["Fighting"] = 1, ["Unarmed Combat"] = 3, ["Dodging"] = 2, ["Spellcasting"] = 2, ["Transmutations"] = 2, }, }, ["Venom Mage"] = { name = "Venom Mage", abbrev = "VM", stats = { str = 0, int = 7, dex = 5 }, recommended_species = { ["Deep Elf"] = true, ["Spriggan"] = true, ["Naga"] = true, ["Merfolk"] = true, ["Tengu"] = true, ["Djinni"] = true, ["Demonspawn"] = true, }, library = { ["Sting"] = true, ["Poisonous Vapours"] = true, ["Mephitic Cloud"] = true, ["Olgrebs Toxic Radiance"] = true, }, equipment = { ["robe"] = true }, weapon_choice = None, skills = { ["Transmutations"] = 1, ["Poison Magic"] = 3, ["Spellcasting"] = 2, ["Dodging"] = 2, ["Stealth"] = 2, }, }, ["Wanderer"] = { -- Randomised name = "Wanderer", abbrev = "Wn", stats = { str = 0, int = 0, dex = 0 }, recommended_species = { ["Hill Orc"] = true, ["Spriggan"] = true, ["Gnoll"] = true, ["Merfolk"] = true, ["Draconian"] = true, ["Human"] = true, ["Demonspawn"] = true, }, library = { }, equipment = { }, weapon_choice = None, skills = { }, }, ["Warper"] = { name = "Warper", abbrev = "Wr", stats = { str = 3, int = 5, dex = 4 }, recommended_species = { ["Felid"] = true, ["Deep Dwarf"] = true, ["Spriggan"] = true, ["Palentonga"] = true, ["Draconian"] = true, }, library = { ["Blink"] = true, ["Beckoning"] = true, ["Gravitas"] = true, ["Teleport Other"] = true, ["Manifold Assault"] = true, }, equipment = { ["leather armour"] = true, ["scroll of blinking"] = true, ["boomerang ego:dispersal q:5"] = true }, weapon_choice = Plain, skills = { ["Fighting"] = 2, ["Armour"] = 1, ["Dodging"] = 2, ["Spellcasting"] = 2, ["Translocations"] = 3, ["Throwing"] = 1, ["Weapon"] = 2, }, }, ["Wizard"] = { name = "Hedge Wizard", abbrev = "Wz", stats = { str = 2, int = 6, dex = 4 }, recommended_species = { ["Deep Elf"] = true, ["Naga"] = true, ["Draconian"] = true, ["Octopode"] = true, ["Human"] = true, ["Djinni"] = true, }, library = { ["Magic Dart"] = true, ["Blink"] = true, ["Call Imp"] = true, ["Slow"] = true, ["Conjure Flame"] = true, ["Mephitic Cloud"] = true, }, equipment = { ["dagger"] = true, ["robe"] = true, ["hat"] = true }, weapon_choice = None, skills = { ["Dodging"] = 2, ["Stealth"] = 2, ["Spellcasting"] = 3, ["Translocations"] = 1, ["Conjurations"] = 1, ["Summonings"] = 1, }, }, }