Hello, me again.
I have a carnival ride that automatically takes the player from room to room using a scene for implementation. I have the rooms to travel and the description of the room in a table because i use it for the description of the room and (formerly) as the description of the room during the ride.
Every turn during the scene, I change the location to the location specified in the table and execute a “try looking”. The location changes as seen by the debug code. But the description shown when the “look” happens displays the name of the room which started the scene and shows no description (even for the location it things it’s in.)
When traversing the map on foot, the descriptions and room names are correct. What is going on here?
The lab is a room. "This is the lab." The car is a vehicle in the lab.
Room One is south of the Lab. "[description corresponding to the locale of Room One in the Table of Events]".
Room Two is south of Room One. "[description corresponding to the locale of Room Two in the Table of Events]".
Room Three is south of Room Two. "[description corresponding to the locale of Room Three in the Table of Events]".
AutoPlay is a scene.
AutoPlay begins when the player is in the car for 2 turns.
AutoPlay ends when index is the number of rows in the Table of Events plus 1.
When AutoPlay begins, say "AutoPlay scene begins."
When AutoPlay ends, end the story finally.
Instead of doing something other than waiting, looking, listening, smelling or examining during AutoPlay:
say "Sit and enjoy the ride instead.".
index is a number that varies. index is usually 1.
every turn during AutoPlay:
choose row index in the Table of Events;
now the location is the locale entry;
say "The location is: [location]. The locale is: [locale entry]. About to try looking.";
try looking;
say "Mist fills the area as you move to the next room...[paragraph break]";
increment index;
test me with "verbose / s / s / n / n / enter car / z / z / z"
Table of Events
locale locale text description
Room One "Room One" "This is the description of room one."
Room Two "Room Two" "This is the description of room two."
Room Three "Room Three" "This is the description of room three."
Image of transcript below.