Here’s the code:
[code]Indoors is a region. Bedroom, Closet, Dressing Room, Living Room, Merchandise Area, Counter, Back Room and Booth are in Indoors.
Outdoors is a region. Porch, Path, Driveway and Parking Lot are in Outdoors.
…
Every turn when player carries purse:
if purse is open and player is in Outdoors:
say “[if player is in Porch]You neglected to close your purse and all the money inside it flies away with the wind.”;
now money is off-stage;
otherwise:
continue the action.
…
The Mustang is a vehicle in Driveway. The Mustang can be either stationary or in motion. The Mustang is stationary.
…
Every turn when player carries purse:
if purse is open and player is in Mustang and Mustang is in motion:
say “You neglected to close your purse and all the money inside it flies away with the wind.”;
now money is off-stage;
otherwise:
if purse is open and player is in Mustang and Mustang is stationary:
continue the action.[/code]
And here’s the result (keeping in mind that the purse originally contains keys and some money):
Living Room
A place for entertaining. There’s a poster on one wall.
You can go north to the Dressing Room through the purple-colored door or south to the Porch through the pink door.
You can see a purple-colored door, a pink-colored door, a poster and a table (on which is a purse (closed)) here.
Watcha’ wanna do next?
take purse
Taken.
Watcha’ wanna do next?
s
Porch
It’s a bright, sunny day! Just right for getting nasty at the gloryhole! You can go back into the house to the north, or take the path to the east to get to the driveway.
You can see a pink-colored door here.
Watcha’ wanna do next?
e
East you go.
Path
You can see your car parked in the driveway to the east. You could also go back west to the Porch.
Watcha’ wanna do next?
e
Driveway
Your Mustang convertible is parked here. The top is down. Yours will be, too, soon.
You can see a Mustang (in which is an ignition (empty)) here.
Watcha’ wanna do next?
enter car
You slide your fabulous tushy into the driver’s seat and close the door behind you.
Driveway (in the Mustang)
Your Mustang convertible is parked here. The top is down. Yours will be, too, soon.
In the Mustang you can see an ignition (empty).
Watcha’ wanna do next?
open purse
You open the purse, revealing some keys and some money.
Watcha’ wanna do next?
i
You are carrying:
a purse (open)
some keys
a thong (being worn)
a pair of six-inch heels (being worn)
a skimpy halter (being worn)
a wickedly-short miniskirt (being worn)
a tampon (being worn)
((Note: purse does not now contain money))