search <object> answers "I can't find a verb in that sentence." in Starship and in anything else built on games/lexicon.arch. It is a word players reach for constantly, and reaching for it gets them a parser error rather than a refusal — the worst kind of answer, because it reads as "that idea is wrong" instead of "that word is wrong".
This came up while fixing "x pants" doesn't indicate pockets (#49). That change made examining the pants report the pockets, so the immediate unfairness is gone, but search pants still fails outright while look in pants works.
The obstacle is that there is no single obvious meaning to give it:
- Gorreven already defines one (
games/gorreven_lex.arch:34) and it means get closer: a hollow_object is entered, a live guard refuses, and anything whose 'look' comes back ABSENT gets "I find nothing unusual even upon a close search." It is also syn : 'examine' there, so in Gorreven "search" and "x" are the same verb.
- The natural Starship meaning is different — for the pants, "search" means
'look in', the thing that turns the pockets out.
So a baseline 'search' would have to pick one, and either choice makes the other game's version the odd one out. Options, roughly in order of how much they commit to:
- Add
Verb null full : 'search' to games/lexicon.arch with a normal of something like "I'd have to be more specific about where to look." — costs nothing, stops the parser error, and leaves each game free to define 'search' where it means something.
- The above, plus
'search' : 'look in' on the object class in games/intrptr.arch, making the baseline meaning "look inside this".
- Leave it to each game, and just accept that Gorreven has it and Starship does not.
Option 1 is the cheap one and does not foreclose the others. Option 2 is the one that would have made search pants do the right thing without anyone thinking about it.
Worth noting either way: whatever the baseline does, Gorreven's 'search' should probably keep meaning what it means today, since its syn : 'examine' makes it load-bearing for that game's prose.
search <object>answers "I can't find a verb in that sentence." in Starship and in anything else built ongames/lexicon.arch. It is a word players reach for constantly, and reaching for it gets them a parser error rather than a refusal — the worst kind of answer, because it reads as "that idea is wrong" instead of "that word is wrong".This came up while fixing "x pants" doesn't indicate pockets (#49). That change made examining the pants report the pockets, so the immediate unfairness is gone, but
search pantsstill fails outright whilelook in pantsworks.The obstacle is that there is no single obvious meaning to give it:
games/gorreven_lex.arch:34) and it means get closer: ahollow_objectis entered, a live guard refuses, and anything whose'look'comes backABSENTgets "I find nothing unusual even upon a close search." It is alsosyn : 'examine'there, so in Gorreven "search" and "x" are the same verb.'look in', the thing that turns the pockets out.So a baseline
'search'would have to pick one, and either choice makes the other game's version the odd one out. Options, roughly in order of how much they commit to:Verb null full : 'search'togames/lexicon.archwith anormalof something like "I'd have to be more specific about where to look." — costs nothing, stops the parser error, and leaves each game free to define'search'where it means something.'search' : 'look in'on theobjectclass ingames/intrptr.arch, making the baseline meaning "look inside this".Option 1 is the cheap one and does not foreclose the others. Option 2 is the one that would have made
search pantsdo the right thing without anyone thinking about it.Worth noting either way: whatever the baseline does, Gorreven's
'search'should probably keep meaning what it means today, since itssyn : 'examine'makes it load-bearing for that game's prose.