This repository was archived by the owner on Dec 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathcow.xml
More file actions
68 lines (66 loc) · 2.72 KB
/
cow.xml
File metadata and controls
68 lines (66 loc) · 2.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<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>