Module:Inventory slot/Aliases: Difference between revisions

m fix slightly
code for as if lapis,ink sacs, etc can't be used as dyes. these should be manually set on pages like bed etc to avoid confusion.
Line 2: Line 2:
'Orange Dye', 'Magenta Dye', 'Light Blue Dye', 'Yellow Dye', 'Lime Dye',
'Orange Dye', 'Magenta Dye', 'Light Blue Dye', 'Yellow Dye', 'Lime Dye',
'Pink Dye', 'Gray Dye', 'Light Gray Dye', 'Cyan Dye', 'Purple Dye',
'Pink Dye', 'Gray Dye', 'Light Gray Dye', 'Cyan Dye', 'Purple Dye',
'Blue Dye', 'Blue Dye', 'Brown Dye', 'Brown Dye', 'Green Dye',
'Blue Dye', 'Brown Dye', 'Green Dye',
'Red Dye', 'Black Dye', 'Black Dye',
'Red Dye', 'Black Dye',
}
}
local aliases = {
local aliases = {
Line 191: Line 191:
'Orange Wool', 'Magenta Wool', 'Light Blue Wool', 'Yellow Wool', 'Lime Wool',
'Orange Wool', 'Magenta Wool', 'Light Blue Wool', 'Yellow Wool', 'Lime Wool',
'Pink Wool', 'Gray Wool', 'Light Gray Wool', 'Cyan Wool', 'Purple Wool',
'Pink Wool', 'Gray Wool', 'Light Gray Wool', 'Cyan Wool', 'Purple Wool',
'Blue Wool', 'Blue Wool', 'Brown Wool', 'Brown Wool', 'Green Wool', 'Red Wool', 'Black Wool', 'Black Wool',
'Blue Wool', 'Brown Wool', 'Green Wool', 'Red Wool', 'Black Wool',
},
},
['Dyed Bed'] = {
['Dyed Bed'] = {
'Orange Bed', 'Magenta Bed', 'Light Blue Bed', 'Yellow Bed', 'Lime Bed',
'Orange Bed', 'Magenta Bed', 'Light Blue Bed', 'Yellow Bed', 'Lime Bed',
'Pink Bed', 'Gray Bed', 'Light Gray Bed', 'Cyan Bed', 'Purple Bed',
'Pink Bed', 'Gray Bed', 'Light Gray Bed', 'Cyan Bed', 'Purple Bed',
'Blue Bed', 'Blue Bed', 'Brown Bed', 'Brown Bed', 'Green Bed',
'Blue Bed', 'Brown Bed', 'Green Bed',
'Red Bed', 'Black Bed', 'Black Bed',
'Red Bed', 'Black Bed',
},
},
['Dyed Carpet'] = {
['Dyed Carpet'] = {
'Orange Carpet', 'Magenta Carpet', 'Light Blue Carpet', 'Yellow Carpet', 'Lime Carpet',
'Orange Carpet', 'Magenta Carpet', 'Light Blue Carpet', 'Yellow Carpet', 'Lime Carpet',
'Pink Carpet', 'Gray Carpet', 'Light Gray Carpet', 'Cyan Carpet', 'Purple Carpet',
'Pink Carpet', 'Gray Carpet', 'Light Gray Carpet', 'Cyan Carpet', 'Purple Carpet',
'Blue Carpet', 'Blue Carpet', 'Brown Carpet', 'Brown Carpet', 'Green Carpet',
'Blue Carpet', 'Brown Carpet', 'Green Carpet',
'Red Carpet', 'Black Carpet', 'Black Carpet',
'Red Carpet', 'Black Carpet',
},
},
['Dyed Terracotta'] = {
['Dyed Terracotta'] = {
'White Terracotta', 'White Terracotta', 'Orange Terracotta', 'Magenta Terracotta', 'Light Blue Terracotta',
'White Terracotta', 'White Terracotta', 'Orange Terracotta', 'Magenta Terracotta', 'Light Blue Terracotta',
'Yellow Terracotta', 'Lime Terracotta', 'Pink Terracotta', 'Gray Terracotta', 'Light Gray Terracotta',
'Yellow Terracotta', 'Lime Terracotta', 'Pink Terracotta', 'Gray Terracotta', 'Light Gray Terracotta',
'Cyan Terracotta', 'Purple Terracotta', 'Blue Terracotta', 'Blue Terracotta', 'Brown Terracotta',
'Cyan Terracotta', 'Purple Terracotta', 'Blue Terracotta', 'Brown Terracotta',
'Brown Terracotta', 'Green Terracotta', 'Red Terracotta', 'Black Terracotta', 'Black Terracotta',
'Brown Terracotta', 'Green Terracotta', 'Red Terracotta', 'Black Terracotta',
},
},
['Flower'] = { 'Oxeye Daisy', 'Cornflower', 'Lily of the Valley', 'Wither Rose', 'Red Tulip', 'Orange Tulip', 'White Tulip', 'Pink Tulip', 'Azure Bluet', 'Allium', 'Blue Orchid', 'Poppy', 'Dandelion' },
['Flower'] = { 'Oxeye Daisy', 'Cornflower', 'Lily of the Valley', 'Wither Rose', 'Red Tulip', 'Orange Tulip', 'White Tulip', 'Pink Tulip', 'Azure Bluet', 'Allium', 'Blue Orchid', 'Poppy', 'Dandelion' },