Module:Inventory slot/Aliases: Difference between revisions

mNo edit summary
Added display names for extended/enhanced potions, added effect text for enhanced potions, added exceptions for Turtle Master.
Line 54: Line 54:
['Uncraftable Tipped Arrow'] = { name = 'Uncraftable Tipped Arrow', text = '&7No effects' },
['Uncraftable Tipped Arrow'] = { name = 'Uncraftable Tipped Arrow', text = '&7No effects' },


['Potion of Night Vision Extended'] = { name = 'Potion of Night Vision', text = '&9Night Vision (8:00)' },
['Potion of Healing Enhanced'] = { name = 'Potion of Healing' },
['Splash Potion of Night Vision Extended'] = { name = 'Splash Potion of Night Vision', text = '&9Night Vision (8:00)' },
['Potion of Fire Resistance Extended'] = { name = 'Potion of Fire Resistance' },
['Lingering Potion of Night Vision Extended'] = { name = 'Lingering Potion of Night Vision', text = '&9Night Vision (2:00)' },
['Potion of Regeneration Extended'] = { name = 'Potion of Regeneration' },
['Arrow of Night Vision Extended'] = { name = 'Arrow of Night Vision', text = '&9Night Vision (1:00)' },
['Potion of Regeneration Enhanced'] = { name = 'Potion of Regeneration' },
['Potion of Night Vision'] = { name = 'Potion of Night Vision', text = '&9Night Vision (3:00)' },
['Potion of Strength Extended'] = { name = 'Potion of Strength' },
['Splash Potion of Night Vision'] = { name = 'Splash Potion of Night Vision', text = '&9Night Vision (3:00)' },
['Potion of Strength Enhanced'] = { name = 'Potion of Strength' },
['Lingering Potion of Night Vision'] = { name = 'Lingering Potion of Night Vision', text = '&9Night Vision (0:45)' },
['Potion of Swiftness Extended'] = { name = 'Potion of Swiftness' },
['Arrow of Night Vision'] = { name = 'Arrow of Night Vision', text = '&9Night Vision (0:22)' },
['Potion of Swiftness Enhanced'] = { name = 'Potion of Swiftness' },
['Potion of Night Vision Extended'] = { name = 'Potion of Night Vision' },
['Potion of Invisibility Extended'] = { name = 'Potion of Invisibility' },
['Potion of Water Breathing Extended'] = { name = 'Potion of Water Breathing' },
['Potion of Leaping Extended'] = { name = 'Splash Potion of Leaping' },
['Potion of Leaping Enhanced'] = { name = 'Potion of Leaping' },
['Potion of Slow Falling Extended'] = { name = 'Potion of Slow Falling' },
['Potion of Poison Extended'] = { name = 'Potion of Poison' },
['Potion of Poison Enhanced'] = { name = 'Potion of Poison' },
['Potion of Weakness Extended'] = { name = 'Potion of Weakness' },
['Potion of Harming Enhanced'] = { name = 'Potion of Harming' },
['Potion of Slowness Extended'] = { name = 'Potion of Slowness' },
 
['Potion of the Turtle Master'] = { name = 'Potion of the Turtle Master', text = '&cSlowness IV (1:00)/&9Resistance IV (1: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 Decay'] = { name = 'Potion of Decay', text = '&cWither II (0:40)' },
['Splash Potion of Decay'] = { name = 'Splash Potion of Decay', text = '&cWither II (0:30)' },
['Lingering Potion of Decay'] = { name = 'Lingering Potion of Decay', text = '&cWither II (0:10)' },
['Arrow of Decay'] = { name = 'Arrow of Decay', text = '&cWither II (0:05)' },
}
}


Line 340: Line 351:
{'Swiftness', '&9Speed', '3:00', '8:00', '1:30' },
{'Swiftness', '&9Speed', '3:00', '8:00', '1:30' },
{'Fire Resistance', '&9Fire Resistance', '3:00', '8:00', '' },
{'Fire Resistance', '&9Fire Resistance', '3:00', '8:00', '' },
{'Poison', '&cPoison', '0:45', '1:30', '0:21.6' },
{'Poison', '&cPoison', '0:45', '1:30', '0:21' },
{'Healing', '&9Instant Health', '', '', '' },
{'Healing', '&9Instant Health', '', '', '' },
{'Night Vision', '&9Night Vision', '3:00', '8:00', '' },
{'Night Vision', '&9Night Vision', '3:00', '8:00', '' },
Line 348: Line 359:
{'Leaping', '&9Jump Boost', '3:00', '8:00', '1:30' },
{'Leaping', '&9Jump Boost', '3:00', '8:00', '1:30' },
{'Harming', '&cInstant Damage', '', '', '' },
{'Harming', '&cInstant Damage', '', '', '' },
{'Water Breathing', '&9Water Breathing', '3:00', '8:00', '1:30' },
{'Water Breathing', '&9Water Breathing', '3:00', '8:00', '' },
{'Invisibility', '&9Invisibility', '3:00', '8:00', '1:30' },
{'Invisibility', '&9Invisibility', '3:00', '8:00', '1:30' },
{'Slow Falling', '&9Slow Falling', '1:30', '4:00', '' },
{'Slow Falling', '&9Slow Falling', '1:30', '4:00', '' },
Line 362: Line 373:
local aliasName = 'Potion of ' .. statusProps[1] .. ' Extended'
local aliasName = 'Potion of ' .. statusProps[1] .. ' Extended'
aliases[aliasName] = { title = aliasName, name = aliasName, text = statusProps[2] .. ' (' .. statusProps[4] .. ')'}
aliases[aliasName] = { title = aliasName, name = aliasName, text = statusProps[2] .. ' (' .. statusProps[4] .. ')'}
local aliasName = 'Potion of ' .. statusProps[1] .. ' Enhanced'
aliases[aliasName] = { title = aliasName, name = aliasName, text = statusProps[2] .. ' II (' .. statusProps[5] .. ')'}
else
else
local aliasName = 'Potion of ' .. statusProps[1]
local aliasName = 'Potion of ' .. statusProps[1]