-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmodinfo.lua
More file actions
133 lines (131 loc) · 4.43 KB
/
modinfo.lua
File metadata and controls
133 lines (131 loc) · 4.43 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
name = "Sort Inventory"
description = "Sorts inventory by weapons, equipment, food, etc when you press z. Ctrl+z changes the sorting method. Shift+z toggles whether the first 1-2 slots are sorted. (See Workshop page for v1.2 updates!)"
author = "Brody & Whismerhill"
version = "1.3"
forumthread = ""
api_version = 6
icon_atlas = "modicon.xml"
icon = "modicon.tex"
restart_required = false
dont_starve_compatible = true
reign_of_giants_compatible = true
shipwrecked_compatible = true
configuration_options =
{
{
name = "BackpackSortConf",
label = "Sort Backpack",
options =
{
{description = "Yes", data = true},
{description = "No", data = false},
},
default = true,
hover = "Whether or not to sort the backpack content as well",
},
{
name = "SortOrderConf",
label = "Sorting Order",
options =
{
{description = "1: ", data = 1}, --Dump everything in inventory in an intuitive order
{description = "2: ", data = 2}, --Stick others at end, starting in the pack if present
{description = "3: ", data = 3}, --Place all food into backpack if possible. Do food last
{description = "4: ", data = 4}, --keep weapons and tools just left of equipslots, then from left to right: others, food
},
default = 1,
hover = "Controls the default order for autosorting (changeable with keybind)",
},
{
name = "Key_SortConf",
label = "Sorting Keybind",
options =
{
{description = "A", data = 97},
{description = "B", data = 98},
{description = "C", data = 99},
{description = "D", data = 100},
{description = "E", data = 101},
{description = "F", data = 102},
{description = "G", data = 103},
{description = "H", data = 104},
{description = "I", data = 105},
{description = "J", data = 106},
{description = "K", data = 107},
{description = "L", data = 108},
{description = "M", data = 109},
{description = "N", data = 110},
{description = "O", data = 111},
{description = "P", data = 112},
{description = "Q", data = 113},
{description = "R", data = 114},
{description = "S", data = 116},
{description = "T", data = 116},
{description = "U", data = 117},
{description = "V", data = 118},
{description = "W", data = 119},
{description = "X", data = 120},
{description = "Y", data = 121},
{description = "Z(default)", data = 122},
{description = "F1", data = 282},
{description = "F2", data = 283},
{description = "F3", data = 284},
{description = "F4", data = 285},
{description = "F5", data = 286},
{description = "F6", data = 287},
{description = "F7", data = 288},
{description = "F8", data = 289},
{description = "F9", data = 290},
{description = "F10", data = 291},
{description = "F11", data = 292},
{description = "F12", data = 293},
},
default = 122,
},
{
name = "Key_BackpackConf",
label = "Backpack Sort Keybind",
options =
{
{description = "A", data = 97},
{description = "B", data = 98},
{description = "C", data = 99},
{description = "D", data = 100},
{description = "E", data = 101},
{description = "F", data = 102},
{description = "G", data = 103},
{description = "H", data = 104},
{description = "I", data = 105},
{description = "J", data = 106},
{description = "K", data = 107},
{description = "L", data = 108},
{description = "M", data = 109},
{description = "N", data = 110},
{description = "O", data = 111},
{description = "P(default)", data = 112},
{description = "Q", data = 113},
{description = "R", data = 114},
{description = "S", data = 116},
{description = "T", data = 116},
{description = "U", data = 117},
{description = "V", data = 118},
{description = "W", data = 119},
{description = "X", data = 120},
{description = "Y", data = 121},
{description = "Z", data = 122},
{description = "F1", data = 282},
{description = "F2", data = 283},
{description = "F3", data = 284},
{description = "F4", data = 285},
{description = "F5", data = 286},
{description = "F6", data = 287},
{description = "F7", data = 288},
{description = "F8", data = 289},
{description = "F9", data = 290},
{description = "F10", data = 291},
{description = "F11", data = 292},
{description = "F12", data = 293},
},
default = 112,
},
}