forked from ClifffordW/BetterCrashScreen
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodinfo_old.lua
More file actions
171 lines (126 loc) · 3.6 KB
/
modinfo_old.lua
File metadata and controls
171 lines (126 loc) · 3.6 KB
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
-- This information tells other players more about the mod
name = "Better Crash Screen"
description = ""
author = "Niko"
version = "0.33" -- 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 = false
client_only_mod = true
icon_atlas = "modicon.xml"
icon = "modicon.tex"
-- The mod's tags displayed on the server list
server_filter_tags = {
"",
}
local scales = {
}
for i = 1, 20 do
scales[i] = {description = "x"..i/10, data = i/10}
end
local pos = {
[1] = {description = "Default", data = 0}
}
for i = 2, 15 do
pos[i] = {description = "+"..i.."0", data = i*10}
end
local opt_Empty = {{description = "", data = 0}}
local function Title(title,hover)
return {
name=title,
hover=hover,
options=opt_Empty,
default=0,
}
end
local SEPARATOR = Title("")
configuration_options = {
Title("Crashscreen", "General Crashscreen Settings"),
{
name = "ReduxCrashScreen",
label = "Crash Screen Style",
hover = "",
options =
{
{ description = "Classic", data = "classic", hover="Pre-Forge Look"},
{ description = "Modern", data = "redux", hover="Post-Forge Look (Redux)"},
},
default = "classic"
},
{
name = "ClassicFrame",
label = "Classic with Frame",
hover = "Adds Frame to Classic crash screen",
options =
{
{ description = "Enabled", data = true},
{ description = "Disabled", data = false},
},
default = false
},
{
name = "reduxscale",
label = "Modern Crashscreen Scale",
hover = "",
options =
{
{ description = "Default", data = 1.08},
{ description = "1.15", data = 1.15},
{ description = "1.25", data = 1.25},
{ description = "1.5", data = 1.5},
},
default = 1.08
},
Title("Top Buttons", "Pick what mini buttons you want"),
{
name = "SaveLog",
label = "Save Log Button",
hover = "Saves log into DST's data folder",
options =
{
{ description = "Enabled", data = 1 },
{ description = "Disabled", data = 0 },
},
default = 1
},
{
name = "DocumentsButton",
label = "Clientlog Folder Button",
hover = "Opens your DST documents folder. \nGo back by one folder to find client log",
options =
{
{ description = "Enabled", data = 1 },
{ description = "Disabled", data = 0 },
},
default = 1
},
{
name = "CombinedButtons",
label = "Combined Buttons",
hover = "Combines both buttons \nThis hides the text!",
options =
{
{ description = "Enabled", data = true },
{ description = "Disabled", data = false },
},
default = false
},
{
name = "ButtonsCloserToLog",
label = "Closer Buttons",
hover = "Puts the small buttons closer to the log \nOnly when combined!",
options =
{
{ description = "Enabled", data = true },
{ description = "Disabled", data = false },
},
default = true
},
}