Re: Help with Inform character interactions


Sat, 12 Aug 1995 10:19:01 +0100

Christopher E. Forman (ceforma@rs6000.cmp.ilstu.edu) wrote:

> I could use some assistance getting the "Ask" verb in Inform to work.

[code 'n' stuff removed]

> Suggestions, anyone?

I think you've fallen foul of a mistake, either in the manual or in
`VerbLib'. When you input `ASK BAKER ABOUT NUTS' the manual claims to set
noun='NUTS', but in fact, more sensibly, second='NUTS', so the relevant part
of the baker's life routine should be:

if (second == 'nuts' && Baker hasnt general) {
[code]
}

Interestingly, Graham Nelson's own game _Balances_ makes the same mistake
(look at the barker's definition).

-- 
Jools
  jools@arnod.demon.co.uk