-- ONE TABLE PER GROUP ITEM --------------------------------------- spells = { { name = "Skills", desc = "List of skills." }, { name = "Spells", desc = "List of spells." }, { name = "Spells spellup", desc = "List of spellups (buffs)." }, { name = "Spells combat", desc = "List of combat abilities." }, { name = "Affects", desc = "Current affects (buffs) on you." }, } -- end spells movement = { { name = "Areas", desc= "Shows all areas in a level range." }, { name = "Recall", desc= "Returns you to Aylor Grand Temple." }, { name = "Speedwalks", desc= "Available speedwalks." }, { name = "Mobdeaths", desc= "Shows most frequently killed mobs (monsters) " }, { name = "Mobkills", desc= "Shows the mobs that most often kill players. " }, { name = "Areadeaths", desc= "Shows areas with at least one mob killed. " }, { name = "Areakills", desc= "Shows the mobs that most often kill players overall. " }, { name = "Find all", desc= "Shows nearby places of interest in the city. " }, { name = "Bigmap", desc= "Outdoors (not in an area), shows a large map." }, { name = "Look", desc= "Look around current room." }, { name = "Exits", desc= "See room exits." }, } -- end movement todo = { { name = "Goals", desc = "See a list of quests you have open." }, { name = "Quest Info", desc = "Show information about current quest" }, { name = "Train", desc = "Show training costs for each of your stats." }, { name = "Raceinfo", desc = "Show training costs modifiers for your race." }, { name = "Exp", desc = "Experience you have, and need to level up." }, } -- end todo -- Information about you mystuff = { { name = "Score", desc = "Important information about your character." }, { name = "Inventory", desc = "What is in your bags." }, { name = "Equip", desc = "What you are wearing." }, { name = "Hunger", desc = "Hunger and thirst." }, { name = "Config", desc = "Your configuration options." }, { name = "List", desc = "List what is for sale, if at a shop." }, { name = "Worth", desc = "Shows your gold, bank balance, etc." }, { name = "Myrank", desc = "Things you have done." }, } -- end mystuff combat = { { name = "Consider all", desc = "Compare your own strength to others in the room." }, { name = "Scan", desc = "Show characters in the immediate area." }, { name = "Study", desc = "Show health of all characters in the room." }, { name = "Where", desc = "Shows players nearby (or 'WHERE ' to find a mob)." }, { name = "Flee", desc = "Attempt to run away during combat. Costs experience." }, { name = "Wimpy", desc = "Set character to auto flee when low on hit points." }, { name = "Ownedwhere", desc = "Shows items you own, including your corpses." }, { name = "Read page6", desc = "Shows popular low-level areas." }, } -- end combat comms = { { name = "Channels", desc = "See a list of all channels available." }, { name = "Friend", desc = "See your friends." }, { name = "Info", desc = "View/Toggle Game info channels." }, { name = "Quiet", desc = "Temporarily turn channels off/on (toggle)." }, { name = "Socials", desc = "List socials in game." }, { name = "Random", desc = "Use a random social." }, { name = "Forums", desc = "See available message forums." }, { name = "Note", desc = "Read next unread note." }, { name = "Clist", desc = "Show list of clans." }, { name = "Who", desc = "Show who is on Aardwolf." }, { name = "Who helper", desc = "Show players prepared to help you." }, { name = "CatchTells", desc = "Stores all tells sent to you (toggle)." }, { name = "Replay", desc = "Displays all saved/caught tells." }, } -- end comms help = { { name = "Contents", desc = "Show help by category." }, } -- end help -- GROUPS OF HELP -------------------------------------------------------- -- groups of related things - one item per help category groups = { { name = "Spells and skills", list = spells, extrafunc = function () ShowText ("To get spells and skills training, do ") ShowHyperlink ("recall") ShowText (" and then ") ShowHyperlink ("run u6ne") end, extrahelp = { "Train", "Practice", "Learned", "Showspell", "Allspells"}, }, -- end Spells and skills { name = "Movement", list = movement, extrahelp = { "coordinates", "world", "shortmap", "maptags", "explored", "enter" }, }, -- end Movement { name = "To do / improvements", list = todo, extrahelp = { "Eat", "Drink", "Gulp", "Run", "Find", "aq", "Listen", "www", "rules" }, }, -- end To do { name = "Information about you", list = mystuff, extrahelp = { "Appraise", "Identify", "Value", "Buy", "Sell", "Bid", "Auction", "Deposit", "Withdraw", "Experience", "Alignment", "Get", "Drop", "Wear", "Wield", "Hold", "Remove", "Object Flags", "Qp", "Tp", "Newhelp", "Where" }, }, -- end Information { name = "Combat", list = combat, extrafunc = function () ShowText ("To get healed, cured or restored, do ") ShowHyperlink ("recall") ShowText (", ") ShowHyperlink ("run 3e") ShowText (" and then ") ShowHyperlink ("heal") end, extrahelp = { "Healing", "Death", "Cr", "Cast", "Sleep", "Wake", "Group", "pk", "hunt"}, }, -- end Combat { name = "Communications", list = comms, extrahelp = { "Tell", "Reply", "Ignore", "Whois", "Warinfo", "Say", "Emote", "Note", "Subscribe", "Forum", "afk", "deaf", "ignore", "rank" }, }, -- end Communications { name = "Help", list = help, extrafunc = function () ShowText ("Type 'HELP ' for help, 'HELP SEARCH ' to search for a word.") local line1_x = x -- start a new line x = INDENT y = y + font_height ShowText ("Type 'INDEX ' for help on words beginning with x.") x = math.max (x, line1_x) -- make sure we return the maximum width we took return 2 -- we showed 2 lines end, }, -- end Help } -- end groups