Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
68 lines (66 sloc)
2.72 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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) && 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> |