Changeset 402


Ignore:
Timestamp:
04/27/2010 05:08:35 PM (11 years ago)
Author:
joao.dias
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • AgentMind/trunk/AgentMind/data/characters/minds/LIRECGoalLibrary.xml

    r310 r402  
    1 <GoalLibrary>    
     1<GoalLibrary> 
     2        <ActivePursuitGoal name="HideCoin([target],[box])"> 
     3                <PreConditions> 
     4                        <Property name="[target](isPerson)" operator="=" value="True" /> 
     5                        <Property name="[target]" operator="!=" value="[SELF]" /> 
     6                        <Property name="[box](type)" operator="=" value="Box"/> 
     7                        <RecentEvent occurred="True" subject="[target]" action="SpeechAct" target="[SELF]" parameters="startgame"/> 
     8                </PreConditions> 
     9                <SucessConditions> 
     10                        <Predicate ToM="[SELF]" name="[box](Contains,coin)"/> 
     11                        <Predicate ToM="[target]" name="![box](Contains,coin)"/> 
     12                </SucessConditions> 
     13                <FailureConditions> 
     14                </FailureConditions> 
     15                <ExpectedEffects> 
     16                        <OnSelect drive="Affiliation" target="[SELF]" value="+3"/> 
     17                </ExpectedEffects>       
     18        </ActivePursuitGoal>     
    219        <!-- Greeting --> 
    320        <ActivePursuitGoal name="MakeFriendHappy([target])"> 
     
    1027                        <EmotionCondition emotion="Joy" agent="[target]" min-intensity="1" /> 
    1128                        <!--<NewEvent occurred="True" subject="[target]" action="smile"/>--> 
     29                </SucessConditions> 
     30                <FailureConditions> 
     31                </FailureConditions> 
     32                <ExpectedEffects> 
     33                        <OnSelect drive="Affiliation" target="[SELF]" value="+3"/> 
     34                </ExpectedEffects>       
     35        </ActivePursuitGoal> 
     36        <ActivePursuitGoal name="PlayHideCandyWith([target])"> 
     37                <PreConditions> 
     38                        <Property name="[target](isPerson)" operator="=" value="True" /> 
     39                        <Property name="[target]" operator="!=" value="[SELF]" /> 
     40                </PreConditions> 
     41                <SucessConditions> 
     42                        <Property name="has([SELF],candy)" operator="=" value="True" /> 
    1243                </SucessConditions> 
    1344                <FailureConditions> 
Note: See TracChangeset for help on using the changeset viewer.