Default Substitution Variables

To help us define generic actions triggered by an AT, a set of default substitution variables were developed. These default variables are created when the action tendency is triggered by a particular emotion, and contain information about the event that caused such emotion. The variables are:

  • [Subject] – The subject of the event that caused the activating emotion.
  • [Action] – The action performed in the event that caused the activating emotion.
  • [Target] – The target of the event that caused the activating emotion, if any.
  • [P1] – First parameter of the event that caused the activating emotion, if any.
  • [P2] – Second parameter …..
  • [P3] – Third parameter ….

 

Let’s examine a specific example. If John cries, such event is appraised by Luke and triggers a Gloating emotion with intensity 4. The emotion will then trigger the above action tendency, and the substitutions [Subject]/John and [Action]/cry are created (since there is no target and no parameters, the other substitutions are not created). These substitutions are then applied to the action’s name, which results in the action SpeechAct(John,mock). This process makes possible not have to define the same AT for each possible character.