

response BarneyAttack sentence BA_ATTACK
response BarneyMad sentence BA_MAD delay 4 soundlevel "SNDLVL_NORM"
response BarneyShot sentence BA_SHOT delay 4 soundlevel "SNDLVL_NORM"
response BarneyKill sentence BA_KILL delay 4 soundlevel "SNDLVL_NORM"
response BarneyPOk sentence BA_POK delay 2 soundlevel "SNDLVL_NORM"

response "BarneyAnswer" sentence "BA_ANSWER" defaultdelay
response "BarneyStare" sentence "BA_STARE" delay "5,7.5"
response "BarneyOk" sentence "BA_OK" defaultdelay
response "BarneyWait" sentence "BA_WAIT" defaultdelay
response "BarneyStop" sentence "BA_STOP" delay "2,2.5"  soundlevel "SNDLVL_NORM"
response "BarneyScared" sentence "BA_SCARED" delay "0,0.4"
response "BarneyCureA" sentence "BA_CUREA"  defaultdelay speakonce
response "BarneyCureB" sentence "BA_CUREB"  defaultdelay speakonce
response "BarneyCureC" sentence "BA_CUREC"  defaultdelay speakonce
response "BarneySmell" sentence "BA_SMELL" defaultdelay respeakdelay "60"
response "BarneyWound" sentence "BA_WOUND"  speakonce defaultdelay
response "BarneyMortal" sentence "BA_MORTAL"  speakonce defaultdelay

response "BarneyQuestionPreDisaster" sentence "BA_PQUEST" defaultdelay
response "BarneyQuestionPostDisaster" sentence "BA_QUESTION" defaultdelay
response "BarneyIdlePostDisaster" sentence "BA_IDLE" defaultdelay
response "BarneyHelloPostDisaster" sentence "BA_HELLO" delay "3,3.5" speakonce

criterion "ConceptBarneyAttack" "Concept" "BA_ATTACK" required
criterion "ConceptBarneyMad" "Concept" "BA_MAD" required
criterion "ConceptBarneyShot" "Concept" "BA_SHOT" required
criterion "ConceptBarneyKill" "Concept" "BA_KILL" required
criterion "ConceptBarneyPOk" "Concept" "BA_POK" required

criterion "IsBarney" "classname" "monster_barney" required

rule BarneyAttack
{
	criteria IsBarney ConceptBarneyAttack
	response BarneyAttack
}
rule BarneyMad
{
	criteria IsBarney ConceptBarneyMad
	response BarneyMad
}
rule BarneyShot
{
	criteria IsBarney ConceptBarneyShot
	response BarneyShot
}
rule BarneyKill
{
	criteria IsBarney ConceptBarneyKIll
	response BarneyKill
}
rule BarneyPOk
{
	criteria IsBarney ConceptBarneyPOk
	response BarneyPOk
}

rule BarneyTlkAnswer
{
	criteria		IsBarney ConceptTalkAnswer
	response		BarneyAnswer
}
rule BarneyTlkStare
{
	criteria		IsBarney ConceptTalkStare
	response		BarneyStare
}

rule BarneyTlkStartFollow
{
	criteria		IsBarney ConceptTalkStartFollow
	response		BarneyOk
}

rule BarneyTlkStopFollow
{
	criteria		IsBarney ConceptTalkStopFollow
	response		BarneyWait
}

rule BarneyTlkStop
{
	criteria		IsBarney ConceptTalkStop
	response		BarneyStop
}

rule BarneyTlkNoShoot
{
	criteria		IsBarney ConceptTalkNoShoot
	response		BarneyScared
}

rule BarneyPlayerHurt1
{
	criteria		IsBarney ConceptTalkPlayerHurt1
	response		BarneyCureA
}
rule BarneyPlayerHurt2
{
	criteria		IsBarney ConceptTalkPlayerHurt2
	response		BarneyCureB
}
rule BarneyPlayerHurt3
{
	criteria		IsBarney ConceptTalkPlayerHurt3
	response		BarneyCureC
}

rule BarneyTlkSmell
{
	criteria		IsBarney ConceptTalkSmell
	response		BarneySmell
}
rule BarneyTlkWound
{
	criteria		IsBarney ConceptTalkWound
	response		BarneyWound
}
rule BarneyTlkMortal
{
	criteria		IsBarney ConceptTalkMortal
	response		BarneyMortal
}


// Pre disaster
rule BarneyTlkHelloPre
{
	criteria		IsBarney ConceptTalkHello IsPreDisaster
	response		NullResponse
}

rule BarneyTlkQuestionPre
{
	criteria		IsBarney ConceptTalkQuestion IsPreDisaster
	response		BarneyQuestionPreDisaster
}
rule BarneyTlkIdlePre
{
	criteria		IsBarney ConceptTalkIdle IsPreDisaster
	response		NullResponse
}

rule BarneyTlkHelloPost
{
	criteria		IsBarney ConceptTalkHello IsPostDisaster
	response		BarneyHelloPostDisaster
}

rule BarneyTlkQuestionPost
{
	criteria		IsBarney ConceptTalkQuestion IsPostDisaster
	response		BarneyQuestionPostDisaster
}
rule BarneyTlkIdlePost
{
	criteria		IsBarney ConceptTalkIdle IsPostDisaster
	response		BarneyIdlePostDisaster
}