Skip to content

Commit

Permalink
Bump version to 0.17.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kmoschcau committed May 28, 2022
1 parent 293d279 commit 1fb6ec8
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 5 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.17.1] - 2022-05-28

### Fixed

- some miscellaneous bugs

## [0.17.0] - 2022-05-28

### Added
Expand Down Expand Up @@ -177,7 +183,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- basic support for ammo items
([#140](https://github.com/Wasteland-Ventures-Group/WV-VTT-module/issues/140))
- a basic inventory tab to actors
- misscellaneous items
- miscellaneous items
([#140](https://github.com/Wasteland-Ventures-Group/WV-VTT-module/issues/140))
- ability to add misc items to an actor from the actor sheet

Expand Down
2 changes: 1 addition & 1 deletion gulpfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ async function esBuild({
incremental: incremental,
keepNames: true,
legalComments: "none",
minify: prod,
minify: false,
outfile: jsOutFile,
sourcemap: true,
sourceRoot: `systems/${CONSTANTS.systemId}`,
Expand Down
4 changes: 2 additions & 2 deletions src/main/system.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"twitter": "@kmoschcau"
}
],
"version": "0.17.0",
"version": "0.17.1",
"minimumCoreVersion": "9",
"compatibleCoreVersion": "9",
"scripts": [],
Expand Down Expand Up @@ -63,7 +63,7 @@
"gridUnits": "m",
"url": "https://github.com/Wasteland-Ventures-Group/WV-VTT-module",
"manifest": "https://raw.githubusercontent.com/Wasteland-Ventures-Group/WV-VTT-module/main/src/main/system.json",
"download": "https://github.com/Wasteland-Ventures-Group/WV-VTT-module/releases/download/v0.17.0/wasteland-ventures-0.17.0.zip",
"download": "https://github.com/Wasteland-Ventures-Group/WV-VTT-module/releases/download/v0.17.1/wasteland-ventures-0.17.1.zip",
"readme": "https://raw.githubusercontent.com/Wasteland-Ventures-Group/WV-VTT-module/main/README.md",
"changelog": "https://raw.githubusercontent.com/Wasteland-Ventures-Group/WV-VTT-module/main/CHANGELOG.md"
}
2 changes: 1 addition & 1 deletion src/main/typescript/applications/item/wvItemSheet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default class WvItemSheet extends ItemSheet {
rules: HANDLEBARS.partPaths.item.rules
},
rules: {
elements: data.data.data.rules.elements.map(
elements: this.item.data.data.rules.elements.map(
this.mapSheetDataRuleElement.bind(this)
)
},
Expand Down
12 changes: 12 additions & 0 deletions src/main/typescript/migrations/items.ts
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,18 @@ function migrateToCompositeNumbers(
updateData["data.quickSlots.source"] = data.quickSlots;
if (typeof data.modSlots === "number")
updateData["data.modSlots.source"] = data.modSlots;
if (Array.isArray(data.blockedSlots))
updateData["data.blockedSlots"] = {
armor: false,
belt: false,
clothing: false,
eyes: false,
mouth: false,
...data.blockedSlots.reduce((slots, slot) => {
slots[slot] = true;
return slots;
}, {})
};
return;
}

Expand Down

0 comments on commit 1fb6ec8

Please sign in to comment.