Remember an object and use it in conversation
1. Give the broken window a Remember or relevant examination action.
2. From that action, call memory_tools.remember with topic window, caption Broken window and long_term false. Use a normal wrapper script if you are not calling a parameterized function node.
3. Open STM and choose Broken window. Its ID should be written to memory_topic.
4. Add a dialogue choice such as Ask about selected topic, or a dedicated Ask Button near the conversation choices.
5. Check memory_topic with an If Variable action. If it is window, run the appropriate dialogue line or dialogue graph.
6. Provide a sensible response for an empty or irrelevant topic. Do not make the conversation silently stop.
To record a long-term event, call the same helper with long_term true when the story event occurs. Use a stable topic ID even if the displayed caption is translated.
A click-to-remember command is fully usable. The original drag-from-world gesture requires a drag source, remembered-object metadata and a drop target; it is not supplied by the List Box’s appearance.
