Thanks, I will add the code that I have a problem with.
In the beginning of the code, I have:
The hospital Main Switchboard is a room. Understand "main Switchboard" or "Switchboard" or "hospital switchboard" as Hospital Main Switchboard. "Your hospital main switchboard receives a call stating that an explosive device has been placed within your facility and will detonate within 60 minutes. Based on the amount of detail provided by the caller, it is determined that this poses a credible threat to your facility, and you activate the bomb threat procedures.".
The Operational Room is a room. Operational Room is south of Hospital Main Switchboard. Understand "ops room" or "operational" as Operational Room. "Operational period 0-2 hours.".
The Incident Commander is a person in the Hospital Main Switchboard. Understand "IC" as Incident Commander.
So, when the game begins, I type in "Talk to Incident Commander or IC.
The game starts in the Hospital Main Switchboard with a description and “you can see an Incident Commander here”.
The game goes through a lot of questions and answers (that work fine).
At the end of these questions and answers there is text that says “move south to the Operational Room” like in the code above.
Now the player press (s) to go south.
Then the Incident Commander or IC is in the Operational Room. So now the text should read “you see an Incident Commander here”.
The problem is when I move back (n) north to the Hospital Main Switchboard the text still shows “you see an Incident Commander here”.
And when I moved south again the text also read “you see an Incident Commander here”.
So technically the Incident Commander is in two places at once and that should not be the case.
The last part of the code just before you can go south to the Operational Room the code read:
Obj-5-Yes is a chat node with quip "Yes". "Did you ensure safety of the staff, patients, and visitors".
Rule for finding responses to Obj-5-Yes:
[if Obj-Answer7 is false:
link to Obj-6-Yes;
link to Obj-6-No;
Otherwise:]
say "You succeeded. Go south to the Operational room.";
Obj-5-No is a chat node with quip "No". "You failed the scenario.".
now Incident Commander is in the Operational Room.
My thought was that the last line should move the Incident Commander to the Operational Room but I do not know how to change the first code example where it says:
The Incident Commander is a person in the Hospital Main Switchboard. Understand "IC" as Incident Commander.
I know this is why it shows in two places but I cannot figure out how to make it work as described.
Hope this explains it better.