I’m going back to I7 now, and I find myself rusty.
The long and short of it is, I want to write some code that needs passing a kind as a variable. For instance, suppose I have this:
A precious object is a kind of thing. A diamond, a gold bar, and a Fabergé egg are kinds of precious object.
Ignoring for the moment that we could do this with just a property, can I write definitions that incorporate the kind as a variable? Pseudocode-wise, and assuming a game in which you would only carry one of these priceless treasures at a time:
To decide which object is a specific (kind K) clutched by (adventurer - a person) is relevant: decide on a random (thing of kind K).
The intent would be to be able to write things on the form of
After trying touching a specific diamond clutched by John:
Can this be done in I7 at present?