Module:ParallelAliases: Difference between revisions

I'll have to simplify this code later
No edit summary
(I'll have to simplify this code later)
Line 41: Line 41:
local lore = treasure[2]
local lore = treasure[2]
aliases[name] = { title = name, name = name, text = '&l&6TREASURE/&r&7' .. lore}
aliases[name] = { title = name, name = name, text = '&l&6TREASURE/&r&7' .. lore}
end
-- Fishing loot: common --
local commonLoot = {
{ 'Cooked Bream', 'A greenish-brown fish, popular with anglers'},
{ 'Raw Bream', 'A greenish-brown fish, popular with anglers'},
{ 'Cooked Catfish', 'Why did the catfish have trouble sleeping? The bass next door was too loud.'},
{ 'Raw Catfish', 'Why did the catfish have trouble sleeping? The bass next door was too loud.'},
{ 'Cooked Largemouth Bass', 'A common gamefish known for its particularly large mouth. I\'m all about that bass, \'bout that bass. No treble.'},
{ 'Raw Largemouth Bass', 'A common gamefish known for its particularly large mouth. I\'m all about that bass, \'bout that bass. No treble.'},
{ 'Cooked Magikarp', 'Gotta catch ‘em all!'},
{ 'Raw Magikarp', 'Gotta catch ‘em all!'},
{ 'Cooked Small Fry', 'Not to be confused with the McDonalds menu item, this small fish is thoroughly underwhelming.'},
{ 'Raw Small Fry', 'Not to be confused with the McDonalds menu item, this small fish is thoroughly underwhelming.'},
{ 'Cooked Speckled Carp', 'An oily fish with a speckled pattern'},
{ 'Raw Speckled Carp', 'An oily fish with a speckled pattern'},
}
for _, common in ipairs( commonLoot ) do
local name = common[1]
local lore = common[2]
aliases[name] = { title = name, name = name, text = '&l&eCOMMON/&r&7' .. lore}
end
-- Fishing loot: uncommon --
local uncommonLoot = {
{ 'Cooked Crab', 'A crustacean with a mean pinch!'},
{ 'Raw Crab', 'A crustacean with a mean pinch!'},
{ 'Cooked Flounder', 'A flounder and a sole bump into each other. "A flounder!" says the sole. The flounder, to be polite, says nothing.'},
{ 'Raw Flounder', 'A flounder and a sole bump into each other. "A flounder!" says the sole. The flounder, to be polite, says nothing.'},
{ 'Cooked Mackerel', 'Holy mackerel!'},
{ 'Raw Mackerel', 'Holy mackerel!'},
{ 'Cooked Pike', 'A carnivorous fish typically found in brackish waters'},
{ 'Raw Pike', 'A carnivorous fish typically found in brackish waters'},
{ 'Cooked Red Snapper', 'Gotta catch ‘em all!'},
{ 'Raw Red Snapper', 'Gotta catch ‘em all!'},
}
for _, uncommon in ipairs( uncommonLoot ) do
local name = uncommon[1]
local lore = uncommon[2]
aliases[name] = { title = name, name = name, text = '&l&2UNCOMMON/&r&7' .. lore}
end
-- Fishing loot: rare --
local rareLoot = {
{ 'Cooked Calamari', 'A large squid with a distinctive color'},
{ 'Raw European Squid', 'A large squid with a distinctive color'},
{ 'Cooked Striped Bass', 'Like a normal bass, but more stylish'},
{ 'Raw Striped Bass', 'Like a normal bass, but more stylish'},
{ 'Seahorse', 'The stallion of the sea'},
}
for _, rare in ipairs( rareLoot ) do
local name = rare[1]
local lore = rare[2]
aliases[name] = { title = name, name = name, text = '&l&3RARE/&r&7' .. lore}
end
-- Fishing loot: ultrarare --
local ultrarareLoot = {
{ 'Cooked Moorish Idol Fish', 'An exotic tropical fish AKA Gill from Finding Nemo'},
{ 'Raw Moorish Idol Fish', 'An exotic tropical fish AKA Gill from Finding Nemo'},
{ 'Moray Eel', 'A rare eel with a beautiful green color'},
}
for _, ultrarare in ipairs( ultrarareLoot ) do
local name = ultrarare[1]
local lore = ultrarare[2]
aliases[name] = { title = name, name = name, text = '&l&5ULTRA RARE/&r&7' .. lore}
end
end