source: ION/trunk/Lirec/fatima-bin/data/characters/minds/TestGoals.xml @ 145

Revision 145, 1.1 KB checked in by michael.kriegel, 10 years ago (diff)

replaced the example mind that comes with this with the latest version of FAtiMA (taken from this SVN 12/10/09 and compiled into a jar, previously this example used a very old version of FAtiMA from FearNot?'s sourceforge site)

Line 
1<GoalLibrary>
2
3        <!-- Interest Goals -->
4       
5        <ActivePursuitGoal name="Goal1([target])">
6                <PreConditions>
7                        <Property name="[target]" operator="=" value="[SELF]" />
8                        <Property name="[SELF](isTestMind)" operator="=" value="True" />
9                        <RecentEvent occurred="False" subject="[SELF]" action="TestAction" target="test" />
10                </PreConditions>
11                <SucessConditions>
12                        <RecentEvent occurred="True" subject="[SELF]" action="TestAction" target="test" />
13                </SucessConditions>
14                <FailureConditions>
15                </FailureConditions>
16                <ExpectedEffects>
17                </ExpectedEffects>             
18        </ActivePursuitGoal>
19       
20        <ActivePursuitGoal name="Goal2([target])">
21                <PreConditions>
22                        <Property name="[SELF](isTestMind)" operator="=" value="True" />
23                        <Property name="[target](test)" operator="=" value="True" />
24                        <RecentEvent occurred="False" subject="[SELF]" action="TestAction2" />
25                </PreConditions>
26                <SucessConditions>
27                        <RecentEvent occurred="True" subject="[SELF]" action="TestAction2" />
28                </SucessConditions>
29                <FailureConditions>
30                </FailureConditions>
31                <ExpectedEffects>
32                </ExpectedEffects>             
33        </ActivePursuitGoal>
34       
35</GoalLibrary>
Note: See TracBrowser for help on using the repository browser.