From ccc922028d9401e9377fab47940e4e966709a89d Mon Sep 17 00:00:00 2001 From: raeleus Date: Sun, 29 Sep 2024 11:34:12 -0700 Subject: [PATCH] Updated #help. Resolves #23 --- Output.js | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/Output.js b/Output.js index 80c6e45..52bb634 100644 --- a/Output.js +++ b/Output.js @@ -188,13 +188,13 @@ const modifier = (text) => { text += "--Basic Hashtags--" text += "\n#roll (advantage|disadvantage) (dice_value)" - text += "\n Rolls a die/dice and shows the result. dice_value can be in the following formats 5d20 or d20 or 20" + text += "\n Rolls a die/dice and shows the result. dice_value can be in the following formats 5d20 or d20 or 20. The parameters can be listed in any order." text += "\n#generatename (male|female) (fantasy|modern|scifi|nordic)" - text += "\n Retrieves a random name from a list of names in the specified gender and genre" + text += "\n Retrieves a random name from a list of names in the specified gender and genre. The parameters can be listed in any order." text += "\n#shownotes" text += "\n Shows all the notes." text += "\n#note message" - text += "\n Adds the specified message as a note." + text += "\n Adds the specified message as a note. Quotes are not necessary." text += "\n#clearnotes" text += "\n Removes all notes." text += "\n#removenote value" @@ -210,9 +210,9 @@ const modifier = (text) => { text += "\n#clonecharacter new_name" text += "\n Copies the abilities, skills, inventory, etc. of the current character to a new character with the name new_name. Quotes are not necessary." text += "\n#setclass class" - text += "\n Sets the class of the character for player reference." + text += "\n Sets the class of the character for player reference. Quotes are not necessary." text += "\n#setsummary summary" - text += "\n Sets the summary of the character for player reference." + text += "\n Sets the summary of the character for player reference. Quotes are not necessary." text += "\n#sethealth value" text += "\n Sets the character's health to specified value. It's capped at the character's max health." text += "\n#heal value" @@ -242,29 +242,29 @@ const modifier = (text) => { text += "\n\n--Character Checks--" text += "\n#check (ability|skill) (advantage|disadvantage) (difficulty_class or effortless|easy|medium|hard|impossible)" - text += "\n Rolls a d20 and compares the result (modified by the character's ability/skill) to the specified difficulty" + text += "\n Rolls a d20 and compares the result (modified by the character's ability/skill) to the specified difficulty. The parameters can be listed in any order." text += "\n#try (ability|skill) (advantage|disadvantage) (difficulty_class or effortless|easy|medium|hard|impossible) task" - text += "\n Attempts to do the task based on the character's ability/skill against the specified difficulty." + text += "\n Attempts to do the task based on the character's ability/skill against the specified difficulty. Quotes are not necessary." text += "\n#attack (ranged) (advantage|disadvantage) (ac or effortless|easy|medium|hard|impossible) target" - text += "\n Attacks the specified target with a melee (the default) or ranged attack. The roll is compared against the specified AC which will determine if the attack succeeds or misses." + text += "\n Attacks the specified target with a melee (the default) or ranged attack. The roll is compared against the specified AC which will determine if the attack succeeds or misses. The parameters can be listed in any order, except the target must be listed last. Quotes are not necessary." text += "\n#cast (advantage|disadvantage) (difficulty_class or effortless|easy|medium|hard|impossible) spell(target)" - text += "\n Character will cast the indicated spell if the spell is in their spellbook. It will be a targeted spell if a target is indicated. The roll is modified by the spell casting ability of the character. You may type a phrase without quotes for spell such as \"cast fire bolt at the giant chicken\"" + text += "\n Character will cast the indicated spell if the spell is in their spellbook. It will be a targeted spell if a target is indicated. The roll is modified by the spell casting ability of the character. You may type a phrase without quotes for spell such as \"cast fire bolt at the giant chicken\". The parameters can be listed in any order, except the target must be listed last. Quotes are not necessary." text += "\n\n--Abilities--" text += "\n#setability ability value" - text += "\n Adds the ability to the character if necessary and sets it to the specified value." + text += "\n Adds the ability to the character if necessary and sets it to the specified value. Quotes are required for abilities with spaces." text += "\n#showabilities" text += "\n Shows the character's list of abilities." text += "\n#removeability ability" - text += "\n Removes the ability from the character's list of abilities." + text += "\n Removes the ability from the character's list of abilities. Quotes are not necessary." text += "\n#clearabilities" text += "\n Removes all abilities from the character." text += "\n#setspellability ability" - text += "\n Sets the ability that affects the modifier for #cast." + text += "\n Sets the ability that affects the modifier for #cast. Quotes are not necessary." text += "\n#setmeleeability ability" - text += "\n Sets the character's ability modifier that affects melee attacks." + text += "\n Sets the character's ability modifier that affects melee attacks. Quotes are not necessary." text += "\n#setrangedability ability" - text += "\n Sets the character's ability modifier that affects ranged attacks." + text += "\n Sets the character's ability modifier that affects ranged attacks. Quotes are not necessary." text += "\n\n--Skills--" text += "\n#setskill skill (ability) value" @@ -278,15 +278,15 @@ const modifier = (text) => { text += "\n\n--Inventory--" text += "\n#take (quantity) item" - text += "\n Adds the specified quantity of item to the character's inventory. If a quantity is omitted, it's assumed to be 1. The words the, a, and an are ignored." + text += "\n Adds the specified quantity of item to the character's inventory. If a quantity is omitted, it's assumed to be 1. The words the, a, and an are ignored. Quotes are not necessary." text += "\n#buy (buy_quantity) buy_item (sell_quantity) sell_item" - text += "\n Adds the specified buy_quantity of the buy_item to the character's inventory and also removes the sell_quantity of sell_item. If quantities are omitted, they are assumed to be 1. Quotes are necessary for items with spaces. The words for, with, the, a, and an are ignored." + text += "\n Adds the specified buy_quantity of the buy_item to the character's inventory and also removes the sell_quantity of sell_item. If quantities are omitted, they are assumed to be 1. Quotes are necessary for items with spaces in the name. The words for, with, the, a, and an are ignored." text += "\n#sell (sell_quantity) sell_item (buy_quantity) buy_item" - text += "\n Just like #buy, but with the parameters reversed. Adds the specified buy_quantity of the buy_item to the character's inventory and also removes the sell_quantity of sell_item. If quantities are omitted, they are assumed to be 1. The words for, with, the, a, and an are ignored." + text += "\n Just like #buy, but with the parameters reversed. Adds the specified buy_quantity of the buy_item to the character's inventory and also removes the sell_quantity of sell_item. If quantities are omitted, they are assumed to be 1. The words for, with, the, a, and an are ignored. Quotes are necessary for items with spaces in the name." text += "\n#drop (quantity or all|every) item" - text += "\n Removes the specified quantity of item from the character's inventory. If a quantity is omitted, it's assumed to be 1. The words the, a, and an are ignored." + text += "\n Removes the specified quantity of item from the character's inventory. If a quantity is omitted, it's assumed to be 1. The words the, a, and an are ignored. Quotes are not necessary." text += "\n#give other_character (quantity or all|every) item" - text += "\n Removes the quantity of item from the character's inventory and adds it to the other_character's inventory. If a quantity is omitted, it's assumed to be 1. The words the, a, and an are ignored." + text += "\n Removes the quantity of item from the character's inventory and adds it to the other_character's inventory. If a quantity is omitted, it's assumed to be 1. The words the, a, and an are ignored. Quotes are not necessary for the item." text += "\n#renameitem original_name new_name" text += "\n Renames the item indicated by original_name to the new_name. The quantity remains the same. Quotes are necessary for items with spaces in the name." text += "\n#inventory" @@ -296,9 +296,9 @@ const modifier = (text) => { text += "\n\n--Spells--" text += "\n#learnspell spell" - text += "\n Adds the specified spell to the character's spellbook. Creates a story card if necessary." + text += "\n Adds the specified spell to the character's spellbook. Creates a story card if necessary. Quotes are not necessary." text += "\n#forgetSpell spell" - text += "\n Removes the specified spell from the character's spellbook" + text += "\n Removes the specified spell from the character's spellbook. Quotes are not necessary." text += "\n#clearspells" text += "\n Removes all spells from the character's spellbook." text += "\n#spellbook"