Module:ParallelAliases

From Parallel Wiki
Revision as of 05:41, 11 November 2024 by Diamondback88 (talk | contribs)
Jump to navigation Jump to search

This module is used for recreating ingame tooltips for Parallel items with custom textures. These are referenced in item templates using the prefix parallel:, as in parallel:itemname. To be rendered correctly on the wiki, an item needs display information specified on this page and an associated image uploaded, titled File:itemname.png.


local aliases = {
	
	'Charms',
	['Charm Remover']   		= { title = '&eCharm Remover', name = 'Charm Remover' },

	'Gear',
	['Pocket Teleporter']     	= { title = '&5Pocket Teleporter', name = 'Pocket Teleporter', text = '&eRight-click &7to teleport between spawn/and your last location./&eShift + Right-click &7to reset your last location.' },
	['Totem of the Void']     	= { title = '&5Totem of the Void', name = 'Totem of the Void', text = '&7Prevents you from dying in the void' },
	['Makeshift Wings']	        = { title = '&#C8A249Makeshift Wings', name = 'Makeshift Wings', text = '&5&oThis apparatus *should* grant/its wearer the ability to fly' },
	['Broken Makeshift Wings']	= { title = '&#C8A249Makeshift Wings', name = 'Makeshift Wings', text = '&5&oThis apparatus *should* grant/its wearer the ability to fly' },
	['Red Astronaut Hat']	= { title = '&4&lRed Astronaut Hat', name = 'Red Astronaut Hat', text = '&5&oThe vast void of space is harsh without this./&r&cRequired to access the Space Station!//&r&7When on head:/&9+2 Armor/&9+2 Armor Toughness' },

	'Food',
	['Baguette']			= { name = 'Baguette'},
	['Hot Chocolate']		= { name = 'Hot Chocolate', text = '&9Instant Health/&9Speed (00:10)' },
	['Parallel Soda']		= { title = 'Parallel Soda Can', name = 'Parallel Soda', text = '&5&oIt\'s not Pepsi... it\'s Parallel!' },
	['Pasta Carbanara']		= { name = 'Pasta Carbanara'},

	'Misc',
	['Soul Shard']           	= { name = 'Soul Shard'},
	['Unstable Soul Shard']	    = { title = '&6Unstable Soul Shard', name = 'Unstable Soul Shard'},
	['Tinted Potion Bottle']	= { title = '&7Tinted Potion Bottle', name = 'Tinted Potion Bottle', text = '&5&oA gross bottle that you should/never drink under any circumstances' },

}

-- Demo Charm Applicators Levels 1-4 --
for num = 1, 4, 1
do
	local name = 'Charm Applicator Level ' .. num
	aliases[name] = { title = '&eCharm Applicator', name = name, text = '&7Charm Name/&5&oThis is where the description/of the charm goes'}
end

-- Halloween Candy --
local halloweenCandy = { 
	{ 'Creeper Crunch',			'&a'},
	{ 'Eerie Eyeball',			'&f'},
	{ 'Green Apple Goo',		'&a'},
	{ 'Magma Melt',				'&#F9801D'},
	{ 'Mysterious Mint',		'&a'},
	{ 'Nether Portal Nougat',	'&5'},
	{ 'Phantasmic Fudge',		'&#F9801D'},
	{ 'Pumpkin Pop',			'&#F9801D'},
	{ 'Ralnthar Roar',			'&#F9801D'},
	{ 'Raspberry Rift',			'&5'},
	{ 'Spooky Candy',			'&5'},
}
for _, candy in ipairs( halloweenCandy ) do
	local name = candy[1]
	local color = candy[2]
	aliases[name] = { title = '&l' .. color .. name, name = name, text = '&6&oIts flavor is unique, and/always changing. Quite spooky!'}
end	

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

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

-- Fishing loot: junk --
local junkLoot = {
	{ 'Old Boot',			'Who lost their shoe?'},
	{ 'Parallel Soda Can',	'It\'s not Pepsi... it\'s Parallel!'},
	{ 'Rock',				'It\'s not just a boulder... it\'s a rock!'},
}
for _, junk in ipairs( junkLoot ) do
	local name = junk[1]
	local lore = junk[2]
	aliases[name] = { title = name, name = name, text = '&l&cJUNK/&r&7' .. lore}
end

-- Fishing loot: treasure -
local treasureLoot = {
	{ 'Treasure Bundle',				'A bundle full of pirate treasure!'},
	{ 'Overflowing Treasure Bundle',	'A bundle bursting with pirate treasure!'},
}
for _, treasure in ipairs( treasureLoot ) do
	local name = treasure[1]
	local lore = treasure[2]
	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',		'A ray-finned fish known for its distinctive red sheen'},
	{ 'Raw Red Snapper',		'A ray-finned fish known for its distinctive red sheen'},
}
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


----------------------------
----------- HATS -----------
----------------------------

local dyeableText = '&b♦ Dyeable ♦/'
local hatArmorText = '//&r&7When on head:/&9+2 Armor'

-- Hat Pack 1 --
local hatPack = { 
	{ 'Pirate Hat',				'&6',	'Arr, me matey! Set sail for all the seven seas!'},
	{ 'Squid Hat',				'&9',	'*blorp*'},
	{ 'Glow Squid Hat',			'&a',	'*glowy blorp*'},
	{ 'Bee Hat',				'&6',	'Bzzzzz...'},
	{ 'Angry Bee Hat',			'&6',	'BZZZZZ...'},
	{ 'Nectar Bee Hat',			'&6',	'Bzzzzz... *drip*'},
	{ 'Angry Nectar Bee Hat',	'&6',	'BZZZZZ... *drip*'},
	{ 'Heart Glasses',			'&c',	'Yowza!'},
	{ 'White Top Hat',			'&f',	'What\'s hiding under there?'},

}
for _, hat in ipairs( hatPack ) do
	local name = hat[1]
	local color = hat[2]
	local lore = hat[3]
	aliases[name] = { title = '&l' .. color .. name, name = name, text = '&8♦ Hat Pack 1 ♦/&r&5&o' .. lore .. hatArmorText}
end

-- Hat Pack 2 --
local hatPack2 = { 
	{ 'Buzzing Bee Hat',				'&6',			false,	'Bzzzzz...'},
	{ 'Buzzing Angry Bee Hat',			'&6',			false,	'BZZZZZ...'},
	{ 'Buzzing Nectar Bee Hat',			'&6',			false,	'Bzzzzz... *drip*'},
	{ 'Buzzing Angry Nectar Bee Hat',	'&6',			false,	'BZZZZZ... *drip*'},
	{ 'Trapper Hat',					'&#9d5a2d',		true,	'Guaranteed to keep your ears warm!'},

}
for _, hat in ipairs( hatPack2 ) do
	local name = hat[1]
	local color = hat[2]
	local dyeable
	if hat[3] then dyeable = dyeableText else dyeable = '' end
	local lore = hat[4]
	aliases[name] = { title = '&l' .. color .. name, name = name, text = dyeable .. '&8♦ Hat Pack 2 ♦/&r&5&o' .. lore .. hatArmorText}
end

-- Cat Series --
local catHats = { 
	{ 'Black Cat Hat',				'&8'},
	{ 'British Shorthair Cat Hat',	'&7'},
	{ 'Calico Cat Hat',				'&6'},
	{ 'Jellie Cat Hat',				'&f'},
	{ 'Ocelot Hat',					'&e'},
	{ 'Persian Cat Hat',			'&#f3ca8e'},
	{ 'Ragdoll Cat Hat',			'&#8a756a'},
	{ 'Red Cat Hat',				'&c'},
	{ 'Siamese Cat Hat',			'&#e9dcc7'},
	{ 'Tabby Cat Hat',				'&#785940'},
	{ 'Tuxedo Cat Hat',				'&f'},
	{ 'White Cat Hat',				'&f'},
}
for _, kitty in ipairs( catHats ) do
	local name = kitty[1]
	local color = kitty[2]
	aliases[name] = { title = '&l' .. color .. name, name = name, text = '&8♦ Cat Series ♦/&r&5&oThe purr-fect hat!' .. hatArmorText}
end

-- Donator Crowns --
local donatorCrowns = {
	{ 'Bronze',		'&#cd7f32'},
	{ 'Silver',		'&#dbdbdb'},
	{ 'Gold',		'&6'},
	{ 'Diamond',	'&b'},
}
for _, hat in ipairs( donatorCrowns ) do
	local name = hat[1] .. ' Donator Crown'
	local color = hat[2]
	aliases[name] = { title = '&l' .. color .. name, name = name, text = '&5&oAwarded to &r&ePlayer &r&5&ofor their/generous support for Parallel!' .. hatArmorText}
end

-- Spooky Hat Pack --
local halloweenHats = { 
	{ 'Original Witch Hat',			'&2',		false,	'Double, double toil and trouble;/Fire burn and cauldron bubble...'},
	{ 'Red Witch Hat',				'&c',		false,	'Double, double toil and trouble;/Fire burn and cauldron bubble...'},
	{ 'Witch Hat',					'&2',		true,	'Double, double toil and trouble;/Fire burn and cauldron bubble...'},
	{ 'Black Plague Doctor Mask',	'&8',		false,	'Bring out the leeches!'},
	{ 'White Plague Doctor Mask',	'&f',		false,	'Bring out the leeches!'},
	{ 'Pink Plague Doctor Mask',	'&#ff69b4',	false,	'Bring out the leeches!'},
	{ 'Bloody Netherite Axe Hat',	'&8',		false,	'Here\'s Johnny!'},
	{ 'Pumpkin Hat',				'&#f9801d',	false,	'We got this idea from &r&5Among Us!'},
	{ 'Jack o\'Lantern Hat',		'&#f9801d',	false,	'It\'s like the Pumpkin Hat, but on fire!'},
}
for _, hat in ipairs( halloweenHats ) do
	local name = hat[1]
	local color = hat[2]
	local dyeable
	if hat[3] then dyeable = dyeableText else dyeable = '' end
	local lore = hat[4]
	aliases[name] = { title = '&l' .. color .. name, name = name, text = dyeable .. '&8♦ Spooky Hat Pack ♦/&r&5&o' .. lore .. hatArmorText}
end

-- Villager Series --
local villagerHats = { 
	{ 'Armorer\'s Welding Mask',		'&7',	'Shield your eyes from the fiery forge!'},
	{ 'Butcher\'s Headband',			'&c',	'Keeps the sweat out of your eyes!'},
	{ 'Cartographer\'s Golden Monocle',	'&e',	'They make maps so tiny these days...'},
	{ 'Cleric\'s Cowl',					'&d',	'Hey, where\'s the rest of the cape?'},
	{ 'Farmer\'s Straw Hat',			'&e',	'It ain\'t much, but it\'s honest work.'},
	{ 'Fisherman\'s Lucky Hat',			'&6',	'It was thiiiiiiis big!'},
	{ 'Fletcher\'s Feather Hat',		'&f',	'Practically a marksman already!'},
	{ 'Librarian\'s Book Hat',			'&4',	'Can\'t put it down!'},
	{ 'Shepherd\'s Herding Hat',		'&f',	'They never go where I want them to.'},
	{ 'Weaponsmith\'s Eyepatch',		'&c',	'I keep running into walls with this thing...'},
}
for _, hat in ipairs( villagerHats ) do
	local name = hat[1]
	local color = hat[2]
	local lore = hat[3]
	aliases[name] = { title = '&l' .. color .. name, name = name, text = '&8♦ Villager Series ♦/&r&5&o' .. lore .. hatArmorText}
end

-- Misc Hats --
local miscHats = { 
	{ 'Early Supporter Glasses',		'&2',		'&5&oThanks for supporting the server!'},
	{ 'Sculk Plague Doctor Mask',		'&3',		'&5&oBring out the leeches!'},
	{ 'New Year\'s Eve 2020 Glasses',	'&b',		'&8New Year\'s Eve 2020/&5&oHere\'s to 2021!'},
	{ 'New Year\'s Eve 2023 Glasses',	'&b',		'&b♦ Dyeable ♦/&r&8New Year\'s Eve 2023/&r&5&oWe\'ll take a cup of kindness yet,/for auld lang syne.'},
	{ 'Santa Hat',						'&#ee001a',	'&8Christmas 2020/&r&5&oBut I heard him exclaim, ere he drove out of sight—/“Happy Christmas to all, and to all a good night!”'},
	{ 'Reindeer Antlers',				'&6',		'&8Christmas 2021/&r&5&oNow, Dasher! Now, Dancer! Now, Prancer and Vixen!/On, Comet! On, Cupid! On, Donder and Blitzen!'},
	{ 'White Reindeer Antlers',			'&f',		'&8Christmas 2021/&r&5&oNow, Dasher! Now, Dancer! Now, Prancer and Vixen!/On, Comet! On, Cupid! On, Donder and Blitzen!'},
	{ 'Structure Creator Hat',			'&6',		'&81.18 Structure Contest/&r&5&oAwarded to players with an accepted/build in the 1.18 Structure Contest!'},	
	{ 'Wild Structure Creator Hat',		'&2',		'&81.19 Structure Contest/&r&5&oAwarded to players with an accepted/build in the 1.19 Structure Contest!'},	
}
for _, hat in ipairs( miscHats ) do
	local name = hat[1]
	local color = hat[2]
	local lore = hat[3]
	aliases[name] = { title = '&l' .. color .. name, name = name, text = lore .. hatArmorText}
end


--------------------------------
----------- TROPHIES -----------
--------------------------------

-- Trophies --
local trophies = { 
	{ 'Ender Dragon Trophy',							'&d',   	 'Parallel Ender Dragon Fight',    	'Awarded to the brave souls who ventured/into the End to defeat the Ender Dragon'},
	{ 'Unstable Rift Trophy',							'&5',   	 'Rift Event - August 21, 2020',   	'Awarded to those who were present/to witness Jess crash the server/by harnessing the power of the rift'},
	{ 'Gold Medal Trophy',								'&6',    	 'Parallel Olympics 2020',  		'Awarded to &r&ePlayer'},
	{ 'Halloween Build Battle - First Place Trophy',	'&6',		 'Halloween Build Battle 2020',    	'Awarded to &r&eBrotherKarl &r&5&oand &r&eFroootLooops &r&5&ofor their build:/"Nightmare Before Christmas on a Budget"'},
	{ 'Halloween Build Battle - Second Place Trophy',	'&6',		 'Halloween Build Battle 2020',    	'Awarded to &r&e_IronHugo_ &r&5&ofor their build:/"UCO (Unidentified Crashed Object From Sky)"'},
	{ 'Roast Turkey Trophy',							'&6',		 'Thanksgiving 2020',   			'The beginning of a great holiday season!'},
	{ 'First Purge Trophy',								'&c',   	 'January 15, 2021',   				'All crime is legal until the server switches hosts.'},
	{ 'Red\'s Space Station Event Trophy',				'&c',   	 'August 15, 2021',   				'Let\'s hope you\'re wearing a helmet...'},
	{ 'End Dimension Reset Trophy',						'&d',   	 'October 16, 2021',   				'That darn dragon won\'t stay dead!'},
	{ 'Turkey Friend Trophy',							'&6',   	 'Thanksgiving 2021',   			'This little guy will accompany you/on this special day!'},
	{ 'Grinch Head Trophy',								'&2',   	 'Christmas 2021',   				'"And what happened, then? Well, in Whoville they say –/that the Grinch\'s small heart grew three sizes that day."'},
	{ 'Parallel Worlds Event Trophy',					'&#f5ecd4',  'January 29, 2022',   				'So this is what happens when you let/a dragon crash through your rift...'},
	{ 'Valentine\'s Day Candle Trophy',					'&#ff69b4',  'Valentine\'s Day 2022',   		'Will you put your Minecraft bed/next to mine?'},
	{ 'Haunted House Trophy',							'&5',   	 'Halloween 2022',   				'Spooky...'},
	{ 'Pumpkin Pie Trophy',								'&6',   	 'Thanksgiving 2022',   			'"Don\'t you know anything about Thanksgiving dinners?/Where\'s the mashed potatoes?/Where\'s the cranberry sauce?/Where\'s the pumpkin pie?"'},
	{ 'Reindeer Trophy',								'&2',   	 'Christmas 2022',   				'You wouldn\'t mind my red nose?'},
	{ '2023 Countdown Trophy',							'&6',   	 'New Year\'s Eve 2022',   			'3... 2... 1... HAPPY NEW YEAR!!!'},
	{ 'Cornucopia Trophy',								'&6',   	 'Thanksgiving 2023',   			'From all of us at Parallel, we hope/you have a happy Thanksgiving!'},
	{ 'Gingerbread House Trophy',						'&#9f5529',	 'Christmas 2023',   				'If you can\'t catch me... I might be here!'},
	{ 'Hatching Chick Trophy',							'&b',   	 'Easter 2024',   					'Happy Easter, everyone!'},
}
for _, trophy in ipairs( trophies ) do
	local name = trophy[1]
	local color = trophy[2]
	local date = trophy[3]
	local lore = trophy[4]
	aliases[name] = { title = '&l' .. color .. name, name = name, text = '&8' .. date .. '/&r&5&o' .. lore}
end

-- Anniversary Trophies --
local anniversaryTrophies = { 
	{ '1',	'&b',   '2021', 	'Thanks for being a part of our community!/Here\'s to the future!'},
	{ '2',	'&e',   '2022', 	'Thanks for being with us for two years!'},
	{ '3',	'&b',   '2023', 	'Three whole years?!?'},
	{ '4',	'&9',   '2024', 	'We\'re still here FOUR years later?!?!?'},
}
for _, trophy in ipairs( anniversaryTrophies ) do
	local name = 'Parallel ' .. trophy[1] .. '-Year Anniversary Trophy'
	local color = trophy[2]
	local year = trophy[3]
	local lore = trophy[4]
	aliases[name] = { title = '&f&lParallel ' .. color .. trophy[1] .. '-Year Anniversary &fTrophy', name = name, text = '&8April 1, ' .. year .. '/&r&5&o' .. lore}
end

-- Firework Rocket Trophies --
local anniversaryTrophies = { 
	{ 'Festive',	'&9',   '2020', 	'Firework go boom!'},
	{ 'Explosive',	'&c',   '2021', 	'Oooooo... pretty colors!'},
	{ 'Thunderous',	'&9',   '2022', 	'Yowza, would\'ya look at that!'},
	{ 'Flammable',	'&c',   '2023', 	'KABOOOOM!'},
	{ 'Vivid',		'&9',   '2024', 	'I\'m going to record this and/never look at the footage again!'},
}
for _, trophy in ipairs( anniversaryTrophies ) do
	local name = trophy[1] .. ' Firework Rocket Trophy'
	local color = trophy[2]
	local year = trophy[3]
	local lore = trophy[4]
	aliases[name] = { title = '&l' .. color .. trophy[1] .. ' Firework Rocket Trophy', name = name, text = '&8Fourth of July ' .. year .. '/&r&5&o' .. lore}
end



return aliases