Skip to content

Commit ca11176

Browse files
authored
Merge pull request #1088 from jendave/appV2
Add icons for Progress, Vow and Connection tracks
2 parents ecdbb97 + 2ea170d commit ca11176

6 files changed

Lines changed: 17 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33
## Next Release
44

55
- Fixes by [@jendave](https://github.com/jendave):
6-
- Remove warnings from system.json ([#1080](https://github.com/ben/foundry-ironsworn/pull/1080))
7-
- Token HUD error ([#1082](https://github.com/ben/foundry-ironsworn/pull/1082))
8-
- Fix for rerolls from chat card ([#1084](https://github.com/ben/foundry-ironsworn/pull/1084))
6+
- Remove warnings from system.json ([#1080](https://github.com/ben/foundry-ironsworn/pull/1080)).
7+
- Token HUD error ([#1082](https://github.com/ben/foundry-ironsworn/pull/1082)).
8+
- Fix for rerolls from chat card ([#1084](https://github.com/ben/foundry-ironsworn/pull/1084)).
99
- Migrated all sheets, dialogs, and windows to Foundry's ApplicationV2 framework, while maintaining compatibility with both Foundry v13 and v14.
1010
- Made updates to the Starforged character sheet layout to make it resize better and maintain consistency with the Ironsworn character sheet.
1111
- Resolved ApplicationV2 and DataField deprecation warnings.
12-
- Better use of name and/or description in oracle roll cards ([#1085](https://github.com/ben/foundry-ironsworn/pull/1085))
12+
- Better use of name and/or description in oracle roll cards ([#1085](https://github.com/ben/foundry-ironsworn/pull/1085)).
13+
- Add icons for Progress, Vow and Connection tracks ([#1088](https://github.com/ben/foundry-ironsworn/pull/1088)).
1314

1415
## 1.27.0
1516

@@ -200,7 +201,7 @@ This is a major update that includes Sundered Isles content, but also brings alo
200201

201202
## 1.22.9
202203

203-
- Fix a UI warning when randomizing Starforged truths ([#915]https://github.com/ben/foundry-ironsworn/pull/915)
204+
- Fix a UI warning when randomizing Starforged truths ([#915](https://github.com/ben/foundry-ironsworn/pull/915))
204205
- Fix some visual issues in the compact sheet ([#923](https://github.com/ben/foundry-ironsworn/pull/923))
205206

206207
## 1.22.8
@@ -209,7 +210,7 @@ This is a major update that includes Sundered Isles content, but also brings alo
209210

210211
## 1.22.7
211212

212-
- Fix PopOut! module windows missing custom icons ([#670]https://github.com/ben/foundry-ironsworn/issues/670)
213+
- Fix PopOut! module windows missing custom icons ([#670](https://github.com/ben/foundry-ironsworn/issues/670))
213214

214215
## 1.22.6
215216

src/module/vue/components/character-sheet-tabs/sf-connections.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ async function newConnection() {
2727
{
2828
name: game.i18n.localize('IRONSWORN.ITEM.SubtypeConnection'),
2929
type: 'progress',
30+
img: 'systems/foundry-ironsworn/assets/icons/shaking-hands.svg',
3031
system: { subtype: 'bond' },
3132
sort: 9000000
3233
},

src/module/vue/components/progress/progress-controls.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,16 @@ import IronBtn from 'component:buttons/iron-btn.vue'
3232
3333
const $actor = inject($ActorKey)
3434
35+
const SUBTYPE_ICONS: Record<string, string> = {
36+
progress: 'systems/foundry-ironsworn/assets/icons/fast-forward-button.svg',
37+
vow: 'systems/foundry-ironsworn/assets/icons/spikes-half.svg'
38+
}
39+
3540
async function addProgressItem(subtype) {
3641
const itemData = {
3742
name: subtype.capitalize(),
3843
type: 'progress',
44+
img: SUBTYPE_ICONS[subtype],
3945
system: { subtype },
4046
sort: 9000000
4147
}
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)