Module:Inventory slot/Aliases: Difference between revisions
m Minor correction to netherite pickaxe |
Remove nether from woods as they aren't #logs so can only be used to craft planks |
||
| Line 569: | Line 569: | ||
-- Wood -- | -- Wood -- | ||
local | local logs = { | ||
'Oak', | 'Oak', | ||
'Spruce', | 'Spruce', | ||
| Line 575: | Line 575: | ||
'Jungle', | 'Jungle', | ||
'Acacia', | 'Acacia', | ||
'Dark Oak | 'Dark Oak' | ||
} | } | ||
local woodItems = { | local woodItems = { | ||
| Line 605: | Line 603: | ||
local woodAliases = {} | local woodAliases = {} | ||
for _, wood in ipairs( | for _, wood in ipairs( logs ) do | ||
if item:find('wood') then | if item:find('wood') then | ||
itemName = string.gsub( item, 'wood', wood ) | itemName = string.gsub( item, 'wood', wood ) | ||