Skip to reading
Text & Sierra-Style Adventures

48. Fix story and save-state problems

Edition 0.86.3.4

Build a complete text or graphical parser adventure with typed commands, inventory puzzles and press-to-walk controls.

Download PDFView PDF page
Source table from 48. Fix story and save-state problems, page 51
SymptomCheck
Key can be used before pickupThe successful branch must check real inventory, not only a known noun.
Item returns after changing roomsCheck ta_key_room / ta_fuse_room and the room placeholder IDs.
Score grows on repetitionAward through a unique guard flag; remove duplicate action-list rewards.
Door looks open but NORTH failsThe route checks ta_door_open, not the model’s appearance.
A saved game freezes during loadKeep RESTORE deferred. Loading rebuilds script instances; do not await it inside the instance being replaced.
Old code reappears after restoreStart a new game and make a fresh save after changing project scripts.
Native preview disagrees with controllerThey use separate vocabulary and cleanup routes. Update and test the intended route.
Controller rejects a new nounAdd it to NOUNS, present(), descriptions and the relevant action rule.
A new room is unreachableAdd an explicit route and a valid destination spawn.

Story state should be the authority. The visible door, loose fuse and status strip should follow that state. If you make the picture the only record of progress, room changes and restore will eventually expose the mismatch.

Page 51 of 68Permalink
Go to page