Module:Inventory slot/Aliases: Difference between revisions

mNo edit summary
Splash/Lingering Potions + Tipped Arrows
Line 59: Line 59:
['Potion of the Turtle Master Extended'] = { name = 'Potion of the Turtle Master', text = '&cSlowness IV (3:00)/&9Resistance IV (3:00)' },
['Potion of the Turtle Master Extended'] = { name = 'Potion of the Turtle Master', text = '&cSlowness IV (3:00)/&9Resistance IV (3:00)' },
['Potion of the Turtle Master Enhanced'] = { name = 'Potion of the Turtle Master', text = '&cSlowness VI (1:00)/&9Resistance VI (1:00)' },
['Potion of the Turtle Master Enhanced'] = { name = 'Potion of the Turtle Master', text = '&cSlowness VI (1:00)/&9Resistance VI (1:00)' },
['Splash Potion of the Turtle Master'] = { name = 'Splash Potion of the Turtle Master', text = '&cSlowness IV (1:00)/&9Resistance IV (1:00)' },
['Splash Potion of the Turtle Master Extended'] = { name = 'Splash Potion of the Turtle Master', text = '&cSlowness IV (3:00)/&9Resistance IV (3:00)' },
['Splash Potion of the Turtle Master Enhanced'] = { name = 'Splash Potion of the Turtle Master', text = '&cSlowness VI (1:00)/&9Resistance VI (1:00)' },
['Lingering Potion of the Turtle Master'] = { name = 'Lingering Potion of the Turtle Master', text = '&cSlowness IV (0:15)/&9Resistance IV (0:15)' },
['Lingering Potion of the Turtle Master Extended'] = { name = 'Lingering Potion of the Turtle Master', text = '&cSlowness IV (0:45)/&9Resistance IV (0:45)' },
['Lingering Potion of the Turtle Master Enhanced'] = { name = 'Lingering Potion of the Turtle Master', text = '&cSlowness VI (45:15)/&9Resistance VI (0:15)' },
['Arrow of the Turtle Master'] = { name = 'Arrow of the Turtle Master', text = '&cSlowness IV (0:07)/&9Resistance IV (0:07)' },
['Arrow of the Turtle Master Extended'] = { name = 'Arrow of the Turtle Master', text = '&cSlowness IV (0:22)/&9Resistance IV (0:22)' },
['Arrow of the Turtle Master Enhanced'] = { name = 'Arrow Potion of the Turtle Master', text = '&cSlowness VI (0:07)/&9Resistance VI (0:07)' },
}
}


Line 331: Line 340:
-- Potions --
-- Potions --
local status = {
local status = {
{'Regeneration', '&9Regeneration', '0:45', '1:30', '0:22', 'II' },
{'Regeneration', '&9Regeneration', 'II', '0:45', '1:30', '0:22', '0:11', '0:22', '0:05', '0:05', '0:11', '0:02' },
{'Swiftness', '&9Speed', '3:00', '8:00', '1:30', 'II' },
{'Swiftness', '&9Speed', 'II', '3:00', '8:00', '1:30', '0:45', '2:00', '0:22', '0:22', '1:00', '0:11' },
{'Fire Resistance', '&9Fire Resistance', '3:00', '8:00', '', '' },
{'Fire Resistance', '&9Fire Resistance', '', '3:00', '8:00', '', '', '', '', '', '', '' },
{'Poison', '&cPoison', '0:45', '1:30', '0:21', 'II' },
{'Poison', '&cPoison', 'II', '0:45', '1:30', '0:21', '0:11', '0:22', '0:05', '0:05', '0:11', '0:02' },
{'Healing', '&9Instant Health', '', '', '', 'II' },
{'Healing', '&9Instant Health', 'II', '', '', '', '', '', '', '', '', '' },
{'Night Vision', '&9Night Vision', '3:00', '8:00', '', '' },
{'Night Vision', '&9Night Vision', '', '3:00', '8:00', '1:30', '0:45', '2:00', '0:22', '0:22', '1:00', '0:11' },
{'Weakness', '&cWeakness', '1:30', '4:00', '', 'II' },
{'Weakness', '&cWeakness', '', '1:30', '4:00', '', '0:22', '1:00', '', '0:11', '0:30', '' },
{'Strength', '&9Strength', '3:00', '8:00', '1:30', 'II' },
{'Strength', '&9Strength', 'II', '3:00', '8:00', '1:30', '0:45', '2:00', '0:22', '0:22', '1:00', '0:11' },
{'Slowness', '&cSlowness', '1:30', '4:00', '0:10', 'V' },
{'Slowness', '&cSlowness', 'V', '1:30', '4:00', '0:10', '0:22', '1:00', '0:02', '0:11', '0:30', '0:01' },
{'Leaping', '&9Jump Boost', '3:00', '8:00', '1:30', 'II' },
{'Leaping', '&9Jump Boost', 'II', '3:00', '8:00', '1:30', '0:45', '2:00', '0:22', '0:22', '1:00', '0:11' },
{'Harming', '&cInstant Damage', '', '', '', 'II' },
{'Harming', '&cInstant Damage', 'II', '', '', '', '', '', '', '', '', '' },
{'Water Breathing', '&9Water Breathing', '3:00', '8:00', '', '' },
{'Water Breathing', '&9Water Breathing', '', '3:00', '8:00', '1:30', '0:45', '2:00', '0:22', '0:22', '1:00', '0:11' },
{'Invisibility', '&9Invisibility', '3:00', '8:00', '1:30', '' },
{'Invisibility', '&9Invisibility', '', '3:00', '8:00', '1:30', '0:45', '2:00', '0:22', '0:22', '1:00', '0:11' },
{'Slow Falling', '&9Slow Falling', '1:30', '4:00', '', '' },
{'Slow Falling', '&9Slow Falling', '', '1:30', '4:00', '', '0:22', '1:00', '', '0:11', '0:30', '' },
{'Luck', '&9Luck', '5:00', '', '', '' },
{'Luck', '&9Luck', '', '5:00', '', '', '1:15', '', '', '0:37', '', '' },
{'Decay', '&cDecay', '0:40', '', '', '' },
{'Decay', '&cDecay', '', '0:40', '', '', '0:10', '', '', '0:05', '', '' },
   --{'potionName', 'potionStatus', 'duration', 'durationExtended', 'durationEnhanced' },
   --{'potionName', 'potionStatus', 'enhancedLevel', 'duration', 'durationExtended', 'durationEnhanced', 'durationLingering',
  -- 'durationLingerExtended', 'durationLingerEnhanced', 'durationArrow', 'durationArrowExtended', 'durationArrowEnhanced' },
}
}


for _, statusProps in ipairs( status ) do
for _, statusProps in ipairs( status ) do
if statusProps[3] ~= '' then
if statusProps[4] ~= '' then
local aliasName = 'Potion of ' .. statusProps[1]
local aliasName = 'Potion of ' .. statusProps[1]
aliases[aliasName] = { title = aliasName, name = aliasName, text = statusProps[2] .. ' (' .. statusProps[3] .. ')'}
aliases[aliasName] = { title = aliasName, name = aliasName, text = statusProps[2] .. ' (' .. statusProps[4] .. ')'}
local aliasName = 'Potion of ' .. statusProps[1] .. ' Extended'
local aliasName = 'Potion of ' .. statusProps[1] .. ' Extended'
aliases[aliasName] = { title = 'Potion of ' .. statusProps[1], name = 'Potion of ' .. statusProps[1], text = statusProps[2] .. ' (' .. statusProps[4] .. ')'}
aliases[aliasName] = { title = 'Potion of ' .. statusProps[1], name = 'Potion of ' .. statusProps[1], text = statusProps[2] .. ' (' .. statusProps[5] .. ')'}
local aliasName = 'Potion of ' .. statusProps[1] .. ' Enhanced'
local aliasName = 'Potion of ' .. statusProps[1] .. ' Enhanced'
aliases[aliasName] = { title = 'Potion of ' .. statusProps[1], name = 'Potion of ' .. statusProps[1], text = statusProps[2] .. ' ' .. statusProps[6] .. ' (' .. statusProps[5] .. ')'}
aliases[aliasName] = { title = 'Potion of ' .. statusProps[1], name = 'Potion of ' .. statusProps[1], text = statusProps[2] .. ' ' .. statusProps[3] .. ' (' .. statusProps[6] .. ')'}
local aliasName = 'Splash Potion of ' .. statusProps[1]
aliases[aliasName] = { title = aliasName, name = aliasName, text = statusProps[2] .. ' (' .. statusProps[4] .. ')'}
local aliasName = 'Splash Potion of ' .. statusProps[1] .. ' Extended'
aliases[aliasName] = { title = 'Splash Potion of ' .. statusProps[1], name = 'Splash Potion of ' .. statusProps[1], text = statusProps[2] .. ' (' .. statusProps[5] .. ')'}
local aliasName = 'Splash Potion of ' .. statusProps[1] .. ' Enhanced'
aliases[aliasName] = { title = 'Splash Potion of ' .. statusProps[1], name = 'Splash Potion of ' .. statusProps[1], text = statusProps[2] .. ' ' .. statusProps[3] .. ' (' .. statusProps[6] .. ')'}
local aliasName = 'Lingering Potion of ' .. statusProps[1]
aliases[aliasName] = { title = aliasName, name = aliasName, text = statusProps[2] .. ' (' .. statusProps[7] .. ')'}
local aliasName = 'Lingering Potion of ' .. statusProps[1] .. ' Extended'
aliases[aliasName] = { title = 'Lingering Potion of ' .. statusProps[1], name = 'Lingering Potion of ' .. statusProps[1], text = statusProps[2] .. ' (' .. statusProps[8] .. ')'}
local aliasName = 'Lingering Potion of ' .. statusProps[1] .. ' Enhanced'
aliases[aliasName] = { title = 'Lingering Potion of ' .. statusProps[1], name = 'Lingering Potion of ' .. statusProps[1], text = statusProps[2] .. ' ' .. statusProps[3] .. ' (' .. statusProps[9] .. ')'}
local aliasName = 'Arrow of ' .. statusProps[1]
aliases[aliasName] = { title = aliasName, name = aliasName, text = statusProps[2] .. ' (' .. statusProps[10] .. ')'}
local aliasName = 'Arrow of ' .. statusProps[1] .. ' Extended'
aliases[aliasName] = { title = 'Arrow of ' .. statusProps[1], name = 'Arrow of ' .. statusProps[1], text = statusProps[2] .. ' (' .. statusProps[11] .. ')'}
local aliasName = 'Arrow of ' .. statusProps[1] .. ' Enhanced'
aliases[aliasName] = { title = 'Arrow of ' .. statusProps[1], name = 'Arrow of ' .. statusProps[1], text = statusProps[2] .. ' ' .. statusProps[3] .. ' (' .. statusProps[12] .. ')'}
else
else
local aliasName = 'Potion of ' .. statusProps[1]
local aliasName = 'Potion of ' .. statusProps[1]
aliases[aliasName] = { title = aliasName, name = aliasName, text = statusProps[2] }
aliases[aliasName] = { title = aliasName, name = aliasName, text = statusProps[2] }
local aliasName = 'Potion of ' .. statusProps[1] .. ' Enhanced'
local aliasName = 'Potion of ' .. statusProps[1] .. ' Enhanced'
aliases[aliasName] = { title = 'Potion of ' .. statusProps[1], name = 'Potion of ' .. statusProps[1], text = statusProps[2] .. ' ' .. statusProps[6] }
aliases[aliasName] = { title = 'Potion of ' .. statusProps[1], name = 'Potion of ' .. statusProps[1], text = statusProps[2] .. ' ' .. statusProps[3] }
local aliasName = 'Splash Potion of ' .. statusProps[1]
aliases[aliasName] = { title = aliasName, name = aliasName, text = statusProps[2] }
local aliasName = 'Splash Potion of ' .. statusProps[1] .. ' Enhanced'
aliases[aliasName] = { title = 'Splash Potion of ' .. statusProps[1], name = 'Splash Potion of ' .. statusProps[1], text = statusProps[2] .. ' ' .. statusProps[3] }
local aliasName = 'Lingering Potion of ' .. statusProps[1]
aliases[aliasName] = { title = aliasName, name = aliasName, text = statusProps[2] }
local aliasName = 'Lingering Potion of ' .. statusProps[1] .. ' Enhanced'
aliases[aliasName] = { title = 'Lingering Potion of ' .. statusProps[1], name = 'Lingering Potion of ' .. statusProps[1], text = statusProps[2] .. ' ' .. statusProps[3] }
local aliasName = 'Arrow of ' .. statusProps[1]
aliases[aliasName] = { title = aliasName, name = aliasName, text = statusProps[2] }
local aliasName = 'Arrow of ' .. statusProps[1] .. ' Enhanced'
aliases[aliasName] = { title = 'Arrow of ' .. statusProps[1], name = 'Arrow of ' .. statusProps[1], text = statusProps[2] .. ' ' .. statusProps[3] }
end
end
end
end