-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodinfo.lua
251 lines (237 loc) · 7.74 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
-- This information tells other players more about the mod
name = "Enhanced Eye mask and Shield of Terror"
description = [[
This mod makes Eye Mask and Shield of Terror easier to use.
Adds a config for Eye Mask and Shield of Terror.
Makes them not disappear at 0% and also not work.
(Can be disabled in the config)
Repairs faster like a bone armor.
(Can be disabled in the config)
]]
author = "ZeroRyuk"
version = "1.0.4" -- This is the version of the template. Change it to your own number.
-- This lets other players know if your mod is out of date, update it to match the current version in the game
api_version = 10
-- Compatible with Don't Starve Together
dst_compatible = true
-- Not compatible with Don't Starve
dont_starve_compatible = false
reign_of_giants_compatible = false
shipwrecked_compatible = false
-- Character mods are required by all clients
all_clients_require_mod = true
icon_atlas = "modicon.xml"
icon = "modicon.tex"
-- The mod's tags displayed on the server list
server_filter_tags = {
"item",
}
local function Title(title)
return {
name=title,
hover = "",
options={{description = "", data = 0}},
default = 0,
}
end
configuration_options = {
Title("Faster Animation"),
{
name = "custom_eye_feed",
label = "Faster Feeding Animation",
hover = "As fast as repairing Bone armor",
options =
{
{description = "True (Default)", data = true},
{description = "False", data = false},
},
default = true,
},
Title("Won't break at 0%"),
{
name = "custom_eye_ubreakable",
label = "Doesn't break like Bone Armor",
hover = "Eye Mask and Shield of Terror won't break on 0",
options =
{
{description = "True (Default)", data = true},
{description = "False", data = false},
},
default = true,
},
Title("Durability (HP)"),
{
name = "custom_eye_m_dur",
label = "Eye Mask Durability (HP)",
hover = "DEFAULT = No change",
options =
{
{description = "DEFAULT", data = 0},
{description = "150", data = 150},
{description = "200", data = 200},
{description = "300", data = 300},
{description = "400", data = 400},
{description = "500", data = 500},
{description = "600", data = 600},
{description = "700", data = 700},
{description = "800", data = 800},
{description = "900", data = 900},
{description = "1000", data = 1000},
{description = "2000", data = 2000},
{description = "3000", data = 3000},
{description = "4000", data = 4000},
{description = "5000", data = 5000},
{description = "INFINITE", data = 9999},
},
default = 0,
},
{
name = "custom_eye_s_dur",
label = "Shield of Terror Durability (HP)",
hover = "DEFAULT = No change",
options =
{
{description = "DEFAULT", data = 0},
{description = "150", data = 150},
{description = "200", data = 200},
{description = "300", data = 300},
{description = "400", data = 400},
{description = "500", data = 500},
{description = "600", data = 600},
{description = "700", data = 700},
{description = "800", data = 800},
{description = "900", data = 900},
{description = "1000", data = 1000},
{description = "2000", data = 2000},
{description = "3000", data = 3000},
{description = "4000", data = 4000},
{description = "5000", data = 5000},
{description = "INFINITE", data = 9999},
},
default = 0,
},
Title("Repair Mult"),
{
name = "custom_eye_health_repair_mult",
label = "Health Repair Multiplier",
hover = "4x default",
options =
{
{description = "1x", data = 1},
{description = "1.5x", data = 1.5},
{description = "1.75x", data = 1.75},
{description = "2x", data = 2},
{description = "3x", data = 3},
{description = "4x", data = 4},
{description = "5x", data = 5},
{description = "6x", data = 6},
{description = "7x", data = 7},
{description = "8x", data = 8},
{description = "9x", data = 9},
{description = "10x", data = 10},
},
default = 4,
},
{
name = "custom_eye_hunger_repair_mult",
label = "Hunger Repair Multiplier",
hover = "1.75x default",
options =
{
{description = "1x", data = 1},
{description = "1.5x", data = 1.5},
{description = "1.75x", data = 1.75},
{description = "2x", data = 2},
{description = "3x", data = 3},
{description = "4x", data = 4},
{description = "5x", data = 5},
{description = "6x", data = 6},
{description = "7x", data = 7},
{description = "8x", data = 8},
{description = "9x", data = 9},
{description = "10x", data = 10},
},
default = 1.75,
},
Title("Damage Absorbed/Blocked"),
{
name = "custom_eye_m_abs",
label = "Eye Mask Absorbed",
hover = "How much damage it blocks",
options =
{
{description = "0%", data = 0},
{description = "10%", data = 10},
{description = "20%", data = 20},
{description = "30%", data = 30},
{description = "40%", data = 40},
{description = "50%", data = 50},
{description = "60%", data = 60},
{description = "70%", data = 70},
{description = "80%", data = 80},
{description = "90%", data = 90},
{description = "100%", data = 100},
},
default = 80,
},
{
name = "custom_eye_s_abs",
label = "Shield of Terror Absorbed",
hover = "How much damage it blocks",
options =
{
{description = "0%", data = 0},
{description = "10%", data = 10},
{description = "20%", data = 20},
{description = "30%", data = 30},
{description = "40%", data = 40},
{description = "50%", data = 50},
{description = "60%", data = 60},
{description = "70%", data = 70},
{description = "80%", data = 80},
{description = "90%", data = 90},
{description = "100%", data = 100},
},
default = 80,
},
Title("Attack Damage"),
{
name = "custom_eye_s_dmg",
label = "Shield of Terror DMG",
options =
{
{description = "0", data = 0},
{description = "5", data = 5},
{description = "10", data = 10},
{description = "17", data = 17},
{description = "34", data = 34 , hover = "Same with Spear"},
{description = "51 (Default)", data = 51, hover = "Same with Tentacle Spike"},
{description = "68", data = 68, hover = "Same with Dark Sword"},
{description = "85", data = 85},
{description = "102", data = 102},
{description = "119", data = 119},
{description = "136", data = 136},
{description = "153", data = 153},
{description = "170", data = 170},
{description = "187", data = 187},
{description = "204", data = 204},
},
default = 51,
},
{
name = "custom_eye_s_dmg_broken",
label = "Shield of Terror Broken DMG",
options =
{
{description = "0", data = 0},
{description = "5", data = 5},
{description = "10 (Default)", data = 10},
{description = "17", data = 17},
{description = "34", data = 34 , hover = "Same with Spear"},
{description = "51", data = 51, hover = "Same with Tentacle Spike"},
{description = "68", data = 68, hover = "Same with Dark Sword"},
{description = "102", data = 102},
},
default = 10,
},
}