Add ability to select custom status icons #44

Merged
Oliver merged 5 commits from feature/custom-status-icons into main 2026-02-13 04:20:20 +00:00
Owner

Closes #43

This will also work with any custom status effects added by systems or other modules.

It is integrated with Image Tagger in order to provide an easy swapper for users who use Image Tagger.

Closes #43 This will also work with any custom status effects added by systems or other modules. It is integrated with Image Tagger in order to provide an easy swapper for users who use Image Tagger.
Oliver added 3 commits 2026-02-12 07:06:34 +00:00
Oliver reviewed 2026-02-13 04:19:00 +00:00
@ -0,0 +60,4 @@
meta: {
idp: this.id,
},
showImageTaggerButton: game.modules.get(`image-tagger`).active,
Author
Owner

Need a null coalesce operator on this so that it doesn't throw at runtime if image-tagger isn't installed

Need a null coalesce operator on this so that it doesn't throw at runtime if `image-tagger` isn't installed
Oliver marked this conversation as resolved
@ -0,0 +67,4 @@
this.#overrides ??= game.settings.get(__ID__, customStatusIconsKey);
this.#originalOverrides ??= foundry.utils.deepClone(this.#overrides);
// console.log({ original: this.#originalOverrides, current: this.#overrides });
Author
Owner

Remove this log

Remove this log
Oliver marked this conversation as resolved
Oliver added 2 commits 2026-02-13 04:20:03 +00:00
Oliver merged commit c86a7b13cd into main 2026-02-13 04:20:20 +00:00
Oliver deleted branch feature/custom-status-icons 2026-02-13 04:20:28 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Foundry/oft#44
No description provided.