Compare commits

..

8 Commits

Author SHA1 Message Date
Manuel Vögele 404e978377 Release v1.3.2 2021-03-02 08:30:41 +01:00
Manuel Vögele 4a56cdb0a4 Merge branch 'master' into develop 2021-03-02 08:30:03 +01:00
Manuel Vögele 48e6901b59 Add 15e9104 to the changelog 2021-03-02 08:28:57 +01:00
Brother Sharp 15e910424f update japanese localization (#32) 2021-03-02 08:24:04 +01:00
Manuel Vögele baba6e2986 Fix typo in english translation 2021-02-26 12:29:56 +01:00
Manuel Vögele 6f0a04c20f Add Tormenta20 to list of game systems with integration 2021-02-23 16:47:10 +01:00
Manuel Vögele 8522c9a811 Release v1.3.1 2021-02-22 05:34:08 +01:00
Manuel Vögele d5fd5e0d04 Dash multiplier 0 now works again 2021-02-22 05:29:00 +01:00
6 changed files with 61 additions and 23 deletions
+10
View File
@@ -1,3 +1,13 @@
## 1.3.2
### Translation
- Updated japanese translation (thanks to togue)
## 1.3.1
### Bugfixes
- Fixed a bug where the coloring of ranges wouldn't work with the generic speed provider if the Dash Multiplier was set to 0
## 1.3.0 ## 1.3.0
### New features ### New features
- The color used to indicate speed ranges is now configurable - The color used to indicate speed ranges is now configurable
+1
View File
@@ -29,6 +29,7 @@ The game systems that offer Drag Ruler integration are:
- Cypher System (starting with version 1.13.0) - Cypher System (starting with version 1.13.0)
- Pathfinder 1 (starting with version 0.77.3) - Pathfinder 1 (starting with version 0.77.3)
- Pathfinder 2e (via the module [PF2E Drag Ruler Integration](https://foundryvtt.com/packages/pf2e-dragruler/)) - Pathfinder 2e (via the module [PF2E Drag Ruler Integration](https://foundryvtt.com/packages/pf2e-dragruler/))
- Tormenta20 (starting with version 1.1.37)
## Translations ## Translations
+1 -1
View File
@@ -37,7 +37,7 @@
"noSettings": "This speed provider doesn't offer any configuration options.", "noSettings": "This speed provider doesn't offer any configuration options.",
"color": { "color": {
"name": "Color for {colorName}", "name": "Color for {colorName}",
"hint": "The color that will be used to color square that are within {colorName} range", "hint": "The color that will be used to color squares that are within {colorName} range",
"unreachable": { "unreachable": {
"name": "unreachable", "name": "unreachable",
"hint": "The color for spaces that aren't reachable by the dragged token" "hint": "The color for spaces that aren't reachable by the dragged token"
+43 -16
View File
@@ -1,30 +1,57 @@
{ {
"drag-ruler": { "drag-ruler": {
"genericSpeedProvider": {
"settings": {
"dashMultiplier": {
"name": "早足の倍率",
"hint": "設定すると、移動経路の測定中に第二の色分けが追加されます。0にすると第二速度が無効になります。"
},
"speedAttribute": {
"name": "移動速度の属性値",
"hint": "コマの移動速度が定義された属性値を指定します。移動範囲表示の色分けに使用されます。"
}
},
"speeds": {
"walk": "歩き",
"dash": "早足"
}
},
"settings": { "settings": {
"alwaysShowSpeedForPCs": { "alwaysShowSpeedForPCs": {
"name": "プレイヤーキャラクターの移動速度を全員に公開する", "name": "プレイヤーキャラクターの移動速度を全員に公開する",
"hint": "有効にすると、アクターの観察者(Observer)権限を持たない人にも,移動範囲の色分けが表示されるようになります。" "hint": "有効にすると、アクターの観察者(Observer)権限を持たない人にも,移動範囲の色分けが表示されるようになります。"
}, },
"dashMultiplier": { "speedProviderSettings": {
"name": "早足の倍率", "name": "移動速度の提供元",
"hint": "有効にすると、移動範囲に二つ目の色分けが追加されます。0にすると、この機能は無効になります。" "hint": "ゲームシステムに固有のすべての設定をここで行います。",
"button": "移動速度の提供元設定",
"windowTitle": "移動速度の提供元設定",
"headers": {
"speedProvider": "移動速度の提供元",
"speedProviderSettings": "提供元に固有の設定"
}, },
"speedAttribute": { "activeProvider": {
"name": "移動速度の属性値", "name": "現在有効な提供元",
"hint": "コマの移動速度が定義された属性値を指定します。移動範囲表示の色分けに使用されます。" "hint": "以下の設定は、現在有効な移動速度の提供元によって変化します。GMが別の提供元を選択すると、利用可能な項目が変更となる場合があります。"
}, },
"speedProvider": { "noSettings": "この移動速度提供元には、設定オプションがありません。",
"name": "移動速度設定の提供元", "color": {
"hint": "色分けに使用する速度情報の提供元を選択します。ゲームシステムやモジュールを選択すると、Drag Ruler自体が提供するものより柔軟な色分けが行える可能性があります。", "name": "{colorName}の色",
"choices": { "hint": "{colorName}の範囲に使用するセルの色を指定します。",
"module": "モジュール", "unreachable": {
"native": "Drag Ruler", "name": "到達不能域",
"system": "ゲームシステム" "hint": "ドラッグしたコマが到達できない範囲の色を指定します。"
} }
}, },
"staticFirstColor": { "speedProvider": {
"name": "一つ目の色を固定する", "name": "移動速度の提供元",
"hint": "一つ目の移動範囲の色に、プレイヤーの色でなく固定された色を使用します。" "hint": "色分けに使用する速度情報の提供元を選択します。Drag Rulerは基本機能を備えた汎用の提供元を備えており、正しく設定すればすべてのゲームシステムで動作するはずです。しかしゲームシステムやモジュールを介することで、より多くの提供元を利用することもできます。こうした提供元を利用すると、ゲームルールとの統合がさらに向上するかもしれません。以下のオプションは、ここで選択した提供元によって変化します。",
"choices": {
"module": "モジュール {name}",
"native": "汎用",
"system": "システム {name}"
}
}
}, },
"swapSpacebarRightClick": { "swapSpacebarRightClick": {
"name": "スペースキーと右クリックを入れ替える", "name": "スペースキーと右クリックを入れ替える",
+2 -2
View File
@@ -2,7 +2,7 @@
"name": "drag-ruler", "name": "drag-ruler",
"title": "Drag Ruler", "title": "Drag Ruler",
"description": "When dragging a token displays a ruler showing how far you've moved that token.", "description": "When dragging a token displays a ruler showing how far you've moved that token.",
"version": "1.3.0", "version": "1.3.2",
"minimumCoreVersion" : "0.7.9", "minimumCoreVersion" : "0.7.9",
"compatibleCoreVersion" : "0.7.9", "compatibleCoreVersion" : "0.7.9",
"authors": [ "authors": [
@@ -31,7 +31,7 @@
} }
], ],
"url": "https://github.com/manuelVo/foundryvtt-drag-ruler", "url": "https://github.com/manuelVo/foundryvtt-drag-ruler",
"download": "https://github.com/manuelVo/foundryvtt-drag-ruler/archive/v1.3.0.zip", "download": "https://github.com/manuelVo/foundryvtt-drag-ruler/archive/v1.3.2.zip",
"manifest": "https://raw.githubusercontent.com/manuelVo/foundryvtt-drag-ruler/master/module.json", "manifest": "https://raw.githubusercontent.com/manuelVo/foundryvtt-drag-ruler/master/module.json",
"readme": "https://github.com/manuelVo/foundryvtt-drag-ruler/blob/master/README.md", "readme": "https://github.com/manuelVo/foundryvtt-drag-ruler/blob/master/README.md",
"changelog": "https://github.com/manuelVo/foundryvtt-drag-ruler/blob/master/CHANGELOG.md", "changelog": "https://github.com/manuelVo/foundryvtt-drag-ruler/blob/master/CHANGELOG.md",
+1 -1
View File
@@ -115,7 +115,7 @@ export class GenericSpeedProvider extends SpeedProvider {
} }
const dashMultiplier = this.getSetting("dashMultiplier") const dashMultiplier = this.getSetting("dashMultiplier")
if (!dashMultiplier) if (!dashMultiplier)
return [{range: tokenSpeed, color: playercolor}] return [{range: tokenSpeed, color: "walk"}]
return [{range: tokenSpeed, color: "walk"}, {range: tokenSpeed * dashMultiplier, color: "dash"}] return [{range: tokenSpeed, color: "walk"}, {range: tokenSpeed * dashMultiplier, color: "dash"}]
} }