I was messing around with inform7 today, and I ran into an issue I can’t seem to figure out.
[code]
Understand “talk to [someone]” as talking to.
Report talking to: say “You have nothing to say.”.
credit amount is a number variable.
loan amount is a number variable.
When play begins:
say “Welcome to Stellarscape 3500! This is a text based adventure game, in the Stellarscape Usniverse. The goal of this game, is to provide users with a massive and interesting starmap to explore. There are many features planned, but this game is still in heavy development.”;
now credit amount is 100;
now loan amount is 0.
The City Streets is a room. "Your name is Collin Renyolds. You are on the busy streets of Shangri-La, the largest city in the planet of Xanadu, where you grew up. This city is a lot different than the backwater town you spent your youth in, and you are astounded by the things you see. While this city is much smaller than most of the cities in the core, it is still larger than any community you have layed your eyes upon. As you walk down the busy streets from where the shuttle dropped you off, sirens and horns blair from all directions. You feel sick when you look up at the cars swerving around each other in a seemingly random fashion, and you are filled with worry that a collision could happen at any moment. Meanwhile, around you in the open passegeways between the buildings, which were converted from land vehicle roads long ago, there is an endless swarm of people walking and jogging in all directions, oblivious to the insane traffic going on overhead. With only [credit amount] credits in your account, you feel slighly jelous of all the people in suits around you.
After walking for a few blocks, you arrive at your destination: the Bank of Xanadu. This banking organization is the largest in this part of space, and it is also very important to you. This is because, the doorway to this building is probably the only passage you can take to ever get off of this miserable rock. Since your youth, you have always dreamed of exploring other worlds. You grew up in a farming family, but contrary to your father’s wishes, you took special interest in spacecraft operation during your school years. You graduated top of your class, which means that you will have a very easy time getting a loan to buy your first ship.
The entrance to the bank lies directly to the north."
The Bank lobby is north of the City Streets.
The Bank Lobby is a room. “When you enter the loby, you are surprised at how quiet it is in here compared to the atmopshere in the city. There are many people quietly walking about, between the hallways that line the sides of the loby and the elevator shafts at the end. The only sounds you hear are the soft echoes of footsteps off of the ceiling.”
The elevator shaft is in the Bank Lobby. “You see an elevator shaft open for the taking.”. The elevator shaft is enterable.
The bank teller woman is a woman in the Bank Lobby. “You see a woman with behind a desk, waiting for her next customer.”
Before going to the City Streets:
say “You probably shouldn’t leave until you get your loan.”;
stop the action.
[/code]
The problem is, it keeps saying this:
Problem. You wrote 'The elevator shaft is enterable' : but the property enterable for the elevator shaft is not allowed to exist, because you haven't said it is. What properties something can have depends on what kind of thing it is: see the Index for details.