-
Notifications
You must be signed in to change notification settings - Fork 0
Open
1 / 11 of 1 issue completedOpen
1 / 11 of 1 issue completed
Copy link
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
In TajemnikTV-QoL, replace/override the existing “Change Icon” behavior so it opens the Core Icon Browser instead of the vanilla selector, across places that support custom icons:
- Schematics (and schematic manager UI)
- Group Nodes
- Sticky Notes
- (and) other icon-customizable UI
Motivation
- Consistent icon picker UX everywhere
- Core adds a richer icon set (base game + Core icons)
- Single system other mods can also reuse
Requirements
1) Hook/override points
- Identify where the vanilla “Change Icon” menu is opened for each target.
- Replace that call with
Core.IconBrowser.open(...).
2) Source coverage
- Ensure the picker shows both:
- base game icons
- Core icons from
mods-unpacked/TajemnikTV-Core/textures/icons - other mods (?)
mods-unpacked/xxx/textures/icons
3) Data storage compatibility
- Store chosen icon using the stable icon ID returned by Core (e.g.
base:...,core:...). - add a mapping layer or fallback logic.
4) Graceful fallback
If Core is not installed / Icon Browser API is unavailable:
- fall back to vanilla icon selection (or disable the QoL override cleanly)
Acceptance Criteria
- “Change Icon” opens Core Icon Browser for schematics, group nodes, and sticky notes.
- Selected icons apply correctly and persist after save/load.
- No crashes if Core is missing; vanilla UI still works as fallback.
- Works with icons from base game and Core icon directory.
Requires: TajsMods/Core#4
Reactions are currently unavailable
Sub-issues
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request