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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
|
{
"assemblages": {
"radishplant": {
"sprite": "smallplant",
"name": "radishplant",
"height": 0.5,
"components": [
["Interactable", {"typ": "trigger", "arg": "die"}],
["Loot", {"loot": [
[{"$template": "radishseed"}, 0.92],
[{"$template": "radishseed"}, 0.20],
[{"$template": "radish"}, 0.8],
[{"$template": "radish"}, 0.4]
]}]
],
"flags": ["Occupied"]
},
"plantedradishseed": {
"arguments": {"target_time": []},
"sprite": "seed",
"height": 0.05,
"name": "seed",
"components": [
["Timer", {
"delay": 600,
"spread": 0.5,
"target_time": {"$arg": "target_time"},
"trigger": "change"
}],
["Build", {"obj": {"$template": "radishseedling"}}]
],
"extract": {
"target_time": ["Timer", "target_time"]
},
"flags": ["Occupied"]
},
"radishseedling": {
"arguments": {"target_time": []},
"sprite": "seedling",
"height": 0.05,
"name": "seedling",
"components": [
["Timer", {
"delay": 600,
"spread": 0.5,
"target_time": {"$arg": "target_time"},
"trigger": "change"
}],
["Build", {"obj": {"$template": "youngradishplant"}}]
],
"extract": {
"target_time": ["Timer", "target_time"]
},
"flags": ["Occupied"]
},
"youngradishplant": {
"arguments": {"target_time": []},
"sprite": "youngplant",
"height": 0.8,
"name": "youngradishplant",
"components": [
["Timer", {
"delay": 600,
"spread": 0.5,
"target_time": {"$arg": "target_time"},
"trigger": "change"
}],
["Build", {"obj": {"$template": "radishplant"}}]
],
"extract": {
"target_time": ["Timer", "target_time"]
},
"flags": ["Occupied"]
},
"plantedseed": {
"arguments": {"target_time": [], "next": null, "delay": null},
"sprite": "seed",
"height": 0.05,
"name": "plantedseed",
"components": [
["Timer", {
"delay": {"$arg": "delay"},
"spread": 0.5,
"target_time": {"$arg": "target_time"},
"trigger": "change"
}],
["Build", {"obj": {"$arg": "next"}}]
],
"extract": {
"target_time": ["Timer", "target_time"]
},
"flags": ["Occupied"]
},
"seedling": {
"arguments": {"target_time": [], "next": null, "delay": null},
"sprite": "seed",
"height": 0.09,
"name": "seedling",
"components": [
["Timer", {
"delay": {"$arg": "delay"},
"spread": 0.5,
"target_time": {"$arg": "target_time"},
"trigger": "change"
}],
["Build", {"obj": {"$arg": "next"}}]
],
"extract": {
"target_time": ["Timer", "target_time"]
},
"flags": ["Occupied"]
},
"youngplant": {
"arguments": {"target_time": [], "next": null, "delay": null, "crop": null},
"components": [
["Timer", {
"delay": {"$arg": "delay"},
"spread": 0.5,
"target_time": {"$arg": "target_time"},
"trigger": "change"
}],
["Build", {"obj": {"$arg": "next"}}],
["Visible", {
"name": {"$concat": ["young", {"$arg": "crop"}, "plant"]},
"sprite": "youngplant",
"height": 0.8
}]
],
"extract": {
"target_time": ["Timer", "target_time"]
},
"flags": ["Occupied"]
},
"carrotplant": {
"sprite": "smallplant",
"name": "carrotplant",
"height": 1.0,
"components": [
["Interactable", {"typ": "trigger", "arg": "die"}],
["Loot", {"loot": [
[{"$template": "carrotseed"}, 1.0],
[{"$template": "carrot"}, 1.0]
]}]
],
"flags": ["Occupied"]
},
"cottonplant": {
"sprite": "smallplant",
"name": "cottonplant",
"height": 1.0,
"components": [
["Interactable", {"typ": "trigger", "arg": "die"}],
["Loot", {"loot": [
[{"$template": "cottonseed"}, 0.92],
[{"$template": "cottonseed"}, 0.20],
[{"$template": "cotton"}, 0.8],
[{"$template": "cotton"}, 0.4]
]}]
],
"flags": ["Occupied"]
},
"radishes": {
"substitute": "radish"
}
},
"items": {
"radishseed": {"sprite": "seed", "action": {"build": ["plantedradishseed", ["Floor", "Soil"], ["Occupied", "Blocking"]]}},
"radish": {"sprite": "food", "action": {"eat": 3}},
"radishes": {"sprite": "food", "name": "radish", "entity": "radish", "action": {"eat": 3}},
"eldritch_radish": {"sprite": "food", "name": "eldritch_radish", "action": {"eat": 20}},
"carrotseed": {"sprite": "seed", "action": {"build": ["plantedcarrotseed", ["Floor", "Soil"], ["Occupied", "Blocking"]]}},
"carrot": {"sprite": "food", "action": {"eat": 5}},
"cottonseed": {"sprite": "seed", "action": {"build": ["plantedcottonseed", ["Floor", "Soil"], ["Occupied", "Blocking"]]}},
"cotton": {"sprite": "cotton"},
"cottonyarn": {"sprite": "cottonyarn"},
"cottoncloth": {"sprite": "cottoncloth"}
},
"templates":{
"plantedcarrotseed": ["plantedseed", {"delay": 1800, "next": {":template": "carrotseedling"}}],
"carrotseedling": ["seedling", {"delay": 3000, "next": {":template": "youngcarrotplant"}}],
"youngcarrotplant": ["youngplant", {"crop": "carrot", "delay": 6000, "next": {":template": "carrotplant"}}],
"plantedcottonseed": ["plantedseed", {"delay": 6000, "next": {":template": "cottonseedling"}}],
"cottonseedling": ["seedling", {"delay": 18000, "next": {":template": "youngcottonplant"}}],
"youngcottonplant": ["youngplant", {"crop": "cotton", "delay": 36000, "next": {":template": "cottonplant"}}]
}
}
|