Make the player start the game on a supporter without showing anything before the banner.

0 votes
46 views
asked Aug 23 in Authoring by eduardomezencio (36 points)

Here's a very small example code:

Bedroom is a room. "This is your bedroom."

The bed is a scenery enterable supporter in the bedroom.

When play begins:
    now the player is on the bed.

The result is:

Bedroom (on the bed)
This is your bedroom.

Welcome
An Interactive Fiction
Release 1 / Serial number 150823 / Inform 7 build 6L38 (I6/v6.33 lib 6/12N) SD

Bedroom (on the bed)
This is your bedroom.

It shows Bedroom description twice when I put the player on the bed.

1 Answer

0 votes
answered Aug 23 by eduardomezencio (36 points)
 
Best answer

I finally found it.. the thing is that I cat't put it in "When play begins:" and I need to put it without the "now": (inform is so unforgiving T_T)

Bedroom is a room. "This is your bedroom."

The bed is a scenery enterable supporter in the bedroom.
The player is on the bed.
commented Sep 7 by infinull (1 point)
you can also use `move the player to the bed`; you can't use `now` to move things, you need to use `move` (I think?)
This site is now closed.
As of 1st November 2015, this site is a read-only archive. For more information see the intfiction forum post

Welcome to IF Answers, a site for questions and answers about Interactive Fiction.

Technical questions about interactive fiction development tools such as Inform, Twine, Quest, QuestKit, Squiffy, Adrift, TADS etc. are all on-topic here.

Non-technical questions about interactive fiction are also on-topic. These questions could be about general IF design, specific games, entering the IF Comp etc.
...