Module:Inventory slot/Aliases: Difference between revisions

m Removed 'Clay (block)' and 'Clay (ball)' aliases per comment; all usages were renamed to main name. Remove 'Wood' prefix from wooden items; these items are no longer named that (e.g. Oak Wood Planks -> Oak Planks)
mNo edit summary
Line 142: Line 142:
'Soul Fire',
'Soul Fire',
'Sculk',
'Sculk',
'Sculk Shrieker';
'Sculk Shrieker',
'Sculk Shrieker BE',
'Sculk Shrieker BE',
'Sculk Sensor',
'Sculk Sensor',
Line 251: Line 251:
aliases[damagedName] = { title = aliasName, name = damagedName, text = text }
aliases[damagedName] = { title = aliasName, name = damagedName, text = text }
local materialGroup = toolProps[1]:lower();
local materialGroup = toolProps[1]:lower()
local toolGroup = toolProps[2]:lower();
local toolGroup = toolProps[2]:lower()
if toolProps[2] ~= 'Sword' then
if toolProps[2] ~= 'Sword' then