Version 0.3

- More configuration options
- Added another texture option for bars
- /icehud now opens Dewdrop menu directly
- Rogue/cat energy ticker
This commit is contained in:
iceroth
2006-07-28 13:10:25 +00:00
parent 6399796175
commit 61b0d95afa
15 changed files with 695 additions and 122 deletions

View File

@ -170,34 +170,32 @@ function MirrorBarHandler.prototype:GetOptions()
opts["side"] =
{
type = 'group',
name = 'side',
type = 'text',
name = 'Side',
desc = 'Side of the HUD where the bar appears',
args = {
left = {
type = 'execute',
name = 'left',
desc = "Left side",
func = function()
self.moduleSettings.side = IceCore.Side.Left
self:Redraw()
end
},
right = {
type = 'execute',
name = 'right',
desc = "Right side",
func = function()
self.moduleSettings.side = IceCore.Side.Right
self:Redraw()
end
}
}
get = function()
if (self.moduleSettings.side == IceCore.Side.Right) then
return "Right"
else
return "Left"
end
end,
set = function(value)
if (value == "Right") then
self.moduleSettings.side = IceCore.Side.Right
else
self.moduleSettings.side = IceCore.Side.Left
end
self:Redraw()
end,
validate = { "Left", "Right" },
order = 30
}
opts["offset"] =
{
type = 'range',
name = 'offset',
name = 'Offset',
desc = 'Offset of the bar',
min = -1,
max = 10,
@ -208,9 +206,10 @@ function MirrorBarHandler.prototype:GetOptions()
set = function(value)
self.moduleSettings.offset = value
self:Redraw()
end
end,
order = 31
}
return opts
end