Thanks for your additional input guys. Maybe I will go a little bit more into detail and explain what I’m trying to do.
I’d like to have a Tank in on of my scenes. This tank has four stations (driver, gunner, loader and commander). Three of these stations have a hatch which can be closed/locked.
When you’re inside the tank you can crawl from on station to another.
Currently my code (concerning the tank) looks like this
[code]“Tank Test” by Jens Leugengroot
[GENERAL RULES]
Rule for printing room description details: stop.
[TANK]
A callsign is a kind of a value.
A tank is a kind of a vehicle. A tank has a callsign. After printing the name of a tank, say " ‘[callsign]’". Understand the callsign property as describing a tank.
A station is a kind of container.
[The carrying capacity of a station is usually one.]
A station is usually fixed in place, enterable, transparent, openable and lockable.
A hatch is a kind of thing. A hatch is part of every station.
The driver station is a kind of station. It is part of every tank.
The gunner station is a kind of station. It is part of every tank.
The commander station is a kind of station. It is part of every tank.
The loader station is a kind of station. It is part of every tank.
The Fire Control System is a kind of a thing. It is part of every gunner station.
The T-Bar is a kind of a thing. It is part of every driver station.
Understand “driver/drivers/driver’s” or “station” as a driver station.
Understand “driver/drivers/driver’s” or “hatch” as a driver station’s hatch.
Understand “commanders/commanders/commander’s” or “station” as a commander station.
Understand “commander/commanders/commander’s” or “hatch” as a commander station’s hatch.
Understand “gunner/gunners/gunner’s” or “station” as a gunner station.
Understand “gunner/gunners/gunner’s” or “hatch” as a gunner station’s hatch.
Understand “loader/loaders/loader’s” or “station” as a loader station.
Understand “loader/loaders/loader’s” or “hatch” as a loader station’s hatch.
Before opening a hatch which is part of a station (called the item):
try opening the item instead.
Before closing a hatch which is part of a station (called the item):
try closing the item instead.
Report opening a station which is part of a tank:
let txtNoun be “[the noun]”;
replace the text “station” in txtNoun with “hatch”;
say “[We] [open] [txtNoun].”;
stop the action.
Report closing a station which is part of a vehicle:
let txtNoun be “[the noun]”;
replace the text “station” in txtNoun with “hatch”;
say “[We] [close] [txtNoun].”;
stop the action.
instead of entering a station while the actor is in a station:
say “[We] crawl to [the noun].”;
move the actor to the noun.
[SETUP SCENE]
Test area is a room. “This is the test area.”
The M1A2 is a tank in Test area. The callsign is Red One.
The Player is in Test area.
Carry out looking when a driver station encloses the player (this is the report driver rule):
say “You see the drivers station.”;
stop the action.
The report driver rule is listed after the room description heading rule in the carry out looking rulebook.
Carry out looking when a commander station encloses the player (this is the report commander rule):
say “You see the commanders station.”;
stop the action.
The report commander rule is listed after the room description heading rule in the carry out looking rulebook.
Carry out looking when a loader station encloses the player (this is the report loader rule):
say “You see the loaders station.”;
stop the action.
The report loader rule is listed after the room description heading rule in the carry out looking rulebook.
Carry out looking when a gunner station encloses the player (this is the report gunner rule):
say “You see the gunners station.”;
stop the action.
The report gunner rule is listed after the room description heading rule in the carry out looking rulebook.
[/code]
What doesn’t work so far / I’m not so sure about
- items which are dropped or put in one of the stations from the beginning (e.g. T-bar) are there, but don’t show up in the look-description
- does this setup support dropping persons in on of the stations?
- is this in general a good setup for my purpose?
Jens