65. Test a graph in manageable pieces
1. Start with the smallest visible result: a message, changed label or returned value.
2. Add one condition. Test TRUE and FALSE deliberately.
3. Add the state change or reward. Run the interaction twice.
4. Add timing, animation and presentation after the logic works.
5. Test the real owner event and selected verb, not only Run Script.
6. Restart, leave/re-enter, save/load and test the completed flow again.
| Check | Expected workshop result |
|---|---|
| Use door without key | Locked response; no points; door_open false. |
| Pick up key | One item, five points, hidden scene key. |
| Call pickup again | No additional item or points. |
| Use door with key | door_open true; score 15; opening clear. |
| Run three pulses | pulse_count 3; final loop_index 2. |
| Call Award with amount 7 | Score increases by 7; result variable 7. |
| Use two this switches | Each call changes its own owner. |
| Load the saved solved state | Door flag, score and inventory are restored as intended. |
Use Validate for record IDs, references and structural problems. The current visual validator checks node IDs and edge endpoints, among other project checks. It cannot prove that the right branch awards the right item or that two wires from one output express the intended sequence.
Use the game’s debug/output information for runtime diagnostics. This Visual Script editor is not a node-by-node breakpoint debugger. Small tests and visible state checks are the practical way to isolate a route.
