ADRIFT Forum


The place to discuss the ADRIFT Interactive Fiction toolkit

What the user must type

This forum is the place to discuss the older ADRIFT versions 3.9 and 4.0.

Please refer to the ADRIFT 4 Manual for more information.

What the user must type

Postby highways » Wed Mar 05, 2014 8:33 am

Using version 4.53

The objective is to buy a ticket.

User must type.... [buy] {a} {the} {ticket} {for} {to} [london]

Action taken: There are no restrictions. The ticket is an object (hidden). The task action is to move the ticket to held by player. The player is in the room allocated for this task.

When I type the above; i.e. buy a ticket for london; I get the message 'I don't think that is for sale'. However if I type 'buy london' the task is carried out.

I have tried this task in other locations and the result is the same. Any assistance would be greatly appreciated. :)
Nemo Mortalium Omnibus Horis Sapit. (No man is at all times wise)
User avatar
highways
 
Posts: 210
Joined: Tue Jul 13, 2004 6:07 pm
Location: Staffordshire

Re: What the user must type

Postby David Whyld » Wed Mar 05, 2014 9:51 am

Words in { } are ignored in the Runner, so in the above command only [buy] and [london] work. You'd be better off getting rid of any { } altogether and just having

buy * ticket *
buy * london *

in your task.
David Whyld
 
Posts: 6545
Joined: Sat Dec 18, 2004 5:15 pm
Location: United Kingdom

Re: What the user must type

Postby highways » Wed Mar 05, 2014 10:09 am

Thank you. there's always something simple.
Nemo Mortalium Omnibus Horis Sapit. (No man is at all times wise)
User avatar
highways
 
Posts: 210
Joined: Tue Jul 13, 2004 6:07 pm
Location: Staffordshire


Return to ADRIFT 3.9 and 4.0

Who is online

Users browsing this forum: No registered users and 14 guests