summaryrefslogtreecommitdiff
path: root/content/encyclopediae/crops.json
blob: a8c90475c294d7935b6278efc9e8a4109000ada3 (plain)
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": ["list", [
					["list", [{"type": "radishseed"}, 0.92]],
					["list", [{"type": "radishseed"}, 0.20]],
					["list", [{"type": "radish"}, 0.8]],
					["list", [{"type": "radish"}, 0.4]]
				]]}]
			],
			"flags": ["Occupied"]
		},
		"plantedradishseed": {
			"arguments": [["target_time", "int", -1]],
			"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", "int", -1]],
			"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", "int", -1]],
			"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", "int", -1], ["next", "template"], ["delay", "int"]],
			"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", "int", -1], ["next", "template"], ["delay", "int"]],
			"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", "int", -1], ["next", "template"], ["crop", "string"], ["delay", "int"]],
			"components": [
				["Timer", {
					"delay": ["arg", "delay"],
					"spread": 0.5,
					"target_time": ["arg", "target_time"],
					"trigger": "change"
				}],
				["Build", {"obj": ["arg", "next"]}],
				["Visible", {
					"name": ["concat", [["string", "young"], ["arg", "crop"], ["string", "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": ["list", [
					["list", [{"type": "carrotseed"}, 1.0]],
					["list", [{"type": "carrot"}, 1.0]]
				]]}]
			],
			"flags": ["Occupied"]
		},
		"cottonplant": {
			"sprite": "smallplant",
			"name": "cottonplant",
			"height": 1.0,
			"components": [
				["Interactable", {"typ": "trigger", "arg": "die"}],
				["Loot", {"loot": ["list", [
					["list", [{"type": "cottonseed"}, 0.92]],
					["list", [{"type": "cottonseed"}, 0.20]],
					["list", [{"type": "cotton"}, 0.8]],
					["list", [{"type": "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": {"type": "carrotseedling"}}],
		"carrotseedling": ["seedling", {"delay": 3000, "next": {"type": "youngcarrotplant"}}],
		"youngcarrotplant": ["youngplant", {"crop": "carrot", "delay": 6000, "next": {"type": "carrotplant"}}],
		"plantedcottonseed": ["plantedseed", {"delay": 6000, "next": {"type": "cottonseedling"}}],
		"cottonseedling": ["seedling", {"delay": 18000, "next": {"type": "youngcottonplant"}}],
		"youngcottonplant": ["youngplant", {"crop": "cotton", "delay": 36000, "next": {"type": "cottonplant"}}]
	}
}