Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
<atlas>
<map>
<map name="attributes">
<map name="geometry">
<map name="default">
<string name="path">dural/creatures/quadruped_v2/model/cow.mesh</string>
<string name="type">sphere</string>
<string name="scaler">y</string>
</map>
</map>
<map name="present">
<string name="default">dural/creatures/quadruped_v2/cow.modeldef</string>
</map>
<map name="maxscale">
<float name="default">1.2</float>
</map>
<!-- Herbivore -->
<map name="_modifier_consume_type_meat">
<float name="default">0</float>
</map>
<map name="_relations">
<list name="append">
<map>
<!-- By default all other entities are regarded as threats by a cow. -->
<float name="threat">1</float>
</map>
</list>
</map>
<map name="_usages">
<map name="default">
<map name="consume">
<string name="name">Graze</string>
<map name="params">
<map name="targets">
<string name="type">entity_location</string>
<string name="constraint">describe('Target must be land.', entity instance_of types.land) &amp;&amp; describe('Too far away.', actor can_reach entity_location)</string>
<int name="min">1</int>
<int name="max">1</int>
</map>
</map>
<string name="handler">world.tasks.Graze.graze</string>
</map>
</map>
</map>
<map name="_goals">
<list name="append">
<map>
<string name="class">mind.goals.common.misc_goal.Graze</string>
</map>
<map>
<string name="class">mind.goals.common.move.Roam</string>
<map name="params">
<float name="radius">10</float>
<list name="locations">
<string>origin</string>
</list>
</map>
</map>
</list>
</map>
</map>
<string name="id">cow</string>
<string name="objtype">class</string>
<string name="parent">mobile</string>
</map>
</atlas>