-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.js
192 lines (188 loc) · 6.95 KB
/
settings.js
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
import { SettingsObject, Setting } from 'SettingsManager/SettingsManager'
let FishingUtils = new SettingsObject("FishingUtils", [{
name: "Fishing Display",
settings: [
new Setting.Toggle("Display Fishing Stats", true),
new Setting.Toggle("Show Seasonal Stats", true),
new Setting.StringSelector("Text Align", 0, [
"Left",
"Center",
"Right"
]),
new Setting.StringSelector("Line Order", 0, [
"Top to Bottom",
"Bottom to Top"
]),
new Setting.Button("Move Display", "Click", function() {
ChatLib.command("fu move", true)
}),
new Setting.Toggle("Text Shadow", false),
new Setting.Toggle("Background", false),
new Setting.ColorPicker("Background Color", [34, 34, 39]),
new Setting.Slider("Background Opacity", 255, 0, 255),
new Setting.Toggle("Shorten Text", false),
new Setting.Toggle("Show Last Caught", false),
new Setting.Toggle("Show Mythical Fish Since Last Ultra Rare", false)
]
},
{
name: "Mythic Display",
settings: [
new Setting.Toggle("Mythical Fish Display", true),
new Setting.Button("Move Display", "Click", function() {
ChatLib.command("fu move mythic", true)
}),
new Setting.Toggle("Lock Display to Top Right", true),
new Setting.Toggle("Background", false),
new Setting.ColorPicker("Background Color", [34, 34, 39]),
new Setting.Slider("Background Opacity", 255, 0, 255)
]
},
{
name: "Mythic Catch Assist",
settings: [
new Setting.Toggle("Mythical Alarm", false),
new Setting.Slider("Volume", 100, 0, 100),
new Setting.Toggle("Catch Overlay", true),
new Setting.TextInput("Green Phase Text", "Click!"),
new Setting.TextInput("Yellow Phase Text", "Click!"),
new Setting.TextInput("Red Phase Text", "Wait!"),
new Setting.Toggle("Show Time Left", true),
new Setting.Toggle("Show Health Bar", true),
new Setting.Toggle("Show Heat Bar", false),
new Setting.Toggle("Show Clicks Left", true),
new Setting.Toggle("Custom Catch Message", true),
new Setting.Toggle("Show Phase Data in Action Bar", false)
]
},
{
name: "Announcer",
settings: [
new Setting.Toggle("Thousand Announcer", true),
new Setting.StringSelector("Announcer Increment", 0, [
"1K",
"5K",
"10K",
"25K",
"50K",
"100K"
]),
new Setting.Toggle("One Treasure Announcer", true),
]
},
{
name: "Goals",
settings: [
new Setting.Toggle("Goals", false),
new Setting.Toggle("Darken Goal Denominator", false),
new Setting.StringSelector("Goal Preset", 0, [
"None (Use Custom Goals)",
"Achievements",
"Fishing Rewards"
]),
new Setting.Button("Set Custom Goals", "Click", function() {
ChatLib.command("fu goals", true);
Client.Companion.setCurrentChatMessage("/fu goals");
})
]
},
{
name: "Auto GC",
settings: [
new Setting.Toggle("Auto GC", false),
new Setting.TextInput("Message", "gc"),
new Setting.Button("Test Message", "Click", function() {
ChatLib.command("fu testautogc", true)
})
]
},
{
name: "/fs",
settings: [
new Setting.Toggle("Style Name", false),
new Setting.Toggle("Show Master Tier", false),
new Setting.Toggle("Use Roman Numerals for Enchants", true),
new Setting.Toggle("Ignore Old Mahi Mahi", false),
new Setting.Toggle("Show More Info in Hover", false)
]
},
{
name: "Custom Trails",
settings: [
new Setting.Toggle("Custom Trails", false),
new Setting.Toggle("Only Show in the Main Lobby", true),
new Setting.StringSelector("Preset", 0, [
"None (Use Custom Trails)",
"Emerald",
"Sparkle",
"Treasure's Sheen",
"Beloved Junk",
"Archimedes' Trail",
"Hades' Hook",
"Musical",
"Ring of Fire",
"Rainbow",
"Love",
"Moon",
"Boiling",
"Absorb",
"Learn",
"Stop Fishing",
"Fish"
]),
new Setting.StringSelector("Trail Type", 0, [
"Emerald",
"Hearts",
"Water",
"Fire",
"Storm",
"Dust",
"Small Dust",
"Large Dust",
"Rising Dust",
"Falling Dust",
"Magic Dust",
"Cloud",
"Large Cloud",
"Crit",
"Magic Crit",
"Runes",
"Stars",
"Music Notes"
]),
new Setting.StringSelector("Trail Shape", 0, [
"Orbit",
"Orbit (Close)",
"Orbit (Far)",
"Continuous",
"Burst",
"Halo",
"Sine Wave",
"Sawtooth"
]),
new Setting.Toggle("Use Custom Color", false),
new Setting.ColorPicker("Trail Color", [255, 255, 255]),
new Setting.Toggle("Rainbow Color", false),
new Setting.Slider("Trail Opacity", 100, 0, 100),
new Setting.Toggle("Use Custom Lifespan", false),
new Setting.Slider("Trail Lifespan", 20, 1, 100)
]
},
{
name: "Miscellaneous",
settings: [
new Setting.Slider("AFK Alert Threshold", 0, 0, 60),
new Setting.Toggle("Dockmaster Waypoint", false),
new Setting.Toggle("Hide Leaderboard Switch Messages", false),
new Setting.Toggle("Basic Mode", false),
new Setting.TextInput("Thousand Separator Character", ","),
new Setting.TextInput("Decimal Separator Character", "."),
new Setting.Toggle("Continuously Refresh Display on Settings Menu", true),
new Setting.Toggle("Secret", true)
]
}
]);
//golden ratio, 18, 448
FishingUtils.setSize(599, 289)
Setting.register(FishingUtils);
export { FishingUtils }