well, carrying over context from your previous scoring question, does a tracking a single score per category replace the previous concept of tracking success or failure at each of a series of trials?
Is it always succeeding at an action (this is synonymous with reaching the carry out stage) per se that will increment a score, or might other things in the game do so?
Can a given action be both malicious and ridiculous, or will any given action have at most one score-category?
Will an action name alone be sufficient to determine its category, i.e., the action in the abstract independent of anything about what the noun or second noun or anything might be, e.g., jumping action
, unlocking it with action
, attacking action
?
If not, how varied will the criteria be, and will there be lots per score category, or just 1, or just a small number, say 1-3 per?
WI 7.8: Rules applying to more than one action and WI 7.15: Kinds of Action describe two different ways to lump different actions together. The multiple-action case has an important restriction that if you specify an object in any of the actions, then all of the actions you’re lumping together must take one or two objects (and I’m not sure how the syntax works out if you specify two objects or if you can).
So one approach would be to say that a series of actions are a given kind of action (no relation to ‘kind’ as it’s used anywhere else in Inform):
[ "action" isn't part of the syntax; "ridiculous action" is an arbitrary label ]
chicken dancing is a ridiculous action.
First after a ridiculous action:
increment RidiculousScore;
continue the action;
(last carry out
might be more desirable to be really sure some other After rule didn’t sneak in and stop the action… but you can only define Before, Instead, or After rules for kinds of action because for each action name there’s an individual Check, Carry Out, and Report rulebook.)
But my exact approach would vary based on the answers to the questions I posed.