Module:ParallelAliases: Difference between revisions

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


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


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

Navigation menu