In Inform, I would like to be able to create a new action and be able to work on text text.
I can easily create a new action that will work on existing things.
Finding is an action with past participle found, applying to one thing. Understand "Find [something]" as finding. Carry out finding: say "You find [the noun]."
But this only works on items that exist in the game world. If I try to "find fdsljk", for example, it will fail because I did not create "fdsljk".
I would like to be able to "find fdsljk" and then get this additional text and answer it ... something like "You will find fdsljk".
I thought something like
A foo is a kind of value. Finding is an action with past participle found, applying to one foo. Understand "Find [something]" as finding. Carry out finding: say "You find [the foo]."
may be close ... but it does not work. I get an error message:
You wrote "say", you find [foo]. "'and, in particular," foo ": but it asked me to say something like that which cannot be said, more precisely, to print. Although this problem can occur when you use complex text substitutions that come in variant forms depending on used value types, more often this means that you are trying to use a substituted value (for example, in “say.” The numbers are read [V]. "'), which cannot be printed. For example, if V is a number or a piece of text, there is no problem: but if V is the subject of parsing, say an entry in the subject column of the table, then this problem will occur.
Italics mine, and highlight the key ... I think it should be doable, but I'm wrong. The evidence?
inform7
Beska
source share