intfiction.org

The Interactive Fiction Community Forum
It is currently Tue Dec 11, 2018 3:12 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Tue Oct 30, 2018 11:35 pm 
Offline

Joined: Sun Aug 19, 2018 3:04 pm
Posts: 20
Hey, y'all!

I'm working on a more personal intfiction right now, and was wondering how I would go about solving a problem I'm having.

The player is in a room called Amongst the Waves. They go down to a room called Crash. They then are told to go up, and I would like them to end up in a room called The Crack in the Road.

In further explanation, I need Amongst the Waves to be replaced by The Crack in the Road when the player visits Crash.

Thanks!


Top
 Profile Send private message  
Reply with quote  
PostPosted: Wed Oct 31, 2018 12:56 am 
Offline
User avatar

Joined: Sun May 21, 2017 4:59 pm
Posts: 301
Location: Michigan
It's simpler than you'd expect:

Code:
Amongst the Waves is a room. The description is "The first room is Amongst the waves.".

Crash is down from amongst the waves. The description is "The place of crashing. From here, there is no going back to amongst the waves. Only up to the crack in the road.".

The Crack in the Road is up from Crash. The description is "The road cracked and you are here.".


Example output:
Code:
Amongst the Waves
The first room is Amongst the waves.

>d

Crash
The place of crashing. From here, there is no going back to amongst the waves. Only up to the crack in the road.

>u

Crack in the Road
The road cracked and you are here.

>

_________________
~~~
My ebooks on Amazon
My ebooks on Smashwords


Top
 Profile Send private message  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group