vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 Minimalist_Defaults = {
2 QUESTLEVEL = TRUE,
3 IGNOREDUELS = FALSE,
4 GRYPH = TRUE,
5 PVPPERCENT = TRUE,
6 AUTOREPAIR = TRUE,
7 AUTOSELL = FALSE,
8 REPUTATION = TRUE,
9 AUTOREZ = TRUE,
10 SMARTTAXI = TRUE,
11 CHATARROWS = TRUE,
12 CHATBUTTONS = FALSE,
13 CHATEDIT = FALSE,
14 CHATSCROLL = FALSE,
15 CHATTIME = FALSE,
16 CHATCLEAN = FALSE,
17 MAPHIDE = FALSE,
18 MAPLOC = FALSE,
19 MAPSCROLL = FALSE,
20 GOSSIPSKIP = TRUE,
21 }
22  
23 Minimalist_Gossip_Show = false
24 Minimalist_Merchant_Show = false
25 Minimalist_Chat_Parse = false
26  
27 --change this if you want autorepair costs to be displayed elsewhere
28 Minimalist_ChatFrame = DEFAULT_CHAT_FRAME
29  
30 --checkbuttons for the GUI config window
31 Minimalist_CheckButtons = {
32 ["Auto-Ignore Duels"] = {
33 index = 2,
34 tooltipText = "Auto-Ignore Duel Requests (a.k.a. CGF Shield)",
35 var = "IGNOREDUELS",
36 func = function(switch)
37 if (switch) then
38 Minimalist:RegisterEvent("DUEL_REQUESTED", "MinAutoDuel")
39 else
40 Minimalist:UnregisterEvent("DUEL_REQUESTED")
41 end
42 end
43 },
44 ["Auto-Repair"] = {
45 index = 3,
46 tooltipText = "Repair All Equipment and Inventory Automagically",
47 var = "AUTOREPAIR",
48 func = function(switch)
49 if (switch) then
50 Minimalist:MHOn()
51 else
52 Minimalist:MHOff()
53 end
54 end
55 },
56 ["Auto-Resurrect"] = {
57 index = 4,
58 tooltipText = "Automatically Accept Resurrection Requests",
59 var = "AUTOREZ",
60 func = function(switch)
61 if (switch) then
62 Minimalist:RegisterEvent("RESURRECT_REQUEST", "MinAutoRez")
63 else
64 Minimalist:UnregisterEvent("RESURRECT_REQUEST")
65 end
66 end
67 },
68 ["Auto-Sell Grey Items"] = {
69 index = 5,
70 tooltipText = "Sell Grey (Junk) Items in Your Bags Automatically",
71 var = "AUTOSELL",
72 func = function(switch)
73 if (switch) then
74 Minimalist:MHOn()
75 else
76 Minimalist:MHOff()
77 end
78 end
79 },
80 ["Better Reputation"] = {
81 index = 6,
82 tooltipText = "Display Reputation Amounts Numerically and Detailed Information in the Chat Frame",
83 var = "REPUTATION",
84 func = function(switch)
85 if (switch) then
86 Minimalist:MinRepOn()
87 else
88 Minimalist:MinRepOff()
89 end
90 end
91 },
92 ["Disable Gryphons"] = {
93 index = 7,
94 tooltipText = "Toggle Display of Gryphons on Main Toolbar",
95 var = "GRYPH",
96 func = function(switch)
97 if (switch) then
98 Minimalist:GryphOn()
99 else
100 Minimalist:GryphOff()
101 end
102 end
103 },
104 ["Display Quest Levels"] = {
105 index = 8,
106 tooltipText = "Display Numeric Quest Level in the Quest Frame, Quest Completion Frame, and NPC Quest Window",
107 var = "QUESTLEVEL",
108 func = function(switch)
109 if (switch) then
110 Minimalist:MinQLOn()
111 else
112 Minimalist:MinQLOff()
113 end
114 end
115 },
116 ["Honor Progress Percent"] = {
117 index = 10,
118 tooltipText = "Show Honor Progress as a Percent on Honor Tab",
119 var = "PVPPERCENT",
120 func = function(switch)
121 if (switch) then
122 Minimalist:Hook("HonorFrame_Update", "MinHonorFrame_Update")
123 HonorFrame_Update()
124 else
125 Minimalist:Unhook("HonorFrame_Update")
126 HonorFrame_Update()
127 end
128 end
129 },
130 ["Smart Taxi"] = {
131 index = 12,
132 tooltipText = "Auto-Dismounts You at Flightmasters",
133 var = "SMARTTAXI",
134 func = function(switch)
135 if (switch) then
136 Minimalist:SmartTaxiOn()
137 else
138 Minimalist:SmartTaxiOff()
139 end
140 end
141 },
142 ["Fix Arrow Keys"] = {
143 index = 13,
144 tooltipText = "Make Arrow Keys Move the Cursor in the Input Box",
145 var = "CHATARROWS",
146 func = function(switch)
147 if (switch) then
148 Minimalist:ChatArrowsOn()
149 else
150 Minimalist:ChatArrowsOff()
151 end
152 end
153 },
154 ["Hide Buttons"] = {
155 index = 14,
156 tooltipText = "Hide the Chat Frame Buttons, Good to Use in Conjunction with Mouse Scrolling",
157 var = "CHATBUTTONS",
158 func = function(switch)
159 if (switch) then
160 Minimalist:ChatButtonsOff()
161 else
162 Minimalist:ChatButtonsOn()
163 end
164 end
165 },
166 ["Move Input Box"] = {
167 index = 15,
168 tooltipText = "Move the Input Box to the Top of the Chat Frame",
169 var = "CHATEDIT",
170 func = function(switch)
171 if (switch) then
172 Minimalist:ChatMoveEditBox()
173 else
174 Minimalist:ChatRestoreEditBox()
175 end
176 end
177 },
178 ["Mouse Scrolling"] = {
179 index = 16,
180 tooltipText = "Scroll Chat Frame with the Mouse Wheel, Shift-Scroll to Hit the Top/Bottom",
181 var = "CHATSCROLL",
182 func = function(switch)
183 if (switch) then
184 Minimalist:ChatScrollOn()
185 else
186 Minimalist:ChatScrollOff()
187 end
188 end
189 },
190 ["Time Stamps"] = {
191 index = 17,
192 tooltipText = "Add Time Stamps to Chat Messages",
193 var = "CHATTIME",
194 func = function(switch)
195 if (switch) then
196 Minimalist:ChatParseOn()
197 else
198 Minimalist:ChatParseOff()
199 end
200 end
201 },
202 ["Hide Clutter"] = {
203 index = 18,
204 tooltipText = "Hide clock, scroll buttons, location frame. Best used in conjunction with MouseWheel scrolling.",
205 var = "MAPHIDE",
206 func = function(switch)
207 if (switch) then
208 Minimalist:MinMapHide()
209 else
210 Minimalist:MinMapShow()
211 end
212 end
213 },
214 ["Location X,Y"] = {
215 index = 19,
216 tooltipText = "Adds Numeric X,Y Coordinates to the MiniMap.",
217 var = "MAPLOC",
218 func = function(switch)
219 if (switch) then
220 Minimalist:MapLocOn()
221 else
222 Minimalist:MapLocOff()
223 end
224 end
225 },
226 ["MouseWheel Zoom"] = {
227 index = 20,
228 tooltipText = "Enables MouseWheel to Zoom the Minimap When Over It.",
229 var = "MAPSCROLL",
230 func = function(switch)
231 if (switch) then
232 Minimalist:MapScrollOn()
233 else
234 Minimalist:MapScrollOff()
235 end
236 end
237 },
238 ["Auto-Skip Useless Gossips"] = {
239 index = 21,
240 tooltipText = "Skip MC/BWL, Flightmaster, Banker, and Battlemaster Gossip. Disable to complete seasonal quests.",
241 var = "GOSSIPSKIP",
242 func = function(switch)
243 if (switch) then
244 Minimalist:GHOn()
245 else
246 Minimalist:GHOff()
247 end
248 end
249 },
250 ["Reduce Chat Clutter"] = {
251 index = 22,
252 tooltipText = "Shorten Channel Names to Reduce Chat Window Clutter",
253 var = "CHATCLEAN",
254 func = function(switch)
255 if (switch) then
256 Minimalist:ChatParseOn()
257 else
258 Minimalist:ChatParseOff()
259 end
260 end
261 },
262 }
263  
264 --add items here if you want to keep a grey item
265 Minimalist_AutoSell_Blacklist = {
266 -- darkmoon faire turnins
267 "Small Furry Paw",
268 "Torn Bear Pelt",
269 "Soft Bushy Tail",
270 "Vibrant Plume",
271 "Evil Bat Eye",
272 "Glowing Scorpid Blood",
273 -- AV un-sellable junk
274 "Broken I.W.I.N. Button",
275 "Document from Boomstick Imports",
276 "Nubless Pacifier",
277 }