Module:Inventory slot/Aliases: Difference between revisions
mNo edit summary |
m Match in-game |
||
Line 48: | Line 48: | ||
-- Weapons -- | -- Weapons -- | ||
['Trident'] = { title = '&dTrident', name = 'Trident', text = '/&7 When in | ['Trident'] = { title = '&dTrident', name = 'Trident', text = '/&7 When in Main Hand:/ &29 Attack Damage/ &21.1 Attack Speed'}, | ||
['Damaged Trident'] = { title = '&dTrident', name = 'Damaged Trident', text = '/&7 When in | ['Damaged Trident'] = { title = '&dTrident', name = 'Damaged Trident', text = '/&7 When in Main Hand:/ &29 Attack Damage/ &21.1 Attack Speed'}, | ||
['Trident BE'] = { name = '&dTrident', text = '/&9 +8 Attack Damage'}, | ['Trident BE'] = { name = '&dTrident', text = '/&9 +8 Attack Damage'}, | ||
['Mace'] = { title = '&dMace', name = 'Mace', text = '/&7 When in | ['Mace'] = { title = '&dMace', name = 'Mace', text = '/&7 When in Main Hand:/ &26 Attack Damage/ &20.6 Attack Speed'}, | ||
['Damaged Mace'] = { title = '&dMace', name = 'Damaged Mace', text = '/&7 When in | ['Damaged Mace'] = { title = '&dMace', name = 'Damaged Mace', text = '/&7 When in Main Hand:/ &26 Attack Damage/ &20.6 Attack Speed'}, | ||
['Mace BE'] = { title = '&dMace', name = 'Mace', text = '/&9 +7 Attack Damage'}, | ['Mace BE'] = { title = '&dMace', name = 'Mace', text = '/&9 +7 Attack Damage'}, | ||
Line 144: | Line 144: | ||
-- Tools and weapons -- | -- Tools and weapons -- | ||
local tools = { | local tools = { | ||
{'Wooden', 'Sword', 1.6 | {'Wooden', 'Sword', 4, 1.6 }, | ||
{'Stone', 'Sword', 1.6 | {'Stone', 'Sword', 5, 1.6 }, | ||
{'Iron', 'Sword', 1. | {'Iron', 'Sword', 6, 1.6 }, | ||
{'Golden', 'Sword', 1.6 | {'Golden', 'Sword', 4, 1.6 }, | ||
{'Diamond', 'Sword', 1.6 | {'Diamond', 'Sword', 7, 1.6 }, | ||
{'Netherite', 'Sword', 1.6 | {'Netherite', 'Sword', 8, 1.6 }, | ||
{'Wooden', 'Pickaxe', 1. | {'Wooden', 'Pickaxe', 2, 1.2 }, | ||
{'Stone', 'Pickaxe', 1.2 | {'Stone', 'Pickaxe', 3, 1.2 }, | ||
{'Iron', 'Pickaxe', 1.2 | {'Iron', 'Pickaxe', 4, 1.2 }, | ||
{'Golden', 'Pickaxe', 1. | {'Golden', 'Pickaxe', 2, 1.2 }, | ||
{'Diamond', 'Pickaxe', 1.2 | {'Diamond', 'Pickaxe', 5, 1.2 }, | ||
{'Netherite', 'Pickaxe', 1.2 | {'Netherite', 'Pickaxe', 6, 1.2 }, | ||
{'Wooden', 'Axe', 0.8 | {'Wooden', 'Axe', 7, 0.8 }, | ||
{'Stone', 'Axe', 0.8 | {'Stone', 'Axe', 9, 0.8 }, | ||
{'Iron', 'Axe', 0. | {'Iron', 'Axe', 9, 0.9 }, | ||
{'Golden', 'Axe', 1 | {'Golden', 'Axe', 7, 1 }, | ||
{'Diamond', 'Axe', 1 | {'Diamond', 'Axe', 9, 1 }, | ||
{'Netherite', 'Axe', 1 | {'Netherite', 'Axe', 10, 1 }, | ||
{'Wooden', 'Shovel' | {'Wooden', 'Shovel', 2.5, 1 }, | ||
{'Stone', 'Shovel' | {'Stone', 'Shovel', 3.5, 1 }, | ||
{'Iron', 'Shovel' | {'Iron', 'Shovel', 4.5, 1 }, | ||
{'Golden', 'Shovel' | {'Golden', 'Shovel', 2.5, 1 }, | ||
{'Diamond', 'Shovel' | {'Diamond', 'Shovel', 5.5, 1 }, | ||
{'Netherite', 'Shovel' | {'Netherite', 'Shovel', 6.5, 1 }, | ||
{'Wooden', 'Hoe', 1, 1 }, | {'Wooden', 'Hoe', 1, 1 }, | ||
{'Stone', 'Hoe', 2 | {'Stone', 'Hoe', 1, 2 }, | ||
{'Iron', 'Hoe', 3 | {'Iron', 'Hoe', 1, 3 }, | ||
{'Golden', 'Hoe', 1, 1 }, | {'Golden', 'Hoe', 1, 1 }, | ||
{'Diamond', 'Hoe', 4 | {'Diamond', 'Hoe', 1, 4 }, | ||
{'Netherite', 'Hoe', 4 | {'Netherite', 'Hoe', 1, 4 } | ||
} | } | ||
Line 186: | Line 186: | ||
local aliasName = toolProps[1] .. ' ' .. toolProps[2] | local aliasName = toolProps[1] .. ' ' .. toolProps[2] | ||
local damagedName = 'Damaged ' .. aliasName | local damagedName = 'Damaged ' .. aliasName | ||
local text = '/&7When in | local text = '/&7When in Main Hand:/ &2' .. toolProps[3] .. ' Attack Damage/ &2' .. toolProps[4] .. ' Attack Speed' | ||
aliases[aliasName] = { title = aliasName, name = aliasName, text = text } | aliases[aliasName] = { title = aliasName, name = aliasName, text = text } | ||
-- add damaged here as well so it gets the proper tooltip | -- add damaged here as well so it gets the proper tooltip |