Menus["help player"] = { text = color.Orange .. "Player command list:\n" .. color.Yellow .. "/message \n" .. color.White .. "Send a private message to a player " .. color.Yellow .. "(/msg)\n" .. color.Yellow .. "/me \n" .. color.White .. "Send a message written in the third person\n" .. color.Yellow .. "/local \n" .. color.White .. "Send a message that only players in your area can read " .. color.Yellow .. "(/l)\n" .. color.Yellow .. "/list\n" .. color.White .. "List all players on the server\n" .. color.Yellow .. "/anim \n" .. color.White .. "Play an animation on yourself, with a list of valid inputs being provided " .. "if you use an invalid one " .. color.Yellow .. "(/a)\n" .. color.Yellow .. "/speech \n" .. color.White .. "Play a certain speech on yourself, with a list of valid inputs being provided " .. "if you use invalid ones " .. color.Yellow .. "(/s)\n" .. color.Yellow .. "/craft\n" .. color.White .. "Open up a small crafting menu used as a scripting example\n" .. color.Yellow .. "/help\n" .. color.White .. "Get the list of available commands", buttons = { { caption = "Admin help", displayConditions = { menuHelper.conditions.requireStaffRank(2) }, destinations = { menuHelper.destinations.setDefault("help admin page 1") } }, { caption = "Moderator help", displayConditions = { menuHelper.conditions.requireStaffRank(1) }, destinations = { menuHelper.destinations.setDefault("help moderator page 1") } }, { caption = "Exit", destinations = nil } } } -- Handle commands that only exist based on config options if config.allowSuicideCommand == true then Menus["help player"].text = Menus["help player"].text .. "\n" .. color.Yellow .. "/suicide\n" .. color.White .. "Commit suicide" end if config.allowFixmeCommand == true then Menus["help player"].text = Menus["help player"].text .. "\n" .. color.Yellow .. "/fixme\n" .. color.White .. "Get unstuck from your current location; can only be used once every " .. config.fixmeInterval .. " seconds" end Menus["help moderator page 1"] = { text = color.Orange .. "Moderator command list page 1:\n" .. color.Yellow .. "/kick \n" .. color.White .. "Kick player\n" .. color.Yellow .. "/ban ip \n" .. color.White .. "Ban an IP address\n" .. color.Yellow .. "/ban name \n" .. color.White .. "Ban a player and all IP addresses stored for them\n" .. color.Yellow .. "/ban \n" .. color.White .. "Same as above, but using a pid as the argument\n" .. color.Yellow .. "/unban ip \n" .. color.White .. "Unban an IP address\n" .. color.Yellow .. "/unban name \n" .. color.White .. "Unban a player name and all IP addresses stored for them\n" .. color.Yellow .. "/banlist ips/names\n" .. color.White .. "Print all banned IPs or all banned player names\n" .. color.Yellow .. "/ipaddresses \n" .. color.White .. "Print all the IP addresses used by a player " .. color.Yellow .. "(/ips)\n" .. color.Yellow .. "/confiscate \n" .. color.White .. "Open up a window where you can confiscate an item from a player\n" .. color.Yellow .. "/sethour \n" .. color.White .. "Set the current hour in the world's time\n" .. color.Yellow .. "/setday \n" .. color.White .. "Set the current day of the month in the world's time\n" .. color.Yellow .. "/setmonth \n" .. color.White .. "Set the current month in the world's time\n" .. color.Yellow .. "/settimescale \n" .. color.White .. "Set the timescale in the world's time (30 by default, which is 120 real seconds " .. "per ingame hour)\n", buttons = { { caption = "Moderator help page 2", displayConditions = { menuHelper.conditions.requireStaffRank(1) }, destinations = { menuHelper.destinations.setDefault("help moderator page 2") } }, { caption = "Admin help", displayConditions = { menuHelper.conditions.requireStaffRank(2) }, destinations = { menuHelper.destinations.setDefault("help admin page 1") } }, { caption = "Player help", destinations = { menuHelper.destinations.setDefault("help player") } }, { caption = "Exit", destinations = nil } } } Menus["help moderator page 2"] = { text = color.Orange .. "Moderator command list page 2:\n" .. color.Yellow .. "/teleport /all\n" .. color.White .. "Teleport another player to your position " .. color.Yellow .. "(/tp)\n" .. color.Yellow .. "/teleportto \n" .. color.White .. "Teleport yourself to another player " .. color.Yellow .. "(/tpto)\n" .. color.Yellow .. "/cells\n" .. color.White .. "List all loaded cells on the server\n" .. color.Yellow .. "/getpos \n" .. color.White .. "Get player position and cell\n" .. color.Yellow .. "/setattr \n" .. color.White .. "Set a player's attribute to a certain value\n" .. color.Yellow .. "/setskill \n" .. color.White .. "Set a player's skill to a certain value\n" .. color.Yellow .. "/setmomentum \n" .. color.White .. "Set a player's momentum to certain values\n" .. color.Yellow .. "/setauthority \n" .. color.White .. "Forcibly set a certain player as the authority of a cell " .. color.Yellow .. "(/setauth)\n" .. color.Yellow .. "/advancedexample\n" .. color.White .. "Display an example of an advanced menu using menuHelper " .. color.Yellow .. "(/advex)", buttons = { { caption = "Moderator help page 1", displayConditions = { menuHelper.conditions.requireStaffRank(1) }, destinations = { menuHelper.destinations.setDefault("help moderator page 1") } }, { caption = "Admin help", displayConditions = { menuHelper.conditions.requireStaffRank(2) }, destinations = { menuHelper.destinations.setDefault("help admin page 1") } }, { caption = "Player help", destinations = { menuHelper.destinations.setDefault("help player") } }, { caption = "Exit", destinations = nil } } } Menus["help admin page 1"] = { text = color.Orange .. "Admin command list page 1:\n" .. color.Yellow .. "/setai activate/combat/follow /\n" .. color.White .. "Make the actor with a certain uniqueIndex target a player or another uniqueIndex\n" .. color.Yellow .. "/setai cancel\n" .. color.White .. "Make the actor with a certain uniqueIndex cancel its AI sequence\n" .. color.Yellow .. "/setai travel \n" .. color.White .. "Make the actor with a certain uniqueIndex travel to certain X, Y and Z coordinates\n" .. color.Yellow .. "/setai wander true/false\n" .. color.White .. "Make the actor with a certain uniqueIndex wander for the specified distance and duration, with repetition being true or false\n" .. color.Yellow .. "/setrace \n" .. color.White .. "Change a player's race\n" .. color.Yellow .. "/sethead \n" .. color.White .. "Change a player's head\n" .. color.Yellow .. "/sethair \n" .. color.White .. "Change a player's hairstyle\n" .. color.Yellow .. "/disguise \n" .. color.White .. "Set a player's creature disguise, or remove it by using an invalid refId\n" .. color.Yellow .. "/usecreaturename on/off\n" .. color.White .. "Set whether a player disguised as a creature shows up as having that creature's " .. "name when hovered over\n" .. color.Yellow .. "/addmoderator \n" .. color.White .. "Promote player to moderator\n" .. color.Yellow .. "/removemoderator \n" .. color.White .. "Demote player from moderator\n" .. color.Yellow .. "/setdifficulty /default\n" .. color.White .. "Set the difficulty for a particular player\n" .. color.Yellow .. "/setconsole on/off/default\n" .. color.White .. "Enable/disable in-game console for player\n", buttons = { { caption = "Admin help page 2", displayConditions = { menuHelper.conditions.requireStaffRank(2) }, destinations = { menuHelper.destinations.setDefault("help admin page 2") } }, { caption = "Custom record help", displayConditions = { menuHelper.conditions.requireStaffRank(2) }, destinations = { menuHelper.destinations.setDefault("help record origin") } }, { caption = "Moderator help", displayConditions = { menuHelper.conditions.requireStaffRank(1) }, destinations = { menuHelper.destinations.setDefault("help moderator page 1") } }, { caption = "Player help", destinations = { menuHelper.destinations.setDefault("help player") } }, { caption = "Exit", destinations = nil } } } Menus["help admin page 2"] = { text = color.Orange .. "Admin command list page 2:\n" .. color.Yellow .. "/setbedrest on/off/default\n" .. color.White .. "Enable/disable bed resting for player\n" .. color.Yellow .. "/setwildrest on/off/default\n" .. color.White .. "Enable/disable wilderness resting for player\n" .. color.Yellow .. "/setwait on/off/default\n" .. color.White .. "Enable/disable waiting for player\n" .. color.Yellow .. "/setscale \n" .. color.White .. "Sets a player's scale\n" .. color.Yellow .. "/setwerewolf on/off\n" .. color.White .. "Set the werewolf state of a particular player\n" .. color.Yellow .. "/storeconsole \n" .. color.White .. "Store a certain console command for a player\n" .. color.Yellow .. "/runconsole () ()\n" .. color.White .. "Run a stored console command on a player, with optional count and interval\n" .. color.Yellow .. "/placeat \n" .. color.White .. "Place a certain non-living object at a player's location\n" .. color.Yellow .. "/spawnat \n" .. color.White .. "Spawn a certain creature or NPC at a player's location\n" .. color.Yellow .. "/storerecord \n" .. color.White .. "Store a setting value for a custom record in your player data before creating it;" .. "check the help page for custom records for more information\n" .. color.Yellow .. "/createrecord \n" .. color.White .. "Create a custom record based on what is stored for that record type in your player " .. "data\n" .. color.Yellow .. "/setloglevel /default\n" .. color.White .. "Set the enforced log level for a particular player\n" .. color.Yellow .. "/setphysicsfps /default\n" .. color.White .. "Set the physics framerate for a particular player\n" .. color.Yellow .. "/setcollision on/off\n" .. color.White .. "Set the collision state for an object category (PLAYER, ACTOR or PLACED_OBJECT), " .. "with the third optional argument affecting whether placed objects use actor-like collision\n" .. color.Yellow .. "/overridecollision on/off\n" .. color.White .. "Turn a collision-enabling override on and off for a specific refId until the " .. " next server restart", buttons = { { caption = "Admin help page 1", displayConditions = { menuHelper.conditions.requireStaffRank(2) }, destinations = { menuHelper.destinations.setDefault("help admin page 1") } }, { caption = "Custom record help", displayConditions = { menuHelper.conditions.requireStaffRank(2) }, destinations = { menuHelper.destinations.setDefault("help record origin") } }, { caption = "Moderator help", displayConditions = { menuHelper.conditions.requireStaffRank(1) }, destinations = { menuHelper.destinations.setDefault("help moderator page 1") } }, { caption = "Player help", destinations = { menuHelper.destinations.setDefault("help player") } }, { caption = "Exit", destinations = nil } } } Menus["help record origin"] = { text = color.White .. "To create a record, you first fill in its values using this command:\n" .. color.Yellow .. "/storerecord \n" .. color.White .. "To see the values you've filled in for a certain type of record, use this:\n" .. color.Yellow .. "/storerecord print\n" .. color.White .. "To clear the values you've filled in, use this:\n" .. color.Yellow .. "/storerecord clear\n" .. color.White .. "As of now, you can use the following for the " .. color.Yellow .. "" .. color.White .. " argument:\n" .. color.Yellow .. tableHelper.concatenateTableIndexes(config.validRecordSettings, ", ") .. "\n" .. color.White .. "To see what you can use for the " .. color.Yellow .. "" .. color.White .. " argument, simply put in an invalid setting and the valid ones will be displayed for that record " .. "type.\nOnce you've filled in the various settings, use this command to create your record:\n" .. color.Yellow .. "/createrecord \n\n" .. color.White .. "Your record can be:\n" .. color.Yellow .. "1) " .. color.White .. "A record created entirely from scratch, when not " .. "setting a baseId for it and either not setting an id for it or setting an unused one\n" .. color.Yellow .. "2) " .. color.White .. "A record that uses an existing record's values as " .. "its starting values without modifying anything in that existing record, when setting a ".. "baseId for it and either not setting an id for it or setting an unused one\n" .. color.Yellow .. "3) " .. color.White .. "A record created from scratch that replaces an " .. "existing record in the game, when not setting a baseId and setting an id that " .. "is already used in the game\n" .. color.Yellow .. "4) " .. color.White .. "A record that uses an existing record's values as " .. "its starting values and replaces an existing record, when setting both a baseId for it " .. "and an id that is already used in the game, with the baseId and id potentially " .. "being the same if you want to replace an existing record with a modified version of itself\n", buttons = { { caption = "Back to admin help", displayConditions = { menuHelper.conditions.requireStaffRank(2) }, destinations = { menuHelper.destinations.setDefault("help admin page 1") } }, { caption = "Examples of record creation", destinations = { menuHelper.destinations.setDefault("help record examples") } }, { caption = "Exit", destinations = nil } } } Menus["help record examples"] = { text = color.White .. "Pick one of the following examples.", buttons = { { caption = "Create a new NPC entirely from scratch", destinations = { menuHelper.destinations.setDefault("help record example npc 1") } }, { caption = "Create a new NPC using another as a starting point", destinations = { menuHelper.destinations.setDefault("help record example npc 2") } }, { caption = "Replace an existing NPC with one created from scratch", destinations = { menuHelper.destinations.setDefault("help record example npc 3") } }, { caption = "Replace an existing NPC with a modified version of itself", destinations = { menuHelper.destinations.setDefault("help record example npc 4") } }, { caption = "Replace an existing creature with another existing creature", destinations = { menuHelper.destinations.setDefault("help record example creature 1") } }, { caption = "Create a new enchantment entirely from scratch", destinations = { menuHelper.destinations.setDefault("help record example enchantment 1") } }, { caption = "Create a new armor item entirely from scratch", destinations = { menuHelper.destinations.setDefault("help record example armor 1") } }, { caption = "Create a new book entirely from scratch", destinations = { menuHelper.destinations.setDefault("help record example book 1") } }, { caption = "Create a new clothing item entirely from scratch", destinations = { menuHelper.destinations.setDefault("help record example clothing 1") } }, { caption = "Create a new miscellaneous item entirely from scratch", destinations = { menuHelper.destinations.setDefault("help record example miscellaneous 1") } }, { caption = "Create a new weapon entirely from scratch", destinations = { menuHelper.destinations.setDefault("help record example weapon 1") } }, { caption = "Back to record introduction", destinations = { menuHelper.destinations.setDefault("help record origin") } }, { caption = "Exit", destinations = nil } } } Menus["help record example npc 1"] = { text = color.White .. "Use the following commands to create a custom NPC record entirely from scratch:\n" .. color.Yellow .. "/storerecord npc clear\n" .. color.Yellow .. "/storerecord npc name \n" .. color.Yellow .. "/storerecord npc gender male/female\n" .. color.Yellow .. "/storerecord npc race \n" .. color.Yellow .. "/storerecord npc head \n" .. color.Yellow .. "/storerecord npc hair \n" .. color.Yellow .. "/storerecord npc class \n\n" .. color.Yellow .. "/storerecord npc level \n\n" .. color.Yellow .. "/storerecord npc add item \n\n" .. color.White .. "When you're done, type in:\n" .. color.Yellow .. "/createrecord npc\n\n" .. color.White .. "Example series of commands:\n" .. color.Yellow .. "/storerecord npc clear\n" .. color.Yellow .. "/storerecord npc name Eldaen\n" .. color.Yellow .. "/storerecord npc gender male\n" .. color.Yellow .. "/storerecord npc race high elf\n" .. color.Yellow .. "/storerecord npc head b_n_high elf_m_head_05\n" .. color.Yellow .. "/storerecord npc hair b_n_high elf_m_hair_04\n" .. color.Yellow .. "/storerecord npc class battlemage\n" .. color.Yellow .. "/storerecord npc level 20\n" .. color.Yellow .. "/storerecord npc add item extravagant_shirt_01, 1\n\n" .. color.Yellow .. "/storerecord npc add item extravagant_pants_01, 1\n\n" .. color.Yellow .. "/storerecord npc add item extravagant_shoes_01, 1\n\n" .. color.Yellow .. "/createrecord npc", buttons = { { caption = "Back to examples page", destinations = { menuHelper.destinations.setDefault("help record examples") } }, { caption = "Exit", destinations = nil } } } Menus["help record example npc 2"] = { text = color.White .. "Use the following commands to start creating a custom NPC record based on an existing one:\n" .. color.Yellow .. "/storerecord npc clear\n" .. color.Yellow .. "/storerecord npc baseId \n" .. color.White .. "Next, put in what you want to be different for this NPC compared to the original. For " .. "instance, suppose you want to have female Imperial Guards separately from the male Imperial Guards. " .. "Here's a series of commands for that:\n" .. color.Yellow .. "/storerecord npc clear\n" .. color.Yellow .. "/storerecord npc baseId imperial guard\n" .. color.Yellow .. "/storerecord npc gender female\n" .. color.Yellow .. "/storerecord npc head b_n_imperial_f_head_01\n" .. color.Yellow .. "/storerecord npc hair b_n_imperial_f_hair_03\n" .. color.Yellow .. "/createrecord npc", buttons = { { caption = "Back to examples page", destinations = { menuHelper.destinations.setDefault("help record examples") } }, { caption = "Exit", destinations = nil } } } Menus["help record example npc 3"] = { text = color.White .. "To replace an existing NPC record with an entirely new one, get the id of your " .. "existing NPC and put it in:\n" .. color.Yellow .. "/storerecord npc clear\n" .. color.Yellow .. "/storerecord npc id \n" .. color.White .. "Next, set up the details of your NPC like you normally would. For instance, suppose you " .. "want to replace Teleri Helvi (from Seyda Neen) with the Argonian Im-Leet. Here's a series of " .. "commands for that:\n" .. color.Yellow .. "/storerecord npc clear\n" .. color.Yellow .. "/storerecord npc id teleri helvi\n" .. color.Yellow .. "/storerecord npc name Im-Leet\n" .. color.Yellow .. "/storerecord npc gender male\n" .. color.Yellow .. "/storerecord npc race argonian\n" .. color.Yellow .. "/storerecord npc head b_n_argonian_m_head_03\n" .. color.Yellow .. "/storerecord npc hair b_n_argonian_m_hair05\n" .. color.Yellow .. "/storerecord npc class knight\n" .. color.Yellow .. "/storerecord npc add item glass_greaves, 1\n\n" .. color.Yellow .. "/createrecord npc", buttons = { { caption = "Back to examples page", destinations = { menuHelper.destinations.setDefault("help record examples") } }, { caption = "Exit", destinations = nil } } } Menus["help record example npc 4"] = { text = color.White .. "To replace an existing NPC record with a modified version of itself, get the id of " .. "your existing NPC and put it in as both the id and baseId:\n" .. color.Yellow .. "/storerecord npc clear\n" .. color.Yellow .. "/storerecord npc id \n" .. color.Yellow .. "/storerecord npc baseId \n" .. color.White .. "Next, set up what should be different compared to the original record. For instance, suppose " .. "you want to turn Fargoth into a Guard who chases down law-breakers while wearing the equipment typical " .. "of an Imperial Guard. Here's a series of commands for that:\n" .. color.Yellow .. "/storerecord npc clear\n" .. color.Yellow .. "/storerecord npc id fargoth\n" .. color.Yellow .. "/storerecord npc baseId fargoth\n" .. color.Yellow .. "/storerecord npc class guard\n" .. color.Yellow .. "/storerecord npc inventoryBaseId imperial guard\n" .. color.Yellow .. "/createrecord npc", buttons = { { caption = "Back to examples page", destinations = { menuHelper.destinations.setDefault("help record examples") } }, { caption = "Exit", destinations = nil } } } Menus["help record example creature 1"] = { text = color.White .. "To replace an existing creature record with another existing creature, set the id of " .. "the creature you want to replace:\n" .. color.Yellow .. "/storerecord creature clear\n" .. color.Yellow .. "/storerecord creature id \n" .. color.White .. "Then use the id of the creature you want to replace it with as the baseId:\n" .. color.Yellow .. "/storerecord creature baseId \n" .. color.White .. "When you're done, type in:\n" .. color.Yellow .. "/createrecord creature\n\n" .. color.White .. "For example, suppose you want to replace the Mudcrab Merchant with a regular Mudcrab, " .. "to throw players off. You can do that using this series of commands:\n" .. color.Yellow .. "/storerecord creature clear\n" .. color.Yellow .. "/storerecord creature id mudcrab_unique\n" .. color.Yellow .. "/storerecord creature baseId mudcrab\n" .. color.Yellow .. "/createrecord creature", buttons = { { caption = "Back to examples page", destinations = { menuHelper.destinations.setDefault("help record examples") } }, { caption = "Exit", destinations = nil } } } Menus["help record example enchantment 1"] = { text = color.White .. "Use the following commands to create a custom enchantment record entirely from scratch:\n" .. color.Yellow .. "/storerecord enchantment clear\n" .. color.Yellow .. "/storerecord enchantment subtype \n" .. color.Yellow .. "/storerecord enchantment cost \n" .. color.Yellow .. "/storerecord enchantment charge \n" .. color.Yellow .. "/storerecord enchantment add effect , , , , , " .. ", , \n" .. color.White .. "When you're done, type in:\n" .. color.Yellow .. "/createrecord enchantment\n\n" .. color.White .. "Example series of commands:\n" .. color.Yellow .. "/storerecord enchantment clear\n" .. color.Yellow .. "/storerecord enchantment subtype 1\n" .. color.Yellow .. "/storerecord enchantment cost 30\n" .. color.Yellow .. "/storerecord enchantment charge 400\n" .. color.Yellow .. "/storerecord enchantment add effect 14, 2, 5, 5, 20, 50, -1, -1\n" .. color.Yellow .. "/createrecord enchantment", buttons = { { caption = "Back to examples page", destinations = { menuHelper.destinations.setDefault("help record examples") } }, { caption = "Exit", destinations = nil } } } Menus["help record example armor 1"] = { text = color.White .. "Use the following commands to create a custom armor record entirely from scratch:\n" .. color.Yellow .. "/storerecord armor clear\n" .. color.Yellow .. "/storerecord armor name \n" .. color.Yellow .. "/storerecord armor model \n" .. color.Yellow .. "/storerecord armor icon \n" .. color.Yellow .. "/storerecord armor subtype \n" .. color.Yellow .. "/storerecord armor add part , , \n" .. color.Yellow .. "/storerecord armor weight \n" .. color.Yellow .. "/storerecord armor value \n" .. color.Yellow .. "/storerecord armor health \n" .. color.Yellow .. "/storerecord armor armorRating \n" .. color.White .. "When you're done, type in:\n" .. color.Yellow .. "/createrecord armor\n\n" .. color.White .. "Example series of commands:\n" .. color.Yellow .. "/storerecord armor clear\n" .. color.Yellow .. "/storerecord armor name Khajiit Mask\n" .. color.Yellow .. "/storerecord armor model b\\B_V_Khajiit_M_Head_01.nif\n" .. color.Yellow .. "/storerecord armor icon a\\Tx_dustAdept_helm.tga\n" .. color.Yellow .. "/storerecord armor subtype 0\n" .. color.Yellow .. "/storerecord armor add part 0, b_v_khajiit_m_head_01, b_v_khajiit_f_head_01\n" .. color.Yellow .. "/storerecord armor add part 1, b_n_khajiit_m_hair01, b_n_khajiit_f_hair01\n" .. color.Yellow .. "/storerecord armor weight 3\n" .. color.Yellow .. "/storerecord armor value 5\n" .. color.Yellow .. "/storerecord armor health 20\n" .. color.Yellow .. "/storerecord armor armorRating 3\n" .. color.Yellow .. "/createrecord armor", buttons = { { caption = "Back to examples page", destinations = { menuHelper.destinations.setDefault("help record examples") } }, { caption = "Exit", destinations = nil } } } Menus["help record example book 1"] = { text = color.White .. "Use the following commands to create a custom book record entirely from scratch:\n" .. color.Yellow .. "/storerecord book clear\n" .. color.Yellow .. "/storerecord book name \n" .. color.Yellow .. "/storerecord book model \n" .. color.Yellow .. "/storerecord book icon \n" .. color.Yellow .. "/storerecord book text \n" .. color.Yellow .. "/storerecord book scrollState true/false\n" .. color.White .. "When you're done, type in:\n" .. color.Yellow .. "/createrecord book\n\n" .. color.White .. "Example series of commands:\n" .. color.Yellow .. "/storerecord book clear\n" .. color.Yellow .. "/storerecord book name Tattered note\n" .. color.Yellow .. "/storerecord book model m\\Text_Note_02.nif\n" .. color.Yellow .. "/storerecord book icon m\\Tx_note_02.tga\n" .. color.Yellow .. "/storerecord book text Someone has stolen all my pillows.

Life has no meaning now.

\n" .. color.Yellow .. "/storerecord book scrollState true\n" .. color.Yellow .. "/createrecord book\n" .. color.White .. "There is a limit to how much text you can input in the chat window, so – for longer text " .. "– you'll have to edit the record's text manually in data/recordstore/book.json", buttons = { { caption = "Back to examples page", destinations = { menuHelper.destinations.setDefault("help record examples") } }, { caption = "Exit", destinations = nil } } } Menus["help record example clothing 1"] = { text = color.White .. "Use the following commands to create a custom clothing record entirely from scratch:\n" .. color.Yellow .. "/storerecord clothing clear\n" .. color.Yellow .. "/storerecord clothing name \n" .. color.Yellow .. "/storerecord clothing model \n" .. color.Yellow .. "/storerecord clothing icon \n" .. color.Yellow .. "/storerecord clothing subtype \n" .. color.Yellow .. "/storerecord clothing add part , , \n" .. color.Yellow .. "/storerecord clothing weight \n" .. color.Yellow .. "/storerecord clothing value \n" .. color.White .. "When you're done, type in:\n" .. color.Yellow .. "/createrecord clothing\n\n" .. color.White .. "Example series of commands:\n" .. color.Yellow .. "/storerecord clothing clear\n" .. color.Yellow .. "/storerecord clothing name Robe of Blinding Speed\n" .. color.Yellow .. "/storerecord clothing model c\\C_M_Robe_common_03b_GND.NIF\n" .. color.Yellow .. "/storerecord clothing icon c\\tx_Robe_com03b.tga\n" .. color.Yellow .. "/storerecord clothing subtype 4\n" .. color.Yellow .. "/storerecord clothing add part 3, c_m_robe_common_03b\n" .. color.Yellow .. "/storerecord clothing weight 3\n" .. color.Yellow .. "/storerecord clothing value 500\n" .. color.Yellow .. "/storerecord clothing enchantmentId blinding speed\n" .. color.Yellow .. "/createrecord clothing", buttons = { { caption = "Back to examples page", destinations = { menuHelper.destinations.setDefault("help record examples") } }, { caption = "Exit", destinations = nil } } } Menus["help record example miscellaneous 1"] = { text = color.White .. "Use the following commands to create a custom miscellaneous record entirely from scratch:\n" .. color.Yellow .. "/storerecord miscellaneous clear\n" .. color.Yellow .. "/storerecord miscellaneous name \n" .. color.Yellow .. "/storerecord miscellaneous model \n" .. color.Yellow .. "/storerecord miscellaneous icon \n" .. color.Yellow .. "/storerecord miscellaneous weight \n" .. color.Yellow .. "/storerecord miscellaneous value \n" .. color.White .. "When you're done, type in:\n" .. color.Yellow .. "/createrecord miscellaneous\n\n" .. color.White .. "Example series of commands:\n" .. color.Yellow .. "/storerecord miscellaneous clear\n" .. color.Yellow .. "/storerecord miscellaneous name Placeable Crate\n" .. color.Yellow .. "/storerecord miscellaneous model o\\Contain_crate_01.NIF\n" .. color.Yellow .. "/storerecord miscellaneous icon m\\misc_dwrv_gear00.tga\n" .. color.Yellow .. "/storerecord miscellaneous weight 20\n" .. color.Yellow .. "/storerecord miscellaneous value 10\n" .. color.Yellow .. "/createrecord miscellaneous", buttons = { { caption = "Back to examples page", destinations = { menuHelper.destinations.setDefault("help record examples") } }, { caption = "Exit", destinations = nil } } } Menus["help record example weapon 1"] = { text = color.White .. "Use the following commands to create a custom weapon record entirely from scratch:\n" .. color.Yellow .. "/storerecord weapon clear\n" .. color.Yellow .. "/storerecord weapon name \n" .. color.Yellow .. "/storerecord weapon model \n" .. color.Yellow .. "/storerecord weapon icon \n" .. color.Yellow .. "/storerecord weapon subtype \n" .. color.Yellow .. "/storerecord weapon weight \n" .. color.Yellow .. "/storerecord weapon value \n" .. color.Yellow .. "/storerecord weapon health \n" .. color.Yellow .. "/storerecord weapon speed \n" .. color.Yellow .. "/storerecord weapon reach \n" .. color.Yellow .. "/storerecord weapon damageChop \n" .. color.Yellow .. "/storerecord weapon damageSlash \n" .. color.Yellow .. "/storerecord weapon damageThrust \n" .. color.Yellow .. "/storerecord weapon enchantmentId \n" .. color.White .. "When you're done, type in:\n" .. color.Yellow .. "/createrecord weapon\n\n" .. color.White .. "Example series of commands:\n" .. color.Yellow .. "/storerecord weapon clear\n" .. color.Yellow .. "/storerecord weapon name Combat Pillow\n" .. color.Yellow .. "/storerecord weapon model m\\Misc_Com_Pillow_01.nif\n" .. color.Yellow .. "/storerecord weapon icon m\\Misc_Com_Pillow_01.tga\n" .. color.Yellow .. "/storerecord weapon weight 1\n" .. color.Yellow .. "/storerecord weapon value 1\n" .. color.Yellow .. "/storerecord weapon health 10\n" .. color.Yellow .. "/storerecord weapon speed 1.1\n" .. color.Yellow .. "/storerecord weapon reach 1.1\n" .. color.Yellow .. "/storerecord weapon damageChop 0 2\n" .. color.White .. "Finally, for your pillow to be a two-handed blunt weapon, use these lines:\n" .. color.Yellow .. "/storerecord weapon subtype 5\n" .. color.Yellow .. "/storerecord weapon damageSlash 0 2\n" .. color.Yellow .. "/storerecord weapon damageThrust 0 1\n" .. color.White .. "Or, if you'd rather turn it into a throwable weapon, use this:\n" .. color.Yellow .. "/storerecord weapon subtype 11\n" .. color.White .. "Then, as always, use:\n" .. color.Yellow .. "/createrecord weapon", buttons = { { caption = "Back to examples page", destinations = { menuHelper.destinations.setDefault("help record examples") } }, { caption = "Exit", destinations = nil } } }