-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodinfo.lua
308 lines (303 loc) · 9.9 KB
/
modinfo.lua
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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
---@diagnostic disable: lowercase-global
local function trim(s) return s:gsub("^%s*(.-)%s*$", "%1") end
-- custom field for description and in-game constants
_src_url = "https://github.com/gyroplast/mod-dont-starve-prefab-counter"
name = "Prefab Counter"
author = "Gyroplast"
version = "1.0.4"
forumthread = ""
api_version = 10
dont_starve_compatible = false
reign_of_giants_compatible = false
dst_compatible = true
icon_atlas = "modicon.xml"
icon = "modicon.tex"
all_clients_require_mod = false
client_only_mod = false
server_filter_tags = {"prefab counter"}
description = trim [[
Version __VERSION__, Steam ID 2618765953
Easily count a configurable list of prefabs/items in a world, like walrus camps,
amount of reeds, etc., to quickly check if a generated world is worth playing.
Just run PC:Count() in the remote console to show a fresh count of items in the current shard.
Sources: __SRC_URL__
]]:gsub("__VERSION__", version):gsub("__SRC_URL__", _src_url)
configuration_options = {
{
name = "title_general_settings",
label = "General Settings",
hover = "",
options = {{description = "", data = ""}},
default = ""
}, {
name = "log_level",
label = "Log Level",
hover = "Write log messages to file with selected or higher severity. Trace may contain sensitive data and/or be very chatty!",
options = {
{description = "Trace", data = "TRACE"},
{description = "Debug", data = "DEBUG"},
{description = "Info", data = "INFO"},
{description = "Warning", data = "WARNING"},
{description = "Error", data = "ERROR"}
},
default = "INFO"
}, {
name = "show_zero_counts",
label = "Show zero-count items",
hover = "When reporting item counts, also show items of which none are found.",
options = {
{description = "Yes", data = true},
{description = "No", data = false}
},
default = true
}, {
name = "title_show_counts",
label = "Show Counts",
hover = "",
options = {{description = "", data = ""}},
default = ""
}, {
name = "count_ruins_statue",
label = "Ancient Statues",
hover = "Count number of ancient statues with gems in the world.",
options = {
{description = "Yes", data = true},
{description = "No", data = false}
},
default = true
}, {
name = "count_ruins_statue_nogem",
label = "Ancient Statues, No Gem",
hover = "Count number of ancient statues without gems in the world.",
options = {
{description = "Yes", data = true},
{description = "No", data = false}
},
default = true
}, {
name = "count_trap_starfish",
label = "Anenemies",
hover = "Count number of anenemies in the world.",
options = {
{description = "Yes", data = true},
{description = "No", data = false}
},
default = true
}, {
name = "count_beefalo",
label = "Beefalos",
hover = "Count number of beefalos in the world.",
options = {
{description = "Yes", data = true},
{description = "No", data = false}
},
default = true
}, {
name = "count_beehive",
label = "Beehives",
hover = "Count number of beehives in the world.",
options = {
{description = "Yes", data = true},
{description = "No", data = false}
},
default = true
}, {
name = "count_berrybushes",
label = "Berry Bushes",
hover = "Count number of berry bushes (normal and leafy) in the world.",
options = {
{description = "Yes", data = true},
{description = "No", data = false}
},
default = true
}, {
name = "count_chessjunk",
label = "Broken Clockworks",
hover = "Count number of broken clockworks in the world.",
options = {
{description = "Yes", data = true},
{description = "No", data = false}
},
default = true
}, {
name = "count_clockworks",
label = "Clockworks",
hover = "Count number of clockworks (enemy knight, rook, bishop) in the world.",
options = {
{description = "Yes", data = true},
{description = "No", data = false}
},
default = true
}, {
name = "count_berrybush_juicy",
label = "Juicy Berry Bushes",
hover = "Count number of juicy berry bushes in the world.",
options = {
{description = "Yes", data = true},
{description = "No", data = false}
},
default = true
}, {
name = "count_wasphive",
label = "Killer Beehives",
hover = "Count number of killer beehives in the world.",
options = {
{description = "Yes", data = true},
{description = "No", data = false}
},
default = true
}, {
name = "count_lureplant",
label = "Lureplant",
hover = "Count number of lureplants/meat bulbs in the world.",
options = {
{description = "Yes", data = true},
{description = "No", data = false}
},
default = true
}, {
name = "count_mandrake_planted",
label = "Mandrakes",
hover = "Count number of planted mandrakes in the world.",
options = {
{description = "Yes", data = true},
{description = "No", data = false}
},
default = true
}, {
name = "count_marblepillar",
label = "Marble Pillars",
hover = "Count number of marble pillars in the world.",
options = {
{description = "Yes", data = true},
{description = "No", data = false}
},
default = true
}, {
name = "count_marble_statues",
label = "Marble Statues",
hover = "Count number of marble statues in the world.",
options = {
{description = "Yes", data = true},
{description = "No", data = false}
},
default = true
}, {
name = "count_marbletree",
label = "Marble Trees",
hover = "Count number of marble trees in the world.",
options = {
{description = "Yes", data = true},
{description = "No", data = false}
},
default = true
}, {
name = "count_statuemaxwell",
label = "Maxwell Statues",
hover = "Count number of Maxwell statues in the world.",
options = {
{description = "Yes", data = true},
{description = "No", data = false}
},
default = true
}, {
name = "count_mermhouse",
label = "Merm Houses",
hover = "Count number of merm houses in the world.",
options = {
{description = "Yes", data = true},
{description = "No", data = false}
},
default = true
}, {
name = "multicount_monkeyhuts",
label = "Monkey Huts/Pods",
hover = "Count number of monkey huts and splumonkey pods in the world.",
options = {
{description = "Yes", data = true},
{description = "No", data = false}
},
default = true
}, {
name = "count_pighouse",
label = "Pig Houses",
hover = "Count number of pig houses in the world.",
options = {
{description = "Yes", data = true},
{description = "No", data = false}
},
default = true
}, {
name = "count_rabbithouse",
label = "Rabbit Hutches",
hover = "Count number of rabbit hutches/houses in the world.",
options = {
{description = "Yes", data = true},
{description = "No", data = false}
},
default = true
}, {
name = "count_reeds",
label = "Reeds",
hover = "Count number of reeds in the world.",
options = {
{description = "Yes", data = true},
{description = "No", data = false}
},
default = true
}, {
name = "count_sapling",
label = "Saplings",
hover = "Count number of saplings in the world.",
options = {
{description = "Yes", data = true},
{description = "No", data = false}
},
default = true
}, {
name = "multicount_spiders",
label = "Spider Den 1/2/3/Queen/Eggs",
hover = "Count number of Spider Den Tier 1/2/3. Spider Queens, and Spider Eggs in the world.",
options = {
{description = "Yes", data = true},
{description = "No", data = false}
},
default = true
}, {
name = "count_rock_avocado_bush",
label = "Stone Fruit Bushes",
hover = "Count number of stone fruit bushes in the world.",
options = {
{description = "Yes", data = true},
{description = "No", data = false}
},
default = true
}, {
name = "count_lightninggoat",
label = "Volt Goats",
hover = "Count number of in the world.",
options = {
{description = "Yes", data = true},
{description = "No", data = false}
},
default = true
}, {
name = "count_walrus_camp",
label = "Walrus Camps",
hover = "Count number of walrus camps in the world.",
options = {
{description = "Yes", data = true},
{description = "No", data = false}
},
default = true
}, {
name = "count_wormhole",
label = "Wormholes",
hover = "Count number of wormholes in the world.",
options = {
{description = "Yes", data = true},
{description = "No", data = false}
},
default = true
}
}