Skip to content

Commit

Permalink
v0.2.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
AugmenTab committed May 21, 2022
1 parent 9505b06 commit 197c3ba
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 30 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 0.2.2

### Bug Fixes

* Fixes a bug where `textarea` elements were adding unnecessary whitespace.
* Exposes system setting to choose which edition of Mythic's rules for the Strong Back ability to use.

## 0.2.1

### Bug Fixes
Expand Down
10 changes: 5 additions & 5 deletions mythic.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function registerSystemSettings() {
config: false,
scope: "world",
type: String,
default: "0.2.1"
default: "0.2.2"
});

// Critical Failure Threshold
Expand Down Expand Up @@ -88,18 +88,18 @@ function registerSystemSettings() {
default: "special"
});

// Strong Back Version (set config to true & default to v45 on release of 4.5)
// Strong Back Version
game.settings.register("mythic", "strongBackVersion", {
config: false,
config: true,
scope: "world",
name: "SETTINGS.strongBackVersion.name",
hint: "SETTINGS.strongBackVersion.label",
type: String,
choices: {
"v40": "Mythic 4.0",
"v45": "Mythic 4.5"
"v45": "Mythic 4.5+"
},
default: "v40"
default: "v45"
});

// Flood Contamination Level
Expand Down
2 changes: 1 addition & 1 deletion system.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "mythic",
"title": "Mythic 5.0",
"description": "An unofficial system implementation for playing the fan-made Halo: Mythic game on Foundry Virtual Tabletop.",
"version": "0.2.1",
"version": "0.2.2",
"author": "Tyler Baum",
"authors": [
{
Expand Down
4 changes: 1 addition & 3 deletions templates/partials/character-sheet-abilities.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,4 @@
<textarea
name="data.abilityNotes"
placeholder="{{localize "mythic.characterTalents.abilities.notes"}}"
>
{{data.data.abilityNotes}}
</textarea>
>{{data.data.abilityNotes}}</textarea>
4 changes: 1 addition & 3 deletions templates/partials/character-sheet-educations.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,7 @@
<textarea
name="data.educations.notes"
placeholder="{{localize "mythic.characterEducations.notes"}}"
>
{{data.data.educations.notes}}
</textarea>
>{{data.data.educations.notes}}</textarea>
</td>
</tr>
</tbody>
Expand Down
4 changes: 1 addition & 3 deletions templates/partials/character-sheet-experience.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@
<textarea
name="data.experience.notes"
placeholder="{{localize "mythic.characterStatBlock.experience.expNotes"}}"
>
{{data.data.experience.notes}}
</textarea>
>{{data.data.experience.notes}}</textarea>
</div>
<div class="exp-purchases">
{{#each data.data.experience.purchases as |purchase|}}
Expand Down
4 changes: 1 addition & 3 deletions templates/partials/character-sheet-inventory.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,7 @@
<textarea
name="data.equipmentNotes"
placeholder="{{localize "mythic.characterInventory.equipment.notes"}}"
>
{{data.data.equipmentNotes}}
</textarea>
>{{data.data.equipmentNotes}}</textarea>
</td>
</tbody>
<thead>
Expand Down
8 changes: 2 additions & 6 deletions templates/partials/character-sheet-settings.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,7 @@
<textarea
name="data.characteristics.extra.notes"
placeholder="{{localize "mythic.characterSettings.characteristics.charNotes"}}"
>
{{data.data.characteristics.extra.notes}}
</textarea>
>{{data.data.characteristics.extra.notes}}</textarea>
</div>
<div class="characteristics-settings">
<h2>
Expand Down Expand Up @@ -322,9 +320,7 @@
<textarea
name="data.mythicCharacteristics.notes"
placeholder="{{localize "mythic.characterSettings.characteristics.mythicsNotes"}}"
>
{{data.data.mythicCharacteristics.notes}}
</textarea>
>{{data.data.mythicCharacteristics.notes}}</textarea>
</div>
<div class="character-sheet-summary">
<div>
Expand Down
4 changes: 1 addition & 3 deletions templates/partials/character-sheet-skills.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@
<textarea
name="data.skills.notes"
placeholder="{{localize "mythic.characterSkills.skillNotes"}}"
>
{{data.data.skills.notes}}
</textarea>
>{{data.data.skills.notes}}</textarea>
</td>
</tr>
</tbody>
Expand Down
4 changes: 1 addition & 3 deletions templates/partials/flood-inventory.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@
<textarea
name="data.equipmentNotes"
placeholder="{{localize "mythic.characterInventory.equipment.notes"}}"
>
{{data.data.equipmentNotes}}
</textarea>
>{{data.data.equipmentNotes}}</textarea>
</td>
</tbody>
<thead>
Expand Down

1 comment on commit 197c3ba

@AugmenTab
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.