: 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" then :if best >= 21 then mon_glyph = player:yellow e :end :elseif skill_name == "Invocations" then :if best < 15 then mon_glyph = player:green e :else mon_glyph = player:lightgreen e :end :elseif skill_name == "Conjurations" then :if best < 27 then mon_glyph = player:blue e :else mon_glyph = player:lightblue e :end :elseif skill_name == "Necromancy" then mon_glyph = player:white e :elseif casting == true then :if best < 21 then mon_glyph = player:magenta e :else mon_glyph = player:lightmagenta e :end :elseif skill_name == "Bows" then mon_glyph = player:lightgrey e :elseif skill_name == "Short Blades" then mon_glyph = player:lightcyan e :elseif melee == true then :if best < 10 then mon_glyph = player:lightred e :else mon_glyph = player:cyan e :end :else mon_glyph = player:red e :end :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 :else mon_glyph = player:lightgrey i :end :end :if you.race() == "Kobold" then show_player_species = false :if skill_name == "Summonings" then mon_glyph = player:magenta 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:red M :elseif best >= 25 then mon_glyph = player:green M :else mon_glyph = player:lightgrey 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