Overly simplified story:[code]“Test” by Joel Webster
Include Plurality by Emily Short.
Include Player Experience Upgrade by Aaron Reed.
Include Menus by Emily Short.
Include Basic Help Menu by Emily Short.
Include Locksmith by Emily Short.
Include Modern Conveniences by Emily Short.
Include Basic Screen Effects by Emily Short.
Include Automated Drawers by Emily Short.
Include Computers by Emily Short.
The apartment is a room.
The desk is a supporter in the apartment.
The PC is a desktop computer on the desk.
The PC runs a search engine called chrome. The software priority of chrome is 5. The description of chrome is “Google Chrome internet browser”.
The no-records response of chrome is “Nope”.[/code]This story functions exactly as expected, with “look up in chrome” functioning perfectly.
However, the following story does not:[code]“Test 2” by Joel Webster
Include Plurality by Emily Short.
Include Player Experience Upgrade by Aaron Reed.
Include Menus by Emily Short.
Include Basic Help Menu by Emily Short.
Include Locksmith by Emily Short.
Include Modern Conveniences by Emily Short.
Include Basic Screen Effects by Emily Short.
Include Automated Drawers by Emily Short.
Include Computers by Emily Short.
The apartment is a room.
The desk is a supporter in the apartment.
The PC is a desktop computer on the desk.
The PC runs a multiple-choice program called desktop. The options table of desktop is the Table of GUI Options. The software priority of desktop is 1.
The PC runs a search engine called chrome. The software priority of chrome is 5. The description of chrome is “Google Chrome internet browser”.
The no-records response of chrome is “Nope”.
Table of GUI Options
topic title effect
“internet/browser/chrome” “Chrome” open-chrome rule
This is the open-chrome rule:
repeat with item running through software run by the PC:
now the software priority of item is 5;
now the software priority of chrome is 1;
say “You open the internet browser.”;
try examining chrome.
Software can be quittable. A software is usually not quittable. Chrome is quittable.
A first input handling rule for quittable software (called chosen software):
let N be indexed text;
let N be the topic understood;
if N is “quit”:
reset to operating system;
say “You return to the desktop.”;
try examining desktop;
rule succeeds.
To reset to operating system:
repeat with item running through software run by the PC:
now the software priority of item is 5;
now the software priority of desktop is 1;
After examining a quittable software (called chosen software):
say “You can also select QUIT to return to the desktop.” [/code]
This code reliably duplicates the behavior I noted earlier.
I’m beginning to think that making software quittable is what is causing the strange behavior.
I’ll try playing around with that rule to see if I can get it to behave.