Module:Inventory slot/Aliases: Difference between revisions

matches Music Disk
m Normalize edition specific textures
Line 40: Line 40:
['Bucket of Pufferfish BE'] = { title = 'Bucket of Pufferfish', name = 'Bucket of Pufferfish BE' },
['Bucket of Pufferfish BE'] = { title = 'Bucket of Pufferfish', name = 'Bucket of Pufferfish BE' },
['Bucket of Tropical Fish BE'] = { title = 'Bucket of Tropical Fish', name = 'Bucket of Tropical Fish BE' },
['Bucket of Tropical Fish BE'] = { title = 'Bucket of Tropical Fish', name = 'Bucket of Tropical Fish BE' },
['Lava BE'] = { title = 'Lava', name = 'Lava BE' },
['Flowing Lava BE'] = { title = 'Flowing Lava', name = 'Flowing Lava BE' },
['Cobblestone Wall BE'] = { title = 'Cobblestone Wall', name = 'Cobblestone Wall BE' },
['Mossy Cobblestone Wall BE'] = { title = 'Mossy Cobblestone Wall', name = 'Mossy Cobblestone Wall BE' },
['Glass Pane BE'] = { title = 'Glass Pane', name = 'Glass Pane BE' },
['Iron Bars BE'] = { title = 'Iron Bars', name = 'Iron Bars BE' },
['Lava BE'] = { title = 'Lava', name = 'Lava BE' },
['Oak Fence Gate BE'] = { title = 'Oak Fence Gate', name = 'Oak Fence Gate BE' },
['Observer BE'] = { title = 'Observer', name = 'Observer BE' },
['Horn Coral Block BE'] = { title = 'Horn Coral Block', name = 'Horn Coral Block BE' },
['Peony BE'] = { title = 'Peony', name = 'Peony BE' },
['Peony LCE'] = { title = 'Peony', name = 'Peony LCE' },
['Rose Bush BE'] = { title = 'Rose Bush', name = 'Rose Bush BE' },
['Rose Bush LCE'] = { title = 'Rose Bush', name = 'Rose Bush LCE' },
['Stonecutter BE'] = { title = 'Stonecutter', name = 'Stonecutter BE' },
['Chest BE'] = { title = 'Chest', name = 'Chest BE' },
['Ender Chest BE'] = { title = 'Ender Chest', name = 'Ender Chest BE' },
['Minecart with Command Block BE'] = { title = 'Minecart with Command Block', name = 'Minecart with Command Block BE' },
-- Weapons --
-- Weapons --
Line 633: Line 615:
aliases['Any ' .. item] = woodAliases
aliases['Any ' .. item] = woodAliases
aliases['Matching ' .. item] = woodAliases
aliases['Matching ' .. item] = woodAliases
end
-- Bedrock Edition Items --
local editionItems = {
BE = {
'Bow',
'Lava',
'Flowing Lava',
'Cobblestone Wall',
'Mossy Cobblestone Wall',
'Glass Pane',
'Iron Bars',
'Lava',
'Oak Fence Gate',
'Observer',
'Horn Coral Block',
'Peony',
'Rose Bush',
'Stonecutter',
'Chest',
'Ender Chest',
'Minecart with Command Block'
},
LCE = {
'Peony',
'Rose Bush'
}
}
for edition, items in pairs(editionItems) do
for _, item in ipairs(items) do
local name = item .. ' ' .. edition
aliases[name] = { title = item, name = name }
end
end
end


return aliases
return aliases