1. Give each element the right job
| Element | What it reads | What you supply |
|---|---|---|
| Progress Bar (progress) | A current number and a maximum. It can follow a runtime variable. | The number’s meaning, its updates and any threshold actions. |
| Hint List (hintList) | Authored topics plus the number of answers unlocked for each topic. | The hints themselves and the actions that reveal them. |
| Journal List (journalList) | Quest definitions and their current runtime state. | The quests, stages, objectives and actions that update them. |
A bar does not count tasks or time by itself. A hint list does not work out a solution to a puzzle. A journal does not infer what the player has done by reading its description. Each element displays the information your game supplies.
For the workshop example, power is an ordinary Number variable. The hint topic is machine. The quest is restore_workshop. Those IDs are independent: changing power to 100 does not automatically complete the quest or reveal every hint.
Use separate, readable names and stable IDs. A selector may display Restore the workshop(restore_workshop), but an action or script uses restore_workshop alone. Avoid giving several GUI elements the same ID, even if they live in different GUIs.
