ADRIFT Forum


The place to discuss the ADRIFT Interactive Fiction toolkit

Give to Character - Two different ways

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.

Postby Randy » Wed Mar 02, 2011 1:23 am

Hi again,

I have "[sell/give] {the} {class} ring to {the} [pawn broker/broker/Bill]" in a task and during my test I typed in, "Give Bill the ring." That's perfectly legitimate and of course Bill wasn't interested according to the game. Obviously the task isn't structured that way.

I could create a new task but then I'd have to duplicate all the actions, the one restriction, and the description text. Before I do that, is there a better way to have one task understand, "Give the ring to Bill" and "Give Bill the ring"?

Thanks,

Randy
I straddle the line between genius and insanity. Guess which side I'm on now?
User avatar
Randy
 
Posts: 11
Joined: Sun Feb 27, 2011 8:01 pm
Location: Atlanta, GA

Postby Duncan_B » Wed Mar 02, 2011 1:34 am

"* give * bill * ring *"
"* give * ring * bill *"
"* sell * ring * bill *"
"* sell * bill * ring *"

Make "broker" a synonym to Bill. Maybe make sell a synonym for give if you want to cut out the last two lines for your task name.
User avatar
Duncan_B
 
Posts: 1211
Joined: Fri Apr 01, 2005 8:26 pm
Location: Chicago, Illinois
Points: 11

Postby Randy » Wed Mar 02, 2011 2:17 am

Ugh, sorry about that. I see now that I can add multiple inputs to the task. It was in the manual and I somehow missed it before. :blush:

Thanks for the quick response. Were it not for that it wouldn't have prompted me to read that part of the manual again.

Randy
I straddle the line between genius and insanity. Guess which side I'm on now?
User avatar
Randy
 
Posts: 11
Joined: Sun Feb 27, 2011 8:01 pm
Location: Atlanta, GA


Return to ADRIFT 3.9 and 4.0

Who is online

Users browsing this forum: No registered users and 5 guests