New API, allwing color configuration (resolves #7) and Speed Provider Settings

This commit is contained in:
Manuel Vögele
2021-02-17 16:25:17 +01:00
parent 6ea03579b9
commit 75d59171d6
8 changed files with 514 additions and 96 deletions
+46 -19
View File
@@ -1,31 +1,58 @@
{
"drag-ruler": {
"genericSpeedProvider": {
"settings": {
"dashMultiplier": {
"name": "Dash Multiplier",
"hint": "This can be used to give tokens a secondary speed during coloring of the measured path. Set it to 0 to disable the secondary speed."
},
"speedAttribute": {
"name": "Speed Attribute",
"hint": "The attribute that defines a token's walking speed. This is used during coloring of the measured path."
}
},
"speeds": {
"walk": "walk",
"dash": "dash"
}
},
"settings": {
"alwaysShowSpeedForPCs": {
"name": "Show PC speed to everyone",
"hint": "If enabled the coloring based on actor speed for player characters will shown to everyone, even if they don't have observer permission for the character sheet."
},
"dashMultiplier": {
"name": "Dash Multiplier",
"hint": "This can be used to give tokens a secondary speed during coloring of the measured path. Set it to 0 to disable the secondary speed."
},
"speedAttribute": {
"name": "Speed Attribute",
"hint": "The attribute that defines a token's walking speed. This is used during coloring of the measured path."
},
"speedProvider": {
"name": "Speed Settings Provider",
"hint": "Select who provides speed information for tokens duing coloring. Using a game system or module may provide more flexible coloring than sticking to the options provided by Drag Ruler.",
"choices": {
"module": "Module",
"native": "Drag Ruler",
"system": "System"
"speedProviderSettings": {
"name": "Speed Provider Settings",
"hint": "The Speed Provider Settings contain all the game system specific settings.",
"button": "Speed Provider Settings",
"windowTitle": "Speed Provider Settings",
"headers": {
"speedProvider": "Speed Provider",
"speedProviderSettings": "Speed Provider specific settings"
},
"activeProvider": {
"name": "Currently active Speed Provider",
"hint": "The settings show below depend on the active speed provider. If the GM selects a different speed provider the available settings may change."
},
"noSettings": "This speed provider doesn't offer any configuration options.",
"color": {
"name": "Color for {colorName}",
"hint": "The color that will be used to color square that are within {colorName} range",
"unreachable": {
"name": "unreachable",
"hint": "The color for spaces that aren't reachable by the dragged token"
}
},
"speedProvider": {
"name": "Speed Settings Provider",
"hint": "Select who provides speed information for tokens duing coloring. Drag Ruler offers a generic speed provider that provides basic functionality and should work for all game systems if configured correctly. More speed providers can be made available via game systems and installed modules. Selecting a different speed provider than the generic speed provider may offer a better integration into the rules of the game system you're using. The options below are dependent upon the speed provider selected here.",
"choices": {
"module": "Module {name}",
"native": "Generic",
"system": "System {name}"
}
}
},
"staticFirstColor": {
"name": "Static First Color",
"hint": "Use a static color for the first movement range instead of the player color"
},
"swapSpacebarRightClick": {
"name": "Swap spacebar and right click",
"hint": "Swaps the functions of spacebar and right click during dragging. If enabled right click will place waypoints and spacebar will delete them"