[I7] Action-based Rulebooks and Stored Actions

Is it at all possible to have an action-based rulebook process a stored action variable as though it was an action that was performed? Something like the following:

[code][Defaults to action-based, of course.]
The initializing rules are a rulebook.

Every turn:
let the action to test be the action of the player jumping;
consider the initializing rules for the action to test.

Initializing an actor jumping:
say “Initialized ‘jumping’ for [the actor].”.[/code]
Obviously, the code above fails to compile, but in a manner of speaking, the ingredients should work. Is there any way to make this sort of scheme function in any sort of capacity without actually attempting the action?

I had this laying around from a build or two ago. It works.

[code]Suggesting is an action applying to one stored action.
To decide which stored action is the stored action understood: (- noun -).

Instead of jumping, try suggesting the action of examining yourself.
Instead of waiting, try suggesting the action of taking inventory.
Instead of an actor suggesting the action of examining yourself, say “I cannot condone [the stored action understood].”
Report an actor suggesting: say “[The actor] suggested [the stored action understood].”[/code]

That is pretty good so long as it is assumed the player is the one performing the action. The system I am creating works on NPCs, many of them, somewhat randomly assigning task actions to them to carry out. A stored action can only contain a specific person performing the action so I would need a way to compare a stored action such as ‘Bob jumping’ to ‘someone jumping’, but using non-specific actors like that isn’t possible for stored actions.

I think I have a work around for it. It isn’t very elegant though, but it will work going forward, I think.

[code]The setting the stage rules are a stored action based rulebook.
The setting the stage rulebook has a stored action called the task as performed.
The setting the stage rulebook has an action name called the specific task.
The setting the stage rulebook has an object called the person tasked.

Every turn:
let the action to test be the action of the player jumping;
consider the setting the stage rules for the action to test.

First setting the stage a stored action (called the action initialized):
now the task as performed is the action initialized;
now the specific task is the action name part of the action initialized;
now the person tasked is the actor part of the action initialized;
make no decision.

Setting the stage when the specific task is the jumping action:
say “Setting up ‘jumping’ for [the person tasked].”.[/code]