Hallo,
als Anfänger in I7 schreiben wir ein Textadventure (mit der englischen Version). Nun haben wir das folgende Problem:
Wenn sich der Spieler in einem Raum ohne Buttons befindet und >push button< eingibt, wird er gefragt, welchen Button er drücken möchte und bekommt eine Auflistung aller Buttons im Spiel, obwohl in dem Raum, in dem er sich befindet überhaupt kein Button drin ist.
Hier ist der allgemeine Quellcode zu Buttons:
Does the player mean pushing the Opn Drs Button while Space Shuttle is player-enclosing: It is likely.
Does the player mean pushing the blinking Button while Xeno Lab is player-enclosing: It is very likely.
Does the player mean pushing the decontamination Button while Med Lab is player-enclosing: It is likely.
Does the player mean pushing the Chamber Prep Phase Button while Med Lab is player-enclosing: It is likely.
Does the player mean pushing the Play Button while Med Lab is player-enclosing: It is likely.
[
]
A Button is kind of a thing. The Init Dock Prc Button is a Button. The Opn Drs Button is a Button.
A Button can be active or inactive. A Button is usually inactive.
[
]```
**Ausgaben im Spiel *[Docking Bay als Raum OHNE Buttons]*:**
The docking bay of LUPUS station is almost empty and there is not a single person of the bay and hangar personnel present.
Nearby Door B1 leads west.
Nearby Door B0 leads east to the Space Shuttle.
You can also see a Barrel here.
>push button
Which do you mean, the blinking button, the Init Dock Prc Button, the Opn Drs Button, the Play Button, the Chamber Prep Phase Button, or the Decontamination Button?
*[=Auflistung aller Buttons im Spiel]*
>gonear xeno lab
*[Xeno Lab als Raum mit einem Button]*
You slip over the barrel through the door. Additionally to the deafening sound of the alarm, there is another one in this room. While the alarm is mixing with the howling sound, the red emergency light is mixing with the blue light that is shining through the window to the Engine core.
Nearby Door B5 leads east.
You can also see a machine (on which is a blinking button) here.
>push button
You push button. The machine stops howling and a panel in the wall opens, presenting you a small vial. You cannot hear the alarm anymore.
>gonear med lab
*[Med Lab als Raum mit drei verschiedenen Buttons]*
You enter the med lab. The green trail is ending in the middle of the room. Blue light from the engine core is shining through a window. There is a big screen in front of a control console. Next to it is a small chamber. Another absent looking person is standing in the corner.
Nearby door B10 leads west.
You can also see a Screen, a chamber (empty), a console, a Lever, and a doctor here.
>push button
Which do you mean, the Play Button, the Chamber Prep Phase Button, or the Decontamination Button?
Vielleicht hat ja jemand eine Idee, wo unser Fehler steckt?
Bedanke mich schon mal im Voraus für eure Hilfe.