Display short-term and long-term memories
Figure 39. The STM panel reads a saved array rather than the physical inventory.
| Control | Source configuration |
|---|---|
| res_stm_list | List Source: array; variable memory_stm_active. |
| res_ltm_list | List Source: array; variable memory_ltm_active. |
| Item record | id is the stable topic; text is its readable caption. |
| Selection Variable | memory_topic. |
| Close Button | Hide the corresponding memory GUI. |
Do not add remembered entries only with a temporary List Box Add Item call and assume they are your permanent game state. Keep the authoritative memory in saved variables, then let the array source rebuild the presentation.
Character ownership is part of the clue. Decide which characters witnessed an event, then add that long-term entry only to the intended owners.
