I can't seem to "look on" anything

Hi guys,

Long in the tooth IF player.
Long in the tooth programmer.
Verrrry new to TADS, so sorry if this is a “duh” question.

If I create a shelf as a Surface, I can put things on the shelf and take them off (because objInPrep is “on” etc.). All good. However, I cannot “look on shelf”. I just get “There is no on shelf here”. Huh? However, I can “look in shelf” which frankly is gibberish.

That seems like a bit of a glaring omission in TADS (v3.1.3 btw) or I’ve got the wrong end of the stick. And it’s almost certainly the latter, let’s face it.

Can anyone “turn on light bulb” for me?

Cheers,
S.

2 Likes

For things that have a contType of On, the SEARCH verb does the On equivalent of LOOK IN, LOOK UNDER, and LOOK BEHIND.

I think EXAMINE does this too.

You can probably modify the SEARCH verb to accept the phrase 'look' 'on' singleDobj.

EDIT: Honestly, I agree with you. There should be a handler for LOOK ON, as well as GO UNDER. I’ve added both of these to my project.

2 Likes

Thanks Joey,

I was thinking that I might have to do that… but hoping I didn’t.

Cheers,
S.

3 Likes

Welcome to TADS! Don’t hesitate to ask the duh-est questions!

3 Likes

Oh lord, I have plenty :slight_smile:
Thank you!
S.

3 Likes