This repository has been 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
/
wolf.xml
118 lines (117 loc) · 4.49 KB
/
wolf.xml
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<atlas>
<map>
<map name="attributes">
<map name="geometry">
<map name="default">
<string name="path">dural/creatures/wolf/model/wolf.mesh</string>
<string name="type">sphere</string>
<string name="scaler">y</string>
</map>
</map>
<map name="present">
<string name="default">dural/creatures/wolf/wolf.modeldef</string>
</map>
<map name="maxscale">
<float name="default">1.2</float>
</map>
<!-- Carnivore -->
<map name="_modifier_consume_type_plant">
<float name="default">0</float>
</map>
<map name="damage_strike">
<float name="default">10</float>
</map>
<map name="cooldown_strike">
<float name="default">1</float>
</map>
<map name="warmup_strike">
<float name="default">0.2</float>
</map>
<map name="_usages">
<map name="default">
<map name="strike">
<string name="name">Bite</string>
<map name="params">
<map name="targets">
<string name="type">entity</string>
<string name="constraint">entity instance_of types.game_entity</string>
<int name="min">0</int>
<int name="max">1</int>
</map>
</map>
<string name="handler">world.objects.tools.Unarmed.strike</string>
</map>
</map>
</map>
<map name="_relations">
<list name="default">
<!-- Fight humans, pigs and rabbits. -->
<map>
<string name="filter">entity.type=types.human || entity.type=types.pig || entity.type=types.rabbit</string>
<float name="disposition">-10</float>
<float name="threat">-10</float>
</map>
</list>
</map>
<map name="__scripts">
<list name="append">
<map>
<string name="language">python</string>
<string name="name">world.traits.Levelable.Levelled</string>
</map>
</list>
</map>
<map name="levelled_modifiers">
<map name="append">
<map name="damage_strike">
<float name="add_fraction">0.1</float>
</map>
<map name="xp_provided">
<float name="add_fraction">0.1</float>
</map>
</map>
</map>
<map name="level">
<int name="default">0</int>
</map>
<map name="xp_provided">
<float name="default">5</float>
</map>
<map name="_goals">
<list name="append">
<map>
<string name="class">mind.goals.common.move.Roam</string>
<map name="params">
<float name="radius">20</float>
<list name="locations">
<string>origin</string>
</list>
</map>
</map>
</list>
</map>
</map>
<string name="id">wolf</string>
<string name="objtype">class</string>
<string name="parent">mobile</string>
</map>
<map>
<string name="id">wolf_spawner</string>
<string name="objtype">class</string>
<string name="parent">spawner_instances</string>
<map name="attributes">
<map name="__spawner_interval">
<int name="default">300</int>
</map>
<map name="__spawner_entity">
<map name="default">
<string name="objtype">obj</string>
<string name="parent">wolf</string>
</map>
</map>
<map name="__spawner_amount">
<int name="default">2</int>
</map>
</map>
</map>
</atlas>