PageRenderTime 105ms CodeModel.GetById 70ms app.highlight 13ms RepoModel.GetById 17ms app.codeStats 1ms

/Tukui/config/config.lua

http://github.com/Asphyxia/Tukui
Lua | 266 lines | 234 code | 25 blank | 7 comment | 0 complexity | 66a86088357463db7615125d2d68a285 MD5 | raw file
  1local T, C, L = unpack(select(2, ...)) -- Import: T - functions, constants, variables; C - config; L - locales
  2
  3C["general"] = {
  4	["autoscale"] = true,                              	 	-- mainly enabled for users that don't want to mess with the config file
  5	["uiscale"] = 0.71,                                			-- set your value (between 0.64 and 1) of your uiscale if autoscale is off
  6	["overridelowtohigh"] = false,                     	-- EXPERIMENTAL ONLY! override lower version to higher version on a lower reso.
  7	["multisampleprotect"] = true,                      	-- i don't recommend this because of shitty border but, voila!
  8	["backdropcolor"] = {0,0,0},         					-- default backdrop color of panels
  9	["bordercolor"] = {.125, .125, .125},               -- default border color of panels
 10	["blizzardreskin"] = true								-- reskin all Blizzard frames
 11}
 12
 13C["unitframes"] = {
 14
 15	-- layout
 16	["style"] = "Asphyxia",                           			 	-- unitframe style, choose from ("Asphyxia", "Smelly" or "Tukui")
 17
 18	-- general options
 19	["enable"] = true,                                  		-- do i really need to explain this?
 20	["hideunitframes"] = false,							-- hide unitframes  when out of combat.
 21	["enemyhcolor"] = true,                            	-- enemy target (players) color by hostility, very useful for healer.
 22	["unitcastbar"] = true,                            		-- enable tukui castbar
 23	["cblatency"] = true,                             		-- enable castbar latency
 24	["cbicons"] = true,                                 		-- enable icons on castbar
 25	["cbspark"] = true,										-- enable castbar spark
 26	["auratimer"] = true,                               		-- enable timers on buffs/debuffs
 27	["auratextscale"] = 11,                            		-- the font size of buffs/debuffs timers on unitframes
 28	["playerauras"] = false,                           	 	-- enable auras
 29	["targetauras"] = true,                             		-- enable auras on target unit frame
 30	["lowThreshold"] = 20,                              		-- global low threshold, for low mana warning.
 31	["targetpowerpvponly"] = false,                     -- enable power text on pvp target only
 32	["totdebuffs"] = false,                             		-- enable tot debuffs (high reso only)
 33	["showtotalhpmp"] = false,                          	-- change the display of info text on player and target with XXXX/Total.
 34	["showsmooth"] = true,                              	-- enable smooth bar
 35	["charportrait"] = true,                           		-- you DO NOT want to turn portrait off if you are using "Asphyxia2" style.
 36	["classicon"] = true, 										-- Class icon on unitframes.
 37	["maintank"] = false,                               		-- enable maintank
 38	["mainassist"] = false,                             		-- enable mainassist
 39	["unicolor"] = true,                              			-- enable unicolor theme
 40	["combatfeedback"] = true,                         	-- enable combattext on player and target.
 41	["playeraggro"] = true,                             		-- color player border to red if you have aggro on current target.
 42	["healcomm"] = true,                               		-- enable healprediction support.
 43	["onlyselfdebuffs"] = false,                        	-- display only our own debuffs applied on target
 44	["showfocustarget"] = true,                         	-- show focus target
 45	["bordercolor"] = { 0, 0, 0, 1 },                 		-- unit frames panel border color
 46	["extendedpet"] = true,                         		-- extended pet frame
 47	["pettarget"] = true, 										-- show pet target frame
 48	["showsolo"] = true,                        				-- show raid frames when solo (DPS only)
 49	["gradienthealth"] = true,                          	-- change raid health color based on health percent.
 50	["gradient"] = {                                    			-- health gradient color if unicolor is true.
 51		4.5, 0.1, 0.1, -- R, G, B (low HP)
 52		0.6, 0.3, 0.3, -- R, G, B (medium HP)
 53		0.2, 0.2, 0.2, -- R, G, B (high HP)
 54	},	
 55	
 56	-- raid layout (if one of them is enabled)
 57	["showrange"] = true,                               	-- show range opacity on raidframes
 58	["raidalphaoor"] = 0.3,                             		-- alpha of unitframes when unit is out of range
 59	["gridonly"] = true,                               		-- enable grid only mode for all healer mode raid layout.
 60	["showsymbols"] = true,	                            -- show symbol.
 61	["aggro"] = true,                                   		-- show aggro on all raids layouts
 62	["raidunitdebuffwatch"] = true,                     	-- track important spell to watch in pve for grid mode.
 63	["gridhealthvertical"] = false,                     	-- enable vertical grow on health bar for grid mode.
 64	["showplayerinparty"] = true,                      	-- show my player frame in party
 65	["gridscale"] = 1,                                  			-- set the healing grid scaling
 66	
 67	-- boss frames
 68	["showboss"] = true,                                		-- enable boss unit frames for PVELOL encounters.
 69
 70	-- priest only plugin
 71	["weakenedsoulbar"] = true,                         -- show weakened soul bar
 72	
 73	-- class bar
 74	["classbar"] = true,									   -- enable tukui classbar over player unit
 75}
 76
 77C["arena"] = {
 78	["unitframes"] = true,								   -- enable tukz arena unitframes (requirement : tukui unitframes enabled)	
 79}
 80
 81C["interruptanncounce"] = {
 82["enable"] = true, 											-- enable/disable interrupt announce
 83}
 84
 85C["auras"] = {
 86	["player"] = true,										   -- enable tukui buffs/debuffs                                		
 87}
 88
 89C["actionbar"] = {
 90	["enable"] = true,                                  -- enable tukui action bars
 91	["hotkey"] = true,                                 -- enable hotkey display because it was a lot requested
 92	["hideshapeshift"] = false,                         -- hide shapeshift or totembar because it was a lot requested.
 93	["showgrid"] = true,                                -- show grid on empty button
 94	["buttonsize"] = 27,                                -- normal buttons size
 95	["petbuttonsize"] = 27,                             -- pet & stance buttons size
 96	["stancebuttonsize"] = 27,                             -- pet & stance buttons size
 97	["buttonspacing"] = 4,                              -- buttons spacing
 98	["vertical_rightbars"] = false,						-- vertical or horizontal right bars
 99	["vertical_shapeshift"] = false,						-- (NOT FOR SHAMANS/TOTEMS) vertical or horizontal shapeshift bar
100	["mainswap"] = false,								-- swap bottom actionbars (main bar on top)
101	["macrotext"] = false,								   -- display macro text on buttons.
102}
103
104C["castbar"] = {
105	["classcolor"] = true, 							-- classcolor
106	["castbarcolor"] = {.150, .150, .150, 1}, 				-- color if classcolor = false
107	["nointerruptcolor"] = { 1, 0, 0, 1 }, 			-- color of casts which can't be interrupted
108	
109}
110
111C["Addon_Skins"] = {
112	["background"] = false,								-- Create a Panel that has the exactly same size as the right chat, placed at the bottomright (for addon placement)
113	["combat_toggle"] = false,							-- Shows the Addon Background, Omen, Recount & Skada infight, hides out of fight
114	["Recount"] = true,									-- Enable Recount Skin
115	["Skada"] = true,										-- Enable Skada Skin
116	["Omen"] = true,										-- Enable Omen Skin
117	["TinyDPS"] = true,									-- Enable TinyDPS Skin
118	["DBM"] = true,											-- skins DBM
119	["bigwigs"] = true,									-- skins BigWigs
120	["embedright"] = "None",				-- Addon to embed to the right frame ("Recount", & "Skada")
121	["embedrighttoggle"] = true,
122}
123
124C["sCombo"] = {
125	["enable"] = true,									-- Enable sCombo-Addon for combopoints instead of default cp-display
126	["energybar"] = false,								-- show energy-Bar below cp bar
127}
128
129C["bags"] = {
130	["enable"] = true,                                  -- enable an all in one bag mod that fit tukui perfectly
131}
132
133C["map"] = {
134	["location_panel"] = true,							-- show location panel at top of the screen
135}
136
137C["loot"] = {
138	["lootframe"] = true,                               -- reskin the loot frame to fit tukui
139	["rolllootframe"] = true,                           -- reskin the roll frame to fit tukui
140	["autogreed"] = true,                               -- auto-dez or auto-greed item at max level, auto-greed Frozen orb
141}
142
143C["cooldown"] = {
144	["enable"] = true,                                  -- do i really need to explain this?
145	["treshold"] = 8,                                   -- show decimal under X seconds and text turn red
146}
147
148C["datatext"] = {
149	["fps_ms"] = 0,                                     -- show fps and ms on panels
150	["system"] = 0,                                     -- show total memory and others systems infos on panels
151	["bags"] = 5,                                       -- show space used in bags on panels
152	["gold"] = 6,                                       -- show your current gold on panels
153	["wowtime"] = 12,                                    -- show time on panels
154	["guild"] = 1,                                      -- show number on guildmate connected on panels
155	["dur"] = 0,                                        -- show your equipment durability on panels.
156	["friends"] = 2,                                    -- show number of friends connected.
157	["dps_text"] = 0,                                   -- show a dps meter on panels
158	["hps_text"] = 0,                                   -- show a heal meter on panels
159	["power"] = 7,                                      -- show your attackpower/spellpower/healpower/rangedattackpower whatever stat is higher gets displayed
160	["haste"] = 8,                                      -- show your haste rating on panels.
161	["crit"] = 9,                                       -- show your crit rating on panels.
162	["avd"] = 0,                                        -- show your current avoidance against the level of the mob your targeting
163	["armor"] = 0,                                      -- show your armor value against the level mob you are currently targeting
164	["currency"] = 0,                                  -- show your tracked currency on panels
165	["hit"] = 11,                                        -- show hit rating
166	["mastery"] =10,                                    -- show mastery rating
167	["micromenu"] = 4,                                  -- add a micro menu thought datatext
168	["regen"] = 0,                                      -- show mana regeneration
169	["profession"] = 0,									-- show profession
170	["calltoarms"] = 3, 								-- Call to arms pvp
171	["expertise"] = 0, 									-- show your expertise rating
172	["enable_specswitcher"] = true, 			-- Show talents
173	
174	-- Color Datatext
175	["classcolored"] = false,							-- classcolored datatext
176	["color"] = {0.4, 0.4, 0.5},							-- datatext color (if classcolored = false) -- 0.15, 0.49, 0.69
177
178
179	["battleground"] = true,                            -- enable 3 stats in battleground only that replace stat1,stat2,stat3.
180	["bgannouncer"] = false,                			-- enable an announcer mod for BGs.
181	["time24"] = false,                                 -- set time to 24h format.
182	["localtime"] = false,                              -- set time to local time instead of server time.
183	["fontsize"] = 12,                                  -- font size for panels.
184}
185
186C["databars"] = {
187	["settings"] = {
188		["vertical"] = false,								-- decend vertically...why?! it's so GAY!!!
189		["height"] = 17,									-- set the height of the bars
190		["width"] = 100,									-- set the width of the bars
191		["spacing"] = 3,									-- amount of spacing between bars
192		["padding"] = 3,									-- amount of space between sections (skip a number to make a new "section", e.g. fps:3, latency:4, memory:5, bags:7)
193	},
194	["framerate"] = 1,
195	["latency"] = 2,
196	["memory"] = 3,
197	["durability"] = 4,
198	["currency"] = true,
199	["reputation"] = true,                             -- show bars with reputation 
200	["reps"] = {                                       -- Show 5 factions of your choice, including your guild.
201		"Hellscream's Reach",
202		"Therazane",
203		"Dragonmaw Clan",
204		"Guardians of Hyjal",
205		"Systematic Chaos",
206	},
207}
208
209C["asphyxia_panels"] = {
210	["asphyxiatalent"] = true,					-- enable or disable talent switcher module (replaces specswitcher datatext).	
211	}
212
213C["chat"] = {
214	["enable"] = true,                                  -- blah
215	["width"] = 378,									-- adjust the chatframe width
216	["height"] = 175,									-- adjust the chatframe height 
217	["whispersound"] = true,                           -- play a sound when receiving whisper
218	["justifyRight"] = false,							-- set right chat frame text to the right
219	["background"] = true,								-- Dont make it false!!!
220	["rightchat"] = true,								-- set loot window to right chatframe
221	["rightchatnumber"] = 4,						-- Rightchat-background is attached to ChatFrameX ..X = value
222}
223
224C["nameplate"] = {
225	["enable"] = true,                                  -- enable nice skinned nameplates that fit into tukui
226	["showhealth"] = true,				                -- show health text on nameplate
227	["enhancethreat"] = true,			                -- threat features based on if your a tank or not
228	["combat"] = false,					                -- only show enemy nameplates in-combat.
229	["goodcolor"] = {75/255,  175/255, 76/255},	        -- good threat color (tank shows this with threat, everyone else without)
230	["badcolor"] = {0.78, 0.25, 0.25},			        -- bad threat color (opposite of above)
231	["transitioncolor"] = {218/255, 197/255, 92/255},	-- threat color when gaining threat
232	["trackcc"] = true,									--track all CC debuffs
233	["trackdebuffs"] = true,							--track players debuffs only (debuff list derived from classtimer spell list)
234}
235
236C["tooltip"] = {
237	["enable"] = true,                                  -- true to enable this mod, false to disable
238	["hidecombat"] = false,                             -- hide bottom-right tooltip when in combat
239	["hidebuttons"] = false,                            -- always hide action bar buttons tooltip.
240	["hideuf"] = false,                                 -- hide tooltip on unitframes
241	["cursor"] = false,                                 -- tooltip via cursor only
242}
243
244C["merchant"] = {
245	["sellgrays"] = true,                               -- automaticly sell grays?
246	["autorepair"] = true,                              -- automaticly repair?
247	["guildrepair"] = true,							-- automatically use guild funds to repair (if available) -- guild repair only if autorepair == true
248	["sellmisc"] = true,                                -- sell defined items automatically
249}
250
251C["error"] = {
252	["enable"] = true,                                  -- true to enable this mod, false to disable
253	filter = {                                          -- what messages to not hide
254		[INVENTORY_FULL] = true,                        -- inventory is full will not be hidden by default
255	},
256}
257
258C["invite"] = { 
259	["autoaccept"] = false,                             -- auto-accept invite from guildmate and friends.
260}
261
262C["buffreminder"] = {
263	["enable"] = true,                                  -- this is now the new innerfire warning script for all armor/aspect class.
264	["sound"] = true,                                   -- enable warning sound notification for reminder.
265	["raidbuffreminder"] = true,					-- enable panel with missing raid buffs next to the minimap
266}