mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- added user-submitted custom cooldown tracker module. thanks regmellon!
This commit is contained in:
20
IceHUD.lua
20
IceHUD.lua
@ -540,6 +540,17 @@ IceHUD.options =
|
||||
order = 94.6
|
||||
},
|
||||
|
||||
customCD = {
|
||||
type = 'execute',
|
||||
name = 'Create cooldown bar',
|
||||
desc = 'Creates a new customized ability cooldown bar',
|
||||
func = function()
|
||||
IceHUD.IceCore:AddNewDynamicModule(IceCustomCDBar:new())
|
||||
StaticPopup_Show("ICEHUD_CUSTOM_CD_CREATED")
|
||||
end,
|
||||
order = 94.7
|
||||
},
|
||||
|
||||
configMode = {
|
||||
type = 'toggle',
|
||||
name = '|cffff0000Configuration Mode|r',
|
||||
@ -629,6 +640,15 @@ StaticPopupDialogs["ICEHUD_CUSTOM_COUNTER_CREATED"] =
|
||||
hideOnEscape = 0,
|
||||
}
|
||||
|
||||
StaticPopupDialogs["ICEHUD_CUSTOM_CD_CREATED"] =
|
||||
{
|
||||
text = "A custom cooldown bar has been created and can be configured through Module Settings => MyCustomCD. It is highly recommended that you change the bar name of this module so that it's easier to identify.",
|
||||
button1 = OKAY,
|
||||
timeout = 0,
|
||||
whileDead = 1,
|
||||
hideOnEscape = 0,
|
||||
}
|
||||
|
||||
StaticPopupDialogs["ICEHUD_DELETE_CUSTOM_MODULE"] =
|
||||
{
|
||||
text = "Are you sure you want to delete this module? This will remove all settings associated with it and cannot be un-done.",
|
||||
|
Reference in New Issue
Block a user