I’d like to grant the player certain tokens, in the example case below, they are called memories. I seem to be getting stuck with the template [Verb] is an action applying to one [Custom Kind] however…
Before I get to emotional, as I am also trying to quit smoking after 20 years, I just going to show what I’ve done and hope somebody explains how to do it properly.A knowledge is a kind of object. A knowledge has a text called a description.
Knowing relates one person to various knowledges.
The verb to know (he knows, they know, he knew, it was known, he is learning) implies the knowing relation.
Squat is a knowledge. The description of squat is "Not much at all."
Diddilly is a knowledge. The description of diddilly is "Even less than squat."
The player knows squat. The player knows diddilly.
Definition: A knowledge (called a memory) is remembered if a person knows a knowledge.
Remembering is an action applying to nothing.
Understand "Remember" as remembering.
Report remembering:
say "You can think about [the list of remembered knowledge]."
Recalling is an action applying to one knowledge.
Inform 7 gives me the following explanation
The way I see it one knowledge is a kind of value, but meh! I’m still new to I7…
So if someone could suggest a better way of achieving my goal, or even simply correct the mistake, I’d appreciate it, I’ve flicked through the documentation that distributes with I7 quite a bit, and I’m not really finding the answers I need…
Edit: I’ve got a bit further…
A knowledge is a kind of object. A knowledge has a text called a description.
Knowing relates one person to various knowledges.
The verb to know (he knows, they know, he knew, it was known, he is learning) implies the knowing relation.
Definition: A knowledge (called a memory) is remembered if a person knows a knowledge.
Remembering is an action applying to nothing.
Understand "remember" as remembering.
Report remembering:
say "You can think about [the list of remembered knowledge]."
Recalling is an action applying to one thing.
Understand "recall" as recalling.
Check recalling:
if the noun is not a knowledge, say "[The noun] is not a memory." instead;
if the player does not know the noun, say "You know nothing about [the noun]." instead.
Carry out recalling:
say "[the description of the noun]"
Squat is a knowledge. The description of squat is "Not much at all."
Diddilly is a knowledge. The description of diddilly is "Even less than squat."
The player knows squat. The player knows diddilly.
This compiles, but the test doesn’t work as expected…