# Credit for most of this lua goes to 78291. I'll try to keep it updated. # Pls follow and maybe consider subscribing to twitch.tv/ninth_settler # : if you.race() == "Demonspawn" then mon_glyph = demonspawn : ➏ : end :best = you.skill("Fighting") :skill_name = "Fighting" :melee = true :casting = false :if you.skill("Short Blades") > best then :best = you.skill("Short Blades") :skill_name = "Short Blades" :end :if you.skill("Long Blades") > best then :best = you.skill("Long Blades") :skill_name = "Long Blades" :end :if you.skill("Axes") > best then :best = you.skill("Axes") :skill_name = "Axes" :end :if you.skill("Maces & Flails") > best then :best = you.skill("Maces & Flails") :skill_name = "Maces & Flails" :end :if you.skill("Polearms") > best then :best = you.skill("Polearms") :skill_name = "Polearms" :end :if you.skill("Staves") > best then :best = you.skill("Staves") :skill_name = "Staves" :end :if you.skill("Slings") > best then :best = you.skill("Slings") :skill_name = "Slings" :end :if you.skill("Bows") > best then :best = you.skill("Bows") :skill_name = "Bows" :end :if you.skill("Crossbows") > best then :best = you.skill("Crossbows") :skill_name = "Crossbows" :end :if you.skill("Throwing") > best then :best = you.skill("Throwing") :skill_name = "Throwing" :end :if you.skill("Armour") > best then :best = you.skill("Armour") :skill_name = "Armour" :end :if you.skill("Dodging") > best then :best = you.skill("Dodging") :skill_name = "Dodging" :end :if you.skill("Stealth") > best then :best = you.skill("Stealth") :skill_name = "Stealth" :melee = false :end :if you.skill("Stabbing") > best then :best = you.skill("Stabbing") :skill_name = "Stabbing" :melee = false :end :if you.skill("Shields") > best then :best = you.skill("Shields") :skill_name = "Shields" :end :if you.skill("Traps & Doors") > best then :best = you.skill("Traps & Doors") :skill_name = "Traps & Doors" :melee = false :end :if you.skill("Unarmed Combat") > best then :best = you.skill("Unarmed Combat") :skill_name = "Unarmed Combat" :end :if you.skill("Spellcasting") > best then :best = you.skill("Spellcasting") :skill_name = "Spellcasting" :melee = false :casting = true :end :if you.skill("Conjurations") > best then :best = you.skill("Conjurations") :skill_name = "Conjurations" :melee = false :casting = true :end :if you.skill("Charms") > best then :best = you.skill("Charms") :skill_name = "Charms" :melee = false :casting = true :end :if you.skill("Hexes") > best then :best = you.skill("Hexes") :skill_name = "Hexes" :melee = false :casting = true :end :if you.skill("Summonings") > best then :best = you.skill("Summonings") :skill_name = "Summonings" :melee = false :casting = true :end :if you.skill("Necromancy") > best then :best = you.skill("Necromancy") :skill_name = "Necromancy" :melee = false :casting = true :end :if you.skill("Translocations") > best then :best = you.skill("Translocations") :skill_name = "Translocations" :melee = false :casting = true :end :if you.skill("Transmutations") > best then :best = you.skill("Transmutations") :skill_name = "Transmutations" :melee = false :casting = true :end :if you.skill("Fire Magic") > best then :best = you.skill("Fire Magic") :skill_name = "Fire Magic" :melee = false :casting = true :end :if you.skill("Ice Magic") > best then :best = you.skill("Ice Magic") :skill_name = "Ice Magic" :melee = false :casting = true :end :if you.skill("Air Magic") > best then :best = you.skill("Air Magic") :skill_name = "Air Magic" :melee = false :casting = true :end :if you.skill("Earth Magic") > best then :best = you.skill("Earth Magic") :skill_name = "Earth Magic" :melee = false :casting = true :end :if you.skill("Poison Magic") > best then :best = you.skill("Poison Magic") :skill_name = "Poison Magic" :melee = false :casting = true :end :if you.skill("Invocations") > best then :best = you.skill("Invocations") :skill_name = "Invocations" :melee = false :end :if you.skill("Evocations") > best then :best = you.skill("Evocations") :skill_name = "Evocations" :melee = false :end :if you.race() == "Deep Elf" then show_player_species = false :if skill_name == "Summonings" and best >= 21 then mon_glyph = player:yellow e :end :elseif skill_name == "Ice Magic" then mon_glyph = player:cyan e :elseif skill_name == "Fire Magic" then mon_glyph = player:red e :elseif skill_name == "Invocations" and best > 15 then mon_glyph = player:lightgreen e :elseif skill_name == "Conjurations" and best >= 15 then mon_glyph = player:lightblue e :elseif skill_name == "Necromancy" then mon_glyph = player:white e :elseif casting == true and best < 21 then mon_glyph = player:magenta e :elseif casting == true and best > 21 then mon_glyph = player:lightmagenta e :elseif skill_name == "Bows" then mon_glyph = player:lightgrey e :elseif skill_name == "Short Blades" then mon_glyph = player:lightcyan e :else mon_glyph = player:grey e :end :if you.race() == "Merfolk" then show_player_species = false :if skill_name == "Throwing" then mon_glyph = player:lightgrey m :elseif skill_name == "Ice Magic" then mon_glyph = player:green m :elseif skill_name == "Polearms" and best >= 15 then mon_glyph = player:yellow m :else mon_glyph = player:red m :end :end :if you.race() == "Hill Orc" then show_player_species = false :if you.god() == "Beogh" then show_player_species = true :elseif melee == true then :if best >= 10 and best < 15 then mon_glyph = player:yellow o :elseif best >= 15 and best < 20 then mon_glyph = player:cyan o :elseif best >= 20 then mon_glyph = player:lightcyan o :end :elseif casting == true then :if best >= 15 then mon_glyph = player:lightmagenta o :else mon_glyph = player:magenta o :end :else mon_glyph = player:lightred o :end :end :if you.race() == "Deep Dwarf" then show_player_species = false :if you.god() == "Yredelemnul" then mon_glyph = player:green g :elseif you.god() == "Trog" then mon_glyph = player:lightred g :elseif skill_name == "Evocations" then mon_glyph = player:blue g :elseif skill_name == "Necromancy" then mon_glyph = player:magenta g :else mon_glyph = player:brown g :end :end :if you.race() == "Naga" then show_player_species = false :if melee == true and best >= 15 then mon_glyph = player:blue N :elseif casting == true then :if best >= 15 then mon_glyph = player:lightmagenta N :else mon_glyph = player:magenta N :end :else mon_glyph = player:green N :end :end :if you.race() == "Spriggan" then show_player_species = false :if you.god() == "Trog" then mon_glyph = player:lightred i :end :elseif skill_name == "Air Magic" then mon_glyph = player:lightcyan i :elseif skill_name == "Invocations" then mon_glyph = player:green i :elseif melee == true and best >= 15 then mon_glyph = player:yellow i :else mon_glyph = player:grey i :end :if you.race() == "Kobold" then show_player_species = false :if skill_name == "Summonings" then mon_glyph = player:magenta K :elseif melee == true and best >= 15 then mon_glyph = player:yellow K :else mon_glyph = player: brown K :end :end :if you.race() == "Mummy" then show_player_species = false :if skill_name == "Invocations" then mon_glyph = player:lightgreen M :else mon_glyph = player:lightblue M :end :end :if you.race() == "Vampire" then show_player_species = false :if melee == true and best >= 15 then mon_glyph = player:lightcyan V :elseif casting == true and best >= 15 then mon_glyph = player:magenta V :else mon_glyph = player:red V :end :end :if you.race() == "Gargoyle" then show_player_species = false :if skill_name == "Fire Magic" then mon_glyph = player:red 9 :elseif skill_name == "Earth Magic" then mon_glyph = player:cyan 9 :else mon_glyph = player:grey 9 :end :end :if you.race() == "Gnoll" then show_player_species = false :if melee == true and best >= 15 then mon_glyph = player:cyan g :elseif skill_name == "Invocations" then mon_glyph = player:white g :else mon_glyph = player:yellow g :end :end :if you.race() == "Vine Stalker" then show_player_species = false :if casting == true and best >= 14 then mon_glyph = player:orange f :elseif skill_name == "Bows" and best >= 14 or skill_name == "Crossbows" and :best >= 10 or skill_name == "Slings" and best >= 12 or skill_name == :"Throwing" and best >= 4 then mon_glyph = player:lightgray f :else mon_glyph = player:green f :end :end :if you.race() == "Barachi" then show_player_species = false :if skill_name == "Polearms" then mon_glyph = player:gray F :elseif skill_name == "Translocations" then mon_glyph = player:lightgreen F :elseif skill_name == "Poison Magic" then mon_glyph = player:yellow F :else mon_glyph = player:lightcyan F :end :end :if you.race() == "Troll" then show_player_species = false :if skill_name == "Unarmed Combat" and best >= 10 and best < 15 then mon_glyph = player:yellow T :elseif best >= 16 then mon_glyph = player:cyan T :if skill_name == "Invocations" then mon_glyph = player:white T :elseif skill_name "Earth Magic" then mon_glyph = player:magenta T :end :end :end