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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
|
{
"assemblages": {
"rat": {
"sprite": "rat",
"height": 1.0,
"components": [
["MonsterAI", {
"view_distance": 3,
"move_chance": 0.08,
"homesickness": 0.1
}],
["Health", {"health": 8, "maxhealth": 8}],
["Fighter", {"damage": 2, "cooldown": 6}],
["Movable", {"cooldown": 3}],
["Faction", {"faction": "evil"}],
["Loot", {"loot": [
[{"$template": "radishseed"}, 1.0]
]}]
]
},
"goblin": {
"sprite": "goblin",
"height": 1.0,
"components": [
["MonsterAI", {
"view_distance": 8,
"move_chance": 0.02,
"homesickness": 0.1
}],
["Health", {"health": 15, "maxhealth": 15}],
["Fighter", {"damage": 5, "cooldown": 8}],
["Movable", {"cooldown": 4}],
["Faction", {"faction": "evil"}],
["Loot", {"loot": [
[{"$template": "sword"}, 0.05],
[{"$template": "club"}, 0.1],
[{"$template": "radish"}, 0.25]
]}]
]
},
"troll": {
"sprite": "troll",
"height": 1.0,
"components": [
["MonsterAI", {
"view_distance": 8,
"move_chance": 0.01,
"homesickness": 0.1
}],
["Health", {"health": 75, "maxhealth": 75}],
["Fighter", {"damage": 15, "cooldown": 10}],
["Movable", {"cooldown": 5}],
["Faction", {"faction": "evil"}],
["Loot", {"loot": [
[{"$template": "stone"}, 1.0],
[{"$template": "stone"}, 0.3],
[{"$template": "pebble"}, 0.5],
[{"$template": "pebble"}, 0.5],
[{"$template": "pebble"}, 0.5]
]}]
]
},
"rabbit": {
"sprite": "rabbit",
"height": 1.0,
"components": [
["MonsterAI", {
"view_distance": 3,
"move_chance": 0.08,
"homesickness": 0.01
}],
["Movable", {"cooldown": 3}],
["Faction", {"faction": "neutral"}]
]
},
"dude": {
"sprite": "human",
"height": 1.5,
"flags": ["Occupied"],
"components": [
["Interactable", {"typ": "say", "arg": "Hey there, welcome to Asciifarm"}],
["MonsterAI", {
"view_distance": 1,
"move_chance": 0.01,
"homesickness": 0.3
}]
]
},
"trader": {
"sprite": "human",
"height": 1.5,
"name": "crop trader",
"components": [
["Interactable", {"typ": "exchange", "arg": ["buy ", [
["pebble", ["radish", "radish"], ["pebble"]],
["radishseed", ["radish"], ["radishseed", "radishseed"]],
["carrotseed", ["radish"], ["carrotseed"]],
["cottonseed", ["stone"], ["cottonseed"]]
]]}],
["MonsterAI", {
"view_distance": 1,
"move_chance": 0.01,
"homesickness": 0.3
}],
["Movable", {"cooldown": 3}]
]
},
"dyetrader": {
"sprite": "human",
"height": 1.5,
"name": "dye trader",
"components": [
["Interactable", {"typ": "exchange", "arg": ["buy ", [
["red dye", ["club", "club"], ["reddye"]],
["green dye", ["stone", "stone", "stone", "stone", "stone"], ["greendye"]],
["blue dye", ["sword"], ["bluedye"]]
]]}],
["MonsterAI", {
"view_distance": 1,
"move_chance": 0.01,
"homesickness": 0.3
}],
["Movable", {"cooldown": 3}]
]
},
"toolsmith": {
"sprite": "human",
"height": 1.5,
"name": "toolsmith",
"components": [
["Interactable", {"typ": "exchange", "arg": ["buy ", [
["pickaxe", ["carrot", "carrot", "carrot", "carrot", "carrot", "carrot", "carrot", "carrot", "carrot", "carrot"], ["pickaxe"]]
]]}],
["MonsterAI", {
"view_distance": 1,
"move_chance": 0.01,
"homesickness": 0.3
}],
["Movable", {"cooldown": 3}]
]
},
"villager": {
"sprite": "human",
"height": 1.5,
"name": "villager",
"components": [
["MonsterAI", {
"view_distance": 1,
"move_chance": 0.01,
"homesickness": 0.3
}],
["Movable", {"cooldown": 3}],
["Interactable", {"typ": "say", "arg": "Hello"}]
]
}
}
}
|