Module:Inventory slot/Aliases: Difference between revisions

Remove nether from woods as they aren't #logs so can only be used to craft planks
Test
Line 576: Line 576:
'Acacia',
'Acacia',
'Dark Oak'
'Dark Oak'
}
local woods = {
'Oak',
'Spruce',
'Birch',
'Jungle',
'Acacia',
'Dark Oak',
'Crimson',
'Warped'
}
}
local woodItems = {
local woodItems = {
Line 612: Line 622:
end
end
table.insert( woodAliases, itemName )
table.insert( woodAliases, itemName )
end
if item:find('Any Planks') then
table.insert( woodAliases, 'Crimson Planks')
table.insert( woodAliases, 'Warped Planks')
end
end