Module:ParallelAliases and Parallel Wiki:Sandbox: Difference between pages

(Difference between pages)
no edit summary
No edit summary
 
No edit summary
 
Line 1: Line 1:
local aliases = {
== Welcome to the Sandbox! Here, you can play with all of our wiki editing features without the fear of destroying an important page! ==
'Charms',
['Charm Remover']  = { title = '&eCharm Remover', name = 'Charm Remover' },


'Gear',
=== Crafting ===
['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.' },
Example crafting table setup:
['Totem of the Void']    = { title = '&5Totem of the Void', name = 'Totem of the Void', text = '&7Prevents you from dying in the void' },
{{Crafting Table
['Makeshift Wings']         = { title = '&#C8A249Makeshift Wings', name = 'Makeshift Wings', text = '&5&oThis apparatus *should* grant/its wearer the ability to fly' },
| A1= Blaze Powder | B1 = Blaze Powder | C1 = Blaze Powder
['Broken Makeshift Wings'] = { title = '&#C8A249Makeshift Wings', name = 'Makeshift Wings', text = '&5&oThis apparatus *should* grant/its wearer the ability to fly' },
| A2 = Blaze Powder | B2 = Stick     | C2 = Blaze Powder
['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' },
| A3 = Blaze Powder | B3 = Blaze Powder | C3 = Blaze Powder
| Output = Stick
}}


'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',
Shapeless Crafting:
['Soul Shard']          = { name = 'Soul Shard'},
{{Crafting Table
['Unstable Soul Shard']     = { title = '&6Unstable Soul Shard', name = 'Unstable Soul Shard'},
        | shapeless = 1
['Tinted Potion Bottle'] = { title = '&7Tinted Potion Bottle', name = 'Tinted Potion Bottle', text = '&5&oA gross bottle that you should/never drink under any circumstances' },
| A1= Blaze Powder | B1 = Blaze Powder | C1 = Blaze Powder
}
| A2 = Blaze Powder | B2 = Stick     | C2 = Blaze Powder
| A3 = Blaze Powder | B3 = Blaze Powder | C3 = Blaze Powder
| Output = Stick
}}


-- 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 --
Lore:
local halloweenCandy = {  
{{Crafting Table
{ 'Creeper Crunch', '&a'},
| A1= Blaze Powder | B1 = Blaze Powder | C1 = Blaze Powder
{ 'Eerie Eyeball', '&f'},
| A2 = Blaze Powder | B2 = Diamond     | C2 = Blaze Powder
{ 'Green Apple Goo', '&a'},
| A3 = Blaze Powder | B3 = Blaze Powder | C3 = Blaze Powder
{ 'Magma Melt', '&#F9801D'},
| Output = [Stick of Truth]Stick[&6&oThis stick is dope af!]
{ '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 --
=== Inventory Sprites ===
for num = 0, 8, 1
Single item:
do
{{Slot|Stick}}
local name
{{Slot|Dragon Egg}}
if num == 0 then
{{Slot|parallel:Totem of the Void}}
name = 'Pizza'
{{Slot|parallel:Pocket Teleporter}}
aliases[name] = { title = 'Pizza', name = name, text = '&7Slices: 8' }
{{Slot|parallel:Halloween Candy}}
elseif num == 1 then
{{Slot|parallel:Makeshift Wings}}
name = 'Pizza 1 Slice'
{{Slot|parallel:Red Astronaut Hat}}
aliases[name] = { title = 'Pizza', name = name, text = '&7Slices: 1' }
{{Slot|parallel:Red Cat Hat}}
else
{{Slot|parallel:British Shorthair Cat Hat}}
local name = 'Pizza ' .. num .. ' Slices'
{{Slot|parallel:Calico Cat Hat}}
aliases[name] = { title = 'Pizza', name = name, text = '&7Slices: ' .. num }
{{Slot|parallel:Armorer's Welding Mask}}
end
{{Slot|parallel:Cartographer's Golden Monocle}}
end
{{Slot|parallel:Farmer's Straw Hat}}
{{Slot|parallel:Weaponsmith's Eyepatch}}
{{Slot|parallel:Sculk Plague Doctor Mask}}
{{Slot|parallel:Pasta Carbanara}}
{{Slot|Enchanted Golden Poisonous Potato}}
{{Slot|parallel:Pizza}}
{{Slot|parallel:Pizza 1 Slice}}
{{Slot|parallel:Pizza 8 Slices}}
{{Slot|parallel:Sushi Roll 3 Slices}}
{{Slot|parallel:Sushi Roll 4 Slices}}
{{Slot|parallel:Diamond Donator Crown}}
{{Slot|parallel:Original Witch Hat}}
{{Slot|parallel:Witch Hat}}
{{Slot|parallel:New Year's Eve 2020 Glasses}}
{{Slot|parallel:New Year's Eve 2023 Glasses}}


-- Sushi --
Multiple items:
for num = 0, 4, 1
{{Slot|Item=Stick|count=8}}
do
{{Slot|Item=parallel:Pocket Teleporter|count=8}}
local name
{{Slot|Item=parallel:Totem of the Void|count=8}}
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 --
=== Inventory icons ===
local junkLoot = {
{{inventory icon|parallel:Totem of the Void}}
{ '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 -
=== Effects ===
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 --
{{EffectSprite|Absorption}} {{EffectSprite|Bad Luck}} {{EffectSprite|Bad Omen}} {{EffectSprite|Blindness}} {{EffectSprite|Conduit Power}}
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 --
{{EffectSprite|Dolphin's Grace}} {{EffectSprite|Fatal Poison}} {{EffectSprite|Fire Resistance}} {{EffectSprite|Glowing}} {{EffectSprite|Haste}}
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 --
{{EffectSprite|Health Boost}} {{EffectSprite|Hero of the Village}} {{EffectSprite|Hunger}}'''etc.....'''
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 --
=== Advancements ===
local ultrarareLoot = {
{{Advancement|Diamond|Blue boi|Become blue!|bg = fancy|state = worn}}
{ '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




----------------------------
{{Advancement
----------- HATS -----------
| Enchanting Table}}
----------------------------


local dyeableText = '&b♦ Dyeable ♦/'
{{Advancement|Parallel:Totem of the Void|link=Grass Block}}
local hatArmorText = '//&r&7When on head:/&9+2 Armor'


-- Hat Pack 1 --
{{Advancement|link=Grass Block}}
local hatPack = {  
{ 'Glow Squid Hat', '&a', '*glowy blorp*'},
{ 'Pirate Hat', '&6', 'Arr, me matey! Set sail for all the seven seas!'},
{ 'Squid Hat', '&9', '*blorp*'},


}
=== Books! ===
for _, hat in ipairs( hatPack ) do
{{Book
local name = hat[1]
|{{BookPage|
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}
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!'}
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!'}
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', '&c', true, 'Double, double toil and trouble;/Fire burn and cauldron bubble...'},
}
for _, hat in ipairs( halloweenHats ) do
local name = hat[1]
local color = hat[2]
local dyeable
if hat[3] == true then local 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 --
        Welcome to
local villagerHats = {
        Parallel!
{ 'Armorer\'s Welding Mask', '&7', 'Shield your eyes from the fiery forge!'},
|active=true}}{{BookPage|Holy smokes!}}
{ 'Butcher\'s Headband', '&c', 'Keeps the sweat out of your eyes!'},
}}Pages you need to edit in order to add a new Sprite Sheet:
{ '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}
end


return aliases
* Template:SpriteSheet
* Module:ItemSprite
* Module:ItemSprite/Aliases
* Module:Sprite
* Module:InventorySlot
* Widget:ItemSprite
* File:ItemSprite.png
* MediaWiki:ParallelStyles.css