Module:ParallelAliases: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Tag: Manual revert
No edit summary
Line 56: Line 56:
if num == 0 then
if num == 0 then
name = 'Pizza'
name = 'Pizza'
aliases[name] = { title = 'Pizza', name = name, text = '&7Slices: 8'}
aliases[name] = { title = 'Pizza', name = name, text = '&7Slices: 8' }
break
elseif num == 1 then
elseif num == 1 then
name = 'Pizza 1 Slice'
name = 'Pizza 1 Slice'
aliases[name] = { title = 'Pizza', name = name, text = '&7Slices: 1' }
else
else
local name = 'Pizza ' .. num .. ' Slices'
local name = 'Pizza ' .. num .. ' Slices'
aliases[name] = { title = 'Pizza', name = name, text = '&7Slices: ' .. num }
end
end
aliases[name] = { title = 'Pizza', name = name, text = '&7Slices: ' .. num}
end
end


-- Sushi --
-- Sushi --
-- for num = 0, 4, 1
for num = 0, 4, 1
-- do
do
-- if num == 0 then
local name
-- local name = 'Sushi Roll'
if num == 0 then
-- elseif num == 1 then
name = 'Sushi Roll'
-- local name = 'Sushi Roll 1 Slice'
aliases[name] = { title = 'Sushi Roll', name = name, text = '&7Slices: 4' }
-- else
elseif num == 1 then
-- local name = 'Sushi Roll ' .. num .. ' Slices'
name = 'Sushi Roll 1 Slice'
-- end
aliases[name] = { title = 'Sushi Roll', name = name, text = '&7Slices: 1' }
-- aliases[name] = { title = 'Sushi Roll', name = name, text = '&7Slices: ' .. num}
else
-- end
name = 'Sushi Roll ' .. num .. ' Slices'
aliases[name] = { title = 'Sushi Roll', name = name, text = '&7Slices: ' .. num}
end
end


-- Fishing loot: junk --
-- Fishing loot: junk --

Navigation menu