Skip to content

Commit

Permalink
v0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Moerill committed Jun 15, 2020
1 parent 19eb796 commit 7edbb2a
Show file tree
Hide file tree
Showing 24 changed files with 592 additions and 89 deletions.
44 changes: 44 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,47 @@
# v0.8.0
<ul>
<li>New Settings Menu!
<ul>
<li>Less mess inside FVTTs settings menu. Only one button is left!</li>
<li>More structure.</li>
<li>More fine grained control over most features provided by this module.</li>
</ul>
</li>
<li>(Almost) Full localization support for Japanese and German!
<ul>
<li>Almost all menus, buttons, etc. are now localized.</li>
<li>Special thanks to @BrotherSharp for providing the japanese translation!</li>
<li>Want to help localizing to other languages? contact me on GitHub!</li>
</ul>
</li>
<li>
Dislike template borders or grid highlights "besmear" your beautiful textures? I've got you covered, with a new option to hide borders and grid highlights for textured templates.
<ul>
<li>Only textured templates are affected.</li>
<li>If you hover over a templates control in the template layer the border and highlight will get shown</li>
</ul>
</li>
<li>Option for automatic targetting for *all* templates
<ul>
<li>Drag a template around and it will automatically target all tokens that are inside.</li>
<li>Ability templates autotargetting are now dependend on this new setting-</li>
</ul>
</li>
<li>
Use items to add bonus damage, like sneak attack, to other items!
<ul>
<li>Special thanks to @bsleys for providing the code!</li>
<li>Check the new checkbox on an item, to mark it as *bonus damage*.</li>
<li>Marked items are automatically added as damage roll to all damage rolls coming from that actor.</li>
<li>Use the script macro ``game.mess.toggleItemBonusDamage('Item Name')`` to toggle an items effect.</li>
</ul>
</li>
<li>Full D&D5e Dark Mode and Tidy5e Support!</li>
<li>Fix item chat cards not being expandable with Mess activated.</li>
<li>Fixed cone template texture scaling being a bit off.</li>
<li>Fixed crit formulas breaking for dice pools or more complex roll formulas. Thanks to @bsleys for fixing this!</li>
</ul>

# v0.7.0
* (5e): Added settings option to support for "maximum crits": Changes behaviour of critical damage rolls to maximize the damage of the extra dice for criticals! Thanks to @bsleys for adding this feature!

Expand Down
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,15 @@ Settings allow to granularly dis-/enable features to your liking. *Important*: I
- [System independent](#universal)
* [Template Changes](#template-changes)
- [Scaling and animated template textures](#scaling-and-animated-template-textures)
- [Hiding template border and grid highlight](#hide-grid-highlight-and-border-for-textured-templates)
- [Auto targetting on template movement](#auto-targetting-on-template-move)
* [Miscellaneous](#miscellaneous)
- [Momentum based preview snapping](#momentum-based-preview-snapping)
- [DnD5e specific](#dnd5e-specific)
* [More streamlined rolling and targeting](#rolling-and-targeting-change)
- [Custom chat cards](#custom-attack-and-damage-roll-chat-cards)
- [Autoroll and advantage toggles](#autoroll-and-advantage-toggle)
- [Use items to add bonus damage to other items](#use-items-to-add-bonus-damage-to-other-items)
- [Automatic Ability template texture](#ability-template-textures)
- [Automatic template targeting](#auto-targeting-with-ability-templates)
* [Actor sheet changes](#actor-sheet-changes)
Expand Down Expand Up @@ -52,8 +55,14 @@ Go to the [GitHub's issue board](https://github.com/Moerill/Mess/issues) and che
**I will only take a quick glance at half hearted bug reports or Discord mentions! Don't expect me to react there!**

## Atribution
Thanks to @bsleys for his continued support on helping to enhance this module with features!

Thanks to @BrotherSharp for the japanese translation!

Thanks to @NickEast for his ![foundry project creator](https://gitlab.com/foundry-projects/foundry-pc/create-foundry-project) which i'm using in a modified version for my building and publishing workflow.

This module would not be possible without the great work from Atropos on FoundryVTT and the [DnD5e System](https://gitlab.com/foundrynet/dnd5e) for FoundryVTT! Part of the code (especially the code for the rolls) is heavily based on the DnD5es code, which is licensed under GNU GPLv3.

The templates used in the videos are from [Pierluigi Riminis Perfect Spell Pack 2 animated](https://marketplace.roll20.net/browse/set/3954/perfect-spells-pack-2-animated).

## Licensing
Expand Down Expand Up @@ -107,13 +116,19 @@ Each time you use an ability the default chat card gets created as well as an *a
![attack card example](img/attack-card-example.png)
Hovering over the target in the card does highlight it on the map (if visible) and double clicking it pans it into view.
If a crit is rolled the dmg formulas are automatically adjusted to respect it by using the double amount of dice.
The flavor text (in the example ``The cat swipes at Badger lazily with a clawed paw.``) is the chat flavor text specified for the item. If you want to display the targets name in it, use ``[target.name]`` inside the flavor text.
#### Custom flavor text
The flavor text (in the example ``The cat swipes at Badger lazily with a clawed paw.``) is the chat flavor text specified for the item. If you want to display the targets name in it, use ``[target.name]`` inside the flavor text.
*Rollable Tables as Flavor*: You can also specify to modify the flavor (partially) by adding a rollable table. You can do so similarly as you specify other entities inside e.g. journals, by using ``@JournalEntry[name]`` or ``@JournalEntry[id]`` inside the chat flavor text. The module will automatically roll the table and replace the reference inside the flavor text. ``[target.name]`` will get replaced afterwards, so you can even use that inside your rollable tables.

### Autoroll and Advantage toggle
![Roll toggles](img/roll-toggles.png)
The roll change also adds options to toggle between *(dis-)advantage* and *normal* rolls, by clicking on the D20 above the chats roll mode selector. Right click will cycle through in the opposite direction. This will get applied at the time you click on the *to hit* button, not beforehand!
This also adds a selection to choose if *to hit* or *damage* rolls should be rolled automatically on *attack card* creation.

### Use items to add bonus damage to other items
Adds a new field to actor owned items to specify the first damage field as bonus damage for other damage rolls. Activating this will automatically add the damage to the list of damage rolls for each attack card off an item that is not bonus damage itself.
There is an easy script macro command to toggle this for an item: ``game.mess.toggleItemBonusDamage('Item Name')``

## Ability template textures
![Auto Template](img/auto_template.gif)
Want to be cool and really show a fireball each time you cast it, instead of the blank template for targeting?
Expand Down
84 changes: 80 additions & 4 deletions dist/lang/de.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{
"MESS": {
"target": "Ziel",
"cardTargetTooltip": "Doppelklick um die Kamera auf das Token zu zentrieren, falls momentan die korrekte Szene betrachtet wird.",
"toHit": "Treffer",
"damage": "Schaden",
"attackCard": {
"target": "Ziel",
"cardTargetTooltip": "Doppelklick um die Kamera auf das Token zu zentrieren, falls momentan die korrekte Szene betrachtet wird.",
"chatCardResourceError": "There were not enough resources left for this attack!",
"toHit": "Treffer",
"damage": "Schaden"
},
"rollConfig": {
"Advantage": "W20 mit Vorteil würfeln.",
"Normal": "Nur mit einem W20 würfeln.",
Expand All @@ -12,6 +15,79 @@
"ModifierPlaceholder": "Modifikator",
"Hit": "Treffer",
"Dmg": "Schaden"
},
"actorSheet": {
"preparedSpellTracker": "vorbereitete Zauber"
},
"itemSheet": {
"templateTexture": "Template Textur",
"bonusDmg": "Als Bonusschaden zu Schadenswürfen hinzufügen?"
},
"FVTTSettings": {
"button": "Ordnung in diese Sauerei bringen!",
"description": "Mess Einstellungen."
},
"settings": {
"tabs": {
"info": "Info",
"templates": "Templates",
"dnd5e": "DnD5e",
"misc": "Misc."
},
"DnD": {
"specifics": "DnD5e spezifische Optionen."
},
"templates": {
"alternateTexturesLabel": "Aktiviert alternatives Darstellen der Template Texturen.",
"autotargetting": {
"label": "Aktiviert automatisches markieren von Zielen, die in einem Template sind, wenn man dieses bewegt."
},
"drawTemplateBorders": {
"label": "Keine Template Ränder oder Highlights, für Templates mit Texturfüllung, darstellen.",
"hint": "Wenn dies aktiviert ist wird für Templates mit Textur weder Rand noch das markieren der Gitterkästchen, die das Template einnimmt, dargestellt. Wenn man über das Template mit der Maus markiert, werden diese vorübergehend doch dargestellt."
},
"DnD": {
"textureInfo": {
"header": "Standard Template Texturen",
"1": "Erlaubt standard Texturen für Templates zu definieren. Diese werden gewählt, wenn ein Zaubertemplate erstellt wird und für dieses keine spezifische Textur definiert wurde.",
"2": "Zur Bestimmung der Textur wird der erste Schadenstyp gewählt."
}
}
},
"dnd5e": {
"numericalScrolling": {
"label": "Numerisches scrollen.",
"hint": "Erlaubt in numerischen Feldern auf dem Charakterblatt mit dem Mausrad zu scrollen um diese zu modifizieren."
},
"itemSort": {
"label": "Gegenstände sortieren.",
"hint": "Fügt eine Schaltfläche zu dem Charakterblatt hinzu, welche alle Gegenstände/Zauber/... alphabetisch sortiert."
},
"preparedSpellTracker": {
"label": "Vorbereitete Zauber Anzeige.",
"hint": "Fügt eine Anzeige zum Zauberbuch Tab hinzu um die maximale Anzahl vorbereiteter Zauber zu tracken. Die maximale Zahl wird nicht automatisch berechnet, Die Anzeige ist primär zur Erinnerung da."
},
"rolling": {
"header": "Alternatives würfelnd und anvisieren",
"activate": "Aktivieren.",
"hint": "Alle folgenden Einstellungen funktionieren nur, wenn \"Aktivieren\" ausgewählt wurde.",
"maxCrit": {
"label": "Maximiere kritische Treffer.",
"hint": "Ändert das Verhalten kritischer Schadenswürfe, indem der Wurf des kritischen Extrawürfel maximiert wird!"
}
}
},
"misc": {
"placeables":{
"label": "Placeables Änderungen aktivieren.",
"hint": "Ändert das Verhalten von Placeables, wie Tokens und Tiles, wenn sie bewegt werden. Die Placeables folgen der Maus flüssig bis die Maus für ein genaueres positionieren langsamer wird. Wenn ein gewisser Schwellenwert erreicht wird, wird die Vorschau an der Position positioniert, an der sie landen würden, wenn sie jetzt erstellet werden."
}
}
},
"reloadReminder": {
"text": "Damit die meisten Änderungen Wirkung zeigen, lade die Seite bitte für dich und alle verbundenen Klienten neu.",
"yes": "Ok, bitte für mich neuladen.",
"no": "Ich lade später selber neu."
}
}
}
7 changes: 4 additions & 3 deletions dist/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@
"preparedSpellTracker": "prepared spells"
},
"itemSheet": {
"templateTexture": "Template Texture"
"templateTexture": "Template Texture",
"bonusDmg": "Add bonus damage to damage rolls?"
},
"FVTTSettings": {
"button": "make a mess!",
"button": "bring some order into this mess!",
"description": "Mess settings menu."
},
"settings": {
Expand All @@ -37,7 +38,7 @@
"specifics": "DnD5e specific options."
},
"templates": {
"alternateTexturesLabel": "Enable alternatative template texture rendering.",
"alternateTexturesLabel": "Enable alternative template texture rendering.",
"autotargetting": {
"label": "Enables automatic targetting of tokens when a template is moved around."
},
Expand Down
84 changes: 80 additions & 4 deletions dist/lang/ja.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{
"MESS": {
"target": "対象",
"cardTargetTooltip": "ダブルクリックで現在のコマに注目します。",
"toHit": "ヒット",
"damage": "ダメージ",
"attackCard": {
"target": "対象",
"cardTargetTooltip": "ダブルクリックで現在のコマに注目します。",
"chatCardResourceError": "この攻撃を行うのに必要なリソースが足りません。",
"toHit": "ヒット",
"damage": "ダメージ"
},
"rollConfig": {
"Advantage": "有利でロールする",
"Normal": "通常ロール(d20を1個)をする",
Expand All @@ -12,6 +15,79 @@
"ModifierPlaceholder": "修正値",
"Hit": "ヒット",
"Dmg": "ダメージ"
},
"actorSheet": {
"preparedSpellTracker": "準備呪文"
},
"itemSheet": {
"templateTexture": "範囲テンプレート画像",
"bonusDmg": "ダメージロールに追加ダメージを追加する"
},
"FVTTSettings": {
"button": "このごちゃごちゃした設定メニューに整理を!",
"description": "Messモッド設定"
},
"settings": {
"tabs": {
"info": "情報",
"templates": "範囲テンプレート",
"dnd5e": "DnD5e",
"misc": "その他"
},
"DnD": {
"specifics": "D&D5版用設定"
},
"templates": {
"alternateTexturesLabel": "範囲テンプレートに画像を置く",
"autotargetting": {
"label": "範囲テンプレートを動かしたときに内部にあるコマを自動的にターゲットする"
},
"drawTemplateBorders": {
"label": "画像を配置した範囲テンプレートの境目とマス目を描画しない",
"hint": "この設定をオンにすることで画像(または動画)をおかれた範囲テンプレートの範囲の境目とマス目を表示しなくなります。マウスをホバーすると依然として表示されます。"
},
"DnD": {
"textureInfo": {
"header": "デフォルトテンプレート画像",
"1": "アイテムに個別のテンプレート画像がおかれていない場合はダメージの種別によって自動的に画像を配置します。",
"2": "参照されるダメージ種別は最初のもののみです。"
}
}
},
"dnd5e": {
"numericalScrolling": {
"label": "スクロール編集",
"hint": "数字のみを持つ入力フィールドをマウスのホイールでスクロールすると1ずつ上下に動かせるようになります。"
},
"itemSort": {
"label": "アイテムソートボタン",
"hint": "キャラクターシート内部のアイテムをアルファベット順にソートするためのボタンを配置します。"
},
"preparedSpellTracker": {
"label": "準備可能呪文トラッカー",
"hint": "キャラクターシートの呪文タブに現在準備可能な呪文を管理するための項目を追加します。これは自動的に計算されるものではなく、あくまでもプレイヤー本人の目安として使われるべきものです。"
},
"rolling": {
"header": "ロールとターゲット方法を変更する",
"activate": "有効化",
"hint": "以下の設定は上記の有効化がオンになっているときにのみ適用されます。",
"maxCrit": {
"label": "クリティカルダメージ最大化",
"hint": "クリティカルの追加ダメージを必ずダイスの目の最大の値をとるように変更します。"
}
}
},
"misc": {
"placeables":{
"label": "オブジェクト操作の変更",
"hint": "コマ、タイル、壁等のマウスで動かせるすべてのオブジェクトのドラッグ中の動作を変更します。マウスを早く動かしているときはマス目に沿わず、マイスを遅く動かしたときに沿うようになります。この機能によりオブジェクトのドラッグをやめる前からどこに沿っていくのかを予測することが可能です。"
}
}
},
"reloadReminder": {
"text": "変更を保存するにはGMおよびPLのクライアントを再起動してください。",
"yes": "OK、全員リロードしてくれ!",
"no": "いいや、自分でやるね。"
}
}
}
Binary file added dist/mess.zip
Binary file not shown.
4 changes: 2 additions & 2 deletions dist/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "mess",
"title": "Mess - Moerills enhancing super-suit(e)",
"description": "This module is a mix of QoL changes, enhancements for my game and stuff i play around with. For a complete feature list check the URL down below.",
"version": "0.7.0",
"version": "0.8.0",
"minimumCoreVersion": "0.6.0",
"compatibleCoreVersion": "0.6.2",
"author": "Moerill",
Expand All @@ -28,5 +28,5 @@
],
"manifest": "https://raw.githubusercontent.com/Moerill/mess/master/src/module.json",
"url": "https://github.com/Moerill/mess",
"download": "https://github.com/Moerill/mess/releases/download/v0.7.0/mess.zip"
"download": "https://github.com/Moerill/mess/releases/download/v0.8.0/mess.zip"
}
Loading

0 comments on commit 7edbb2a

Please sign in to comment.