Skip to content

Commit

Permalink
Set a default icon for stellar objects, at least when changing their …
Browse files Browse the repository at this point in the history
…subtype
  • Loading branch information
ben committed Dec 4, 2024
1 parent b076510 commit 9d1402f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Next Release

- Set a default icon for stellar objects, at least when changing their subtype

## 1.24.8

- Expose `SFCharacterMoveSheet` to macro authors as `CONFIG.IRONSWORN.applications.SFCharacterMoveSheet`
Expand Down
3 changes: 3 additions & 0 deletions src/module/vue/sf-locationsheet.vue
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,9 @@ function randomImage(subtype, klass): string | void {
''
)}.webp`
}
if (subtype === 'star') {
return 'systems/foundry-ironsworn/assets/icons/stellar-object.svg'
}
if (subtype === 'sunderedsettlement') {
return `systems/foundry-ironsworn/assets/icons/settlement-si.svg`
}
Expand Down

0 comments on commit 9d1402f

Please sign in to comment.