Skip to content

Commit

Permalink
resolves #103, refs #140, refs #82, refs #64, refs #53, refs #49, res…
Browse files Browse the repository at this point in the history
…olves #38, resolves #14
  • Loading branch information
Geekswordsman committed Mar 1, 2023
1 parent 0195061 commit dde3cd5
Show file tree
Hide file tree
Showing 13 changed files with 966 additions and 298 deletions.
59 changes: 56 additions & 3 deletions lang/en.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
{
"I18N.MAINTAINERS": [ "Moerill", "Geekswordsman" ],
"I18N.MAINTAINERS": [ "Geekswordsman", "Moerill" ],

"Token Mold": "Token Mold",
"TOKEN-MOLD": {
"ABOUT": {
"About": "About Token Mold",
"CreatedBy": "Maintained By",
"CreatedBy": "V3 and later created by",
"Help": "Help",
"LiveSupport": "For live support of Token Mold, join the Foundry VTT Discord and post any questions in #module-troubleshooting!",
"OriginallyCreatedBy": "Originally Created By",
"OriginallyCreatedBy": "Based on the original code by",
"ProjectPage": "View the Project Page to report issues or comment on this Project at: ",
"SupportTheCreator": "If you enjoy Token, please consider donating to the creator at: ",
"Title": "Token Mold",
"Wiki": "View the Token Mold wiki at: "
},
"CONFIG": {
"DispositionSelect": "Select Token Disposition",
"Friendly": "Friendly",
"Hostile": "Hostile",
"Linked": "Linked",
"LinkedOnly": "Linked Tokens Only?",
"Neutral": "Neutral",
"Save": "Save and Close",
"Unlinked": "Unlinked"
Expand All @@ -29,6 +31,52 @@
"Overlay": "Overlay",
"Settings": "Settings"
},
"NAME": {
"AddAdjective": "Add random adjective from dictionary",
"AddAttribute": "Add Attribute",
"AddCustomPrefix": "Add the following custom word to beginning of the name:",
"AddCustomSuffix": "Add the following custom word after the name:",
"AddNumbers": "Add counting numbers to name as Suffix.",
"AddValue": "Add Value",
"AdjectiveBack": "Back",
"AdjectiveFront": "Front",
"AdjectivePlacement": "Adjective Placement",
"AdjectiveUse": "Enable Adjective Options?",
"Attribute": "Attribute",
"BaseName": "Base name:",
"BaseNameNothing": "Do nothing",
"BaseNameRemove": "Remove",
"BaseNameReplace": "Replace with randomized name",
"BaseNameOverride": "Hold Shift to override name removal or replacement and always add the base name",
"ChooseRolltable": "Choose adjectives from following rollable Table:",
"Default": "Default",
"Delete": "Delete",
"GenerateLength": "Generated Name length",
"IncreaseIndex": "Increase Index by up to",
"IncreaseIndexHelp": "The index increase will be chosen randomly from within this range. Minimum of 1. (Uniformly distributed)",
"Language": "Language",
"LanguageOrTable": "Language/Table",
"Maximum": "Maximum:",
"Minimum": "Minimum:",
"Regenerate": "Regenerate names for selected tokens",
"NameOptions": "Name Options",
"NumberStyle": "Choose number style. The first field may not be empty!",
"Prefix": "Prefix",
"PrefixHelp": "Configure options that happen before the token's name.",
"PrefixOptions": "Prefix Options",
"Random": "random",
"ReplaceHelp": "For more information on how this works look onto the modules homepage.",
"ReplaceInfo1": "The chosen option will replace the tokens base name with a generated name.",
"ReplaceInfo2": "You can choose a number of attributes. For each attribute you can choose possible values and assign them a language. On token creation the first value that fits will be chosen. If no fitting value was found, the default will be used.",
"ReplaceInfo3": "Important: Enabling this feature will result in about 100MB of extra memory used! (for GMs only)",
"Reset": "Reset to default",
"ResetCounter": "Reset counter for this scene for all tokens.",
"ResetCounterHelp": "Resets the Counter for newly created tokens. This will reset to the highest placed index after a page reload. On maps with a high amount of tokens this could take a few seconds.",
"RollTable": "Rollable Table",
"Suffix": "Suffix",
"SuffixOptions": "Suffix Options",
"Value": "Value"
},
"SETTINGS": {
"Config": "Token Mold Configuration",
"ConfigHint": "Configure Settings for Token Mold. Also available at the top of the Actor Tab.",
Expand All @@ -41,7 +89,12 @@
"Reapply": "Reapplies all settings to selected tokens as if those were replaced onto the scene.",
"Token": "(De-)activate Token Config Overwrite"
},
"STAT": {
"None": "None",
"Name": "Name"
},
"TAB": {
"HP": "Hit Points",
"Name": "Name",
"SystemSpecific": "System Specific",
"TokenConfig": "Token Config",
Expand Down
6 changes: 5 additions & 1 deletion less/token-mold.less
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@
}

/* Config */
.tmold_custom_word_label {
flex: 8;
}

ul.token-mold-config-tabs {
list-style-type: none;
margin: 0px;
Expand Down Expand Up @@ -86,7 +90,7 @@
padding: 2px 6px;
}

li.token-mod-active-config {
li.token-mold-active-config {
color: black;
text-shadow: 0 0 8px var(--color-shadow-primary);
}
Expand Down
1 change: 1 addition & 0 deletions module/config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ CONFIG.SYSTEM_SUPPORTED = false;
CONFIG.HP_SUPPORTED = false;
CONFIG.NEW_SETTINGS = {};
CONFIG.SETTINGS = {};
CONFIG.COUNTERS = [];
CONFIG.BAR_ATTRIBUTES = [];
CONFIG.ADJECTIVES = null;
CONFIG.DICTIONARY = null;
Expand Down
Loading

0 comments on commit dde3cd5

Please sign in to comment.