MediaWiki:Gadget-ResourcePacks.js/Hypixel+.css/update.js

/* * THIS IS NOT A SCRIPT TO BE LOADED ON THE WIKI * * Instead, this is a script that can be pasted into the browser's console while on a wiki page. * This script can be used to generate updated CSS for the parent css page */ /* jshint esversion: 9 */

( => {	const BASE = 'https://hsbwrp.fewfre.com/Hypixel+_0_19_0/assets/minecraft/mcpatcher/cit';	// needed so parser knows whether an object is a file or folder	class Folder { constructor(obj){ this._contents = obj; this.isFolder = true; } }	const resourcepack = new Folder({ '/skyblock': new Folder({			///////////////////////////			// Weapons			///////////////////////////			'/weapons': new Folder({ '/bows': new Folder({					"artisanal_shortbow": { wiki: "Artisanal Shortbow" },					"bone_boomerang": { wiki: "Bonemerang" },					"crypt_bow": { wiki: "Soulstealer Bow" },					"death_bow": { wiki: "Death Bow" },					"decent_bow": { wiki: "Decent Bow" },					"dragon_shortbow": { wiki: "Dragon Shortbow" },					"end_stone_bow": { wiki: "End Stone Bow" },					"ender_bow": { wiki: "Ender Bow" },					"explosive_bow": { wiki: "Explosive Bow" },					"healing_bow": { wiki: "Healing Bow" },					"hurricane_bow": { wiki: "Hurricane Bow" },					"item_spirit_bow": { wiki: "Spirit Bow" },					"juju_shortbow": { wiki: "Juju Shortbow" },					"last_breath": { wiki: [ "Last Breath", "⚚ Last Breath" ] },					"machine_gun_bow": { wiki: "Machine Gun Bow" },					"magma_bow": { wiki: "Magma Bow" },					"mosquito_bow": { wiki: "Mosquito Bow" },					"prismarine_bow": { wiki: "Prismarine Bow" },					"runaans_bow": { wiki: "Runaan's Bow" }, "savana_bow": { wiki: "Savanna Bow" }, "scorpion_bow": { wiki: "Scorpion Bow" }, "slime_bow": { wiki: "Slime Bow" }, "sniper_bow": { wiki: "Sniper Bow" }, "souls_rebound": { wiki: "Souls Rebound" }, "spider_queens_stinger": { wiki: [ "Spider Queen's Stinger", "⚚ Spider Queen's Stinger" ] }, "stinger_bow": { wiki: "Stinger Bow" }, "stun_bow": { wiki: "Stun Bow" }, "sulphur_bow": { wiki: "Sulphur Bow" }, "terminator": { wiki: "Terminator" }, "undead_bow": { wiki: ["Undead Bow", "Super Undead Bow"] }, "venoms_touch": { wiki: [ "Venom's Touch", "⚚ Venom's Touch" ] }, "wither_bow": { wiki: "Wither Bow" }, /* Alt item states/variants that don't matter on the wiki: skyblock/weapons/bows/bone_boomerang_thrown.png skyblock/weapons/bows/null_bow.png */				}),				'/other': new Folder({ }),				'/staffs_wands': new Folder({ }),				'/swords': new Folder({ "arack": { wiki: "Arack" }, "aspect_of_the_draconic": { wiki: "Aspect of the Draconic" }, "aspect_of_the_dragon": { wiki: "Aspect of the Dragons" }, "aspect_of_the_end": { wiki: "Aspect of the End" }, "aspect_of_the_jerry": { wiki:[ "Aspect of the Jerry", "Thick Aspect of the Jerry" ] }, "aspect_of_the_void": { wiki: "Aspect of the Void" }, "astraea": { wiki: "Astraea" }, "atomsplit_katana": { wiki: "Atomsplit Katana" }, "axe_of_the_shredded": { wiki: "Axe of the Shredded" }, "bingolibur": { wiki: "Bingolibur" }, "blade_of_the_volcano": { wiki: "Blade of the Volcano" }, "burstfire_dagger_auric": { wiki: "Kindlebane Dagger" }, "burstmaw_dagger_crystal": { wiki: "Mawdredge Dagger" }, "chicken_axe": { wiki: "Chicken Axe" }, "cleaver": { wiki: "Cleaver" }, "conjuring_sword": { wiki: "Conjuring" }, "cow_axe": { wiki: "Cow Axe" }, "crypt_dreadlord_sword": { wiki: "Dreadlord Sword" }, "crypt_witherlord_sword": { wiki: "Crypt Witherlord Sword" }, "daedalus_axe": { wiki: "Daedalus Axe" }, "dark_claymore": { wiki: "Dark Claymore" }, "earth_shard": { wiki: "Earth Shard" }, "edible_mace": { wiki: "Edible Mace" }, "ember_rod": { wiki: "Ember Rod" }, "emerald_blade": { wiki: "Emerald Blade" }, "end_stone_sword": { wiki: "End Stone Sword" }, "end_sword": { wiki: "End Sword" }, "enrager": { wiki: "Enrager" }, "fancy_sword": { wiki: "Fancy Sword" }, "fel_sword": { wiki: "Fel Sword" }, "firedust_dagger_ashen": { wiki: "Firedust Dagger" }, "flaming_sword": { wiki: "Flaming Sword" }, "florid_zombie_sword": { wiki: "Florid Zombie Sword" }, "flower_of_truth": { wiki: "Flower of Truth" }, "frozen_scythe": { wiki: "Frozen Scythe" }, "ghoul_buster": { wiki: "Ghoul Buster" }, "glacial_scythe": { wiki: "Glacial Scythe" }, "golem_sword": { wiki: "Golem Sword" }, "great_spook_sword": { wiki: "Great Spook Sword" }, "heartfire_dagger_ashen": { wiki: "Pyrochaos Dagger" }, "heartmaw_dagger_spirit": { wiki: "Deathripper Dagger" }, "hunter_knife": { wiki: ["Hunter Knife", "Giant Cleaver"] }, // Giant Cleaver is same asset but larger "hyper_cleaver": { wiki: "Hyper Cleaver" }, "hyperion": { wiki: "Hyperion" }, "leaping_sword": { wiki: "Leaping Sword" }, "leech_sword": { wiki: "Leech Sword" }, "livid_dagger": { wiki: "Livid Dagger" }, "mawdust_dagger_spirit": { wiki: "Twilight Dagger" }, "mercenary_axe": { wiki: "Mercenary Axe" }, "midas_sword": { wiki: "Midas' Sword" }, "mushroom_cow_axe": { wiki: "Mushroom Cow Axe" }, "necromancer_sword": { wiki: "Necromancer Sword" }, "necron_blade": { wiki:[ "Necron's Blade (Unrefined)", "Necron's Blade" ] }, "nova_sword": { wiki: "Sword of the Universe" }, "ornate_zombie_sword": { wiki: "Ornate Zombie Sword" }, "pig_axe": { wiki: "Pig Axe" }, "pigman_sword": { wiki: "Pigman Sword" }, "pooch_sword": { wiki: "Pooch Sword" }, "prismarine_blade": { wiki: "Prismarine Blade" }, "rabbit_axe": { wiki: "Rabbit Axe" }, "ragnarock_axe": { wiki: "Ragnarock Axe" }, "raider_axe": { wiki: "Raider Axe" }, "reaper_scythe": { wiki: "Reaper Scythe" }, "reaper_sword": { wiki: "Reaper Falchion" }, "recluse_fang": { wiki: "Recluse Fang" }, "revenant_sword": { wiki: "Revenant Falchion" }, "rogue_sword": { wiki: "Rogue Sword" }, "scorpion_foil": { wiki:[ "Scorpion Foil", "Thick Scorpion Foil" ] }, "scylla": { wiki: "Scylla" }, "self_recursive_pickaxe": { wiki: "Self-Recursive Pickaxe" }, "shadow_fury": { wiki: "Shadow Fury" }, "shaman_sword": { wiki: "Shaman Sword" }, "sheep_axe": { wiki: "Sheep Axe" }, "silent_death": { wiki: "Silent Death" }, "silk_edge_sword": { wiki: "Silk-Edge Sword" }, "silver_fang": { wiki: "Silver Fang" }, "silver_laced_karambit": { wiki: "Silver-Laced Karambit" }, "silvertwist_karambit": { wiki: "Silver-Twist Karambit" }, "sinseeker_scythe": { wiki: "Sinseeker Scythe" }, "spider_sword": { wiki: "Spider Sword" }, "spirit_sword": { wiki: "Spirit Sword" }, "squire_sword": { wiki: "Squire Sword" }, "star_sword": { wiki:[ "Sword of the Stars", "Sword of the Stars 3000", "Sword of the Stars 9000" ] }, "stone_blade": { wiki: "Adaptive Blade" }, "super_cleaver": { wiki: "Super Cleaver" }, "sword_of_bad_health": { wiki: "Sword of Bad Health" }, "sword_of_revelations": { wiki:[ "Sword of Revelations", "Thick Sword of Revelations" ] }, "sword_of_the_multiverse": { wiki: "Sword of the Multiverse" }, "tactician_murder_weapon": { wiki: "Tactician's Murder Weapon" }, "tactician_sword": { wiki:[ "Tactician's Sword", "Thick Tactician's Sword" ] }, "undead_sword": { wiki: "Undead Sword" }, "valkyrie": { wiki: "Valkyrie" }, "void_sword": { wiki: "Void Sword" }, "voidedge_katana": { wiki: "Voidedge Katana" }, "voidwalker_katana": { wiki: "Voidwalker Katana" }, "vorpal_katana": { wiki: "Vorpal Katana" }, "wither_cloak": { wiki: "Wither Cloak Sword" }, "wyld_sword": { wiki: "Wyld Sword" }, "yeti_sword": { wiki: "Yeti Sword" }, "zombie_knight_sword": { wiki: "Zombie Knight Sword" }, "zombie_soldier_cutlass": { wiki: "Zombie Soldier Cutlass" }, "zombie_sword": { wiki: "Zombie Sword" }, /* Alt item states/variants that don't matter on the wiki skyblock/weapons/swords/atomsplit_katana_power.png skyblock/weapons/swords/burstfire_dagger_ashen.png skyblock/weapons/swords/burstmaw_dagger_spirit.png skyblock/weapons/swords/firedust_dagger_auric.png skyblock/weapons/swords/heartfire_dagger_auric.png skyblock/weapons/swords/heartmaw_dagger_crystal.png skyblock/weapons/swords/mawdust_dagger_crystal.png skyblock/weapons/swords/voidedge_katana_power.png skyblock/weapons/swords/vorpal_katana_power.png skyblock/weapons/swords/great_spook_sword_1st.png */				}),			}),			///////////////////////////			// Armor ///////////////////////////			'/armor': new Folder({				// Solo pieces				"masks/bonzo_mask": { wiki: "Bonzo Mask" },				"masks/enderman_mask": { wiki: "Enderman Mask" },				"masks/happy_mask": { wiki: "Happy Mask" },				"masks/kalhuiki_mask": { wiki: "Kalhuiki Mask" },				"masks/pig_mask": { wiki: "Pig Mask" },				"masks/spirit_mask": { wiki: "Spirit Mask" },				"masks/vampire_mask": { wiki: "Vampire Mask" },				"masks/vampire_witch_mask": { wiki: "Vampire Witch Mask" },				"masks/witch_mask": { wiki: "Witch Mask" },				"masks/detransfigured_mask": { wiki: "Used Detransfigured Face" },				"masks/not_deadgehog_mask": { wiki: "Not-Dead-Gehog Mask" },				"/rift/gunther_sneakers": { wiki: "Gunther's Sneakers" },				"/rift/exceedingly_comfy_sneakers": { wiki: "Exceedingly Comfy Sneakers" },				"/rift/orange_chestplate": { wiki: "Orange Chestplate" },				"/rift/etalptsehc_nori": { wiki: ["etalptsehC norI", "EtalptsehC norI"] }, "/rift/chicken_leggs": { wiki: "Chicken Leggs" }, "/rift/lively_sepulture_chestplate": { wiki: "Lively Sepulture Chestplate" }, "/rift/leggings_of_the_coven_red": { wiki: "Leggings of the Coven" }, // Red is default "/rift/snake_in_a_boot": { wiki: "Snake-in-a-Boot" }, "/rift/femurgrowth_leggings": { wiki: "Femurgrowth Leggings" }, "/rift/anti_bite_scarf/anti_bite_scarf": { wiki: "Anti-Bite Scarf" }, // Mythic version - wiki only shows default (red) "/rift/anti_bite_scarf/anti_bite_scarf_2_red": { selectors:[`.invslot-item-image[data-minetip-title="&dAnti-Bite Scarf"] img`] }, // Sets "cropie/cropie_boots": { wiki: "Cropie Boots" }, "cropie/cropie_chestplate": { wiki: "Cropie Chestplate" }, "cropie/cropie_leggings": { wiki: "Cropie Leggings" }, "fermento/fermento_boots": { wiki: "Fermento Boots" }, "fermento/fermento_chestplate": { wiki: "Fermento Chestplate" }, "fermento/fermento_leggings": { wiki: "Fermento Leggings" }, "melon/melon_boots": { wiki: "Melon Boots" }, "melon/melon_chestplate": { wiki: "Melon Chestplate" }, "melon/melon_leggings": { wiki: "Melon Leggings" }, "rabbit/rabbit_boots": { wiki: "Rabbit Boots" }, "rabbit/rabbit_chestplate": { wiki: "Rabbit Chestplate" }, "rabbit/rabbit_helmet": { wiki: "Rabbit Helmet" }, "rabbit/rabbit_leggings": { wiki: "Rabbit Leggings" }, "squash/squash_boots": { wiki: "Squash Boots" }, "squash/squash_chestplate": { wiki: "Squash Chestplate" }, "squash/squash_leggings": { wiki: "Squash Leggings" }, "tuxedo/seymour/cashmere_jacket": { wiki: "Cashmere Jacket" }, "tuxedo/seymour/oxford_shoes": { wiki: "Oxford Shoes" }, "tuxedo/seymour/satin_trousers": { wiki: "Satin Trousers" }, "tuxedo/seymour/velvet_top_hat": { wiki: "Velvet Top Hat" }, "rift/wyld/wyld_chestplate": { wiki: "Wyld Chain Top" }, "rift/wyld/wyld_leggings": { wiki: "Wyld Leggings" }, "rift/wyld/wyld_boots": { wiki: "Wyld Boots" }, // Mob Armor '/mobs': new Folder({					"watcher/watcher_chestplate": { wiki: "Watcher Chestplate" },					"watcher/watcher_leggings": { wiki: "Watcher Leggings" },					"watcher/watcher_boots": { wiki: "Watcher Boots" },					"emperor/emperor_robes": { wiki: "Emperor Robes" },					"emperor/emperor_leggings": { wiki: "Emperor Leggings" },					"emperor/emperor_shoes": { wiki: "Emperor Shoes" },					"sea_walker/sea_walker_chestplate": { wiki: "Sea Walker Chestplate" },					"sea_walker/sea_walker_leggings": { wiki: "Sea Walker Leggings" },					"sea_walker/sea_walker_boots": { wiki: "Sea Walker Boots" },					"hydra1/hydra1_chestplate": { wiki: "Water Hydra Chestplate" },					"hydra1/hydra1_leggings": { wiki: "Water Hydra Leggings" },					"hydra1/hydra1_boots": { wiki: "Water Hydra Boots" },				}), }),			///////////////////////////			// Accessories			///////////////////////////			'/accessories': new Folder({ '/talisman': new Folder({					soulflow_pile: { wiki: "Soulflow Pile" },					wolf_paw: { wiki: "Wolf Paw" },					"campfire_talisman_1": { wiki: ["Campfire Initiate Badge", "Campfire Adept Badge"] },					"campfire_talisman_2": { wiki: ["Campfire Cultist Badge", "Campfire Scion Badge"] },					"campfire_talisman_3": { wiki: "Campfire God Badge" },					"cropie_talisman": { wiki: "Cropie Talisman" },					"agarimoo_talisman": { wiki: "Agarimoo Talisman" },					"big_brain_talisman": { wiki: "Big Brain Talisman" },					"blood_donor_talisman": { wiki: "Blood Donor Talisman" },					"future_calories": { wiki: "Future Calories Talisman" },					"lush_talisman": { wiki: "Lush Talisman" },				}), '/ring': new Folder({					ring_of_space: { wiki: "Ring of Space" },					soulflow_battery: { wiki: "Soulflow Battery" },					"squash_ring": { wiki: "Squash Ring" },					"agarimoo_ring": { wiki: "Agarimoo Ring" },					"blood_donor_ring": { wiki: "Blood Donor Ring" },					"bluetooth_ring": { wiki: "Bluetooth Ring" },					"lush_ring": { wiki: "Lush Ring" },					"ring_of_broken_love": { wiki: "Ring of Broken Love" },					"dante_ring": { wiki: "Dante Ring" },				}), '/artifact': new Folder({					draconic_artifact: { wiki: "Draconic Artifact" },					great_spook_artifact: { wiki: "Great Spook Artifact" },					soulflow_supercell: { wiki: "Soulflow Supercell" },					"fermento_artifact": { wiki: "Fermento Artifact" },					"agarimoo_artifact": { wiki: "Agarimoo Artifact" },					"artifact_of_space": { wiki: "Artifact of Space" },					"bingo_artifact": { wiki: "Bingo Artifact" },					"blood_donor_artifact": { wiki: "Blood Donor Artifact" },					"candy_artifact": { wiki: "Candy Artifact" },					"crooked_artifact": { wiki: "Crooked Artifact" },					"hegemony_artifact": { wiki: "Hegemony Artifact" },					"kuudra_follower_artifact": { wiki: "Kuudra Follower Artifact" },					"lush_artifact": { wiki: "Lush Artifact" },					"punchcard_artifact": { wiki: "Punchcard Artifact" },					"spider_artifact": { wiki: "Spider Artifact" },					"spiked_atrocity": { wiki: "Spiked Atrocity" }, }),				'/relic': new Folder({ seal_of_the_family: { wiki: "Seal of the Family" }, "bingo_relic": { wiki: "Bingo Relic" }, "candy_relic": { wiki: "Candy Relic" }, "kuudra_follower_relic": { wiki: "Kuudra Follower Relic" }, "vampire_dentist_relic": { wiki: "Vampire Dentist Relic" }, }),				'/abicase': new Folder({ "abicase_blue_red": { wiki: "Blue™ but Red Abicase" }, "abicase_blue_blue": { wiki: "Actually Blue™ Abicase" }, "abicase_blue_green": { wiki: "Blue™ but Green Abicase" }, "abicase_blue_yellow": { wiki: "Blue™ but Yellow Abicase" }, "abicase_blue_aqua": { wiki: "Lighter Blue™ Abicase" }, "abicase_rezar": { wiki: "Rezar® Abicase" }, "abicase_sumsung_1": { wiki: "Sumsung© G3 Abicase" }, "abicase_sumsung_2": { wiki: "Sumsung© GG Abicase" }, }),				handy_blood_chalice: { wiki: "Handy Blood Chalice" },				jake_plushie: { wiki: "Jake's Plushie" },				"pigs_foot": { wiki: "Pig's Foot" },				"broken_piggy_bank": { wiki: "Broken Piggy Bank" },				"cracked_piggy_bank": { wiki: "Cracked Piggy Bank" },				"garlic_flavored_gummy_bear": { wiki: "Perma-Jelled Garlic-Flavored Re-Heated Gummy Polar Bear" },				"harmonious_surgery_toolkit": { wiki: "Harmonious Surgery Toolkit" },				"heirloom/bingo_heirloom": { wiki: "Bingo Heirloom" },				"hocus_pocus_cipher": { wiki: "Hocus-Pocus Cipher" },				"piggy_bank": { wiki: "Piggy Bank" },				"pocket_espresso_machine": { wiki: "Pocket Espresso Machine" },				"rift_prism": { wiki: "Rift Prism" },				"test_bucket_please_ignore": { wiki: "Test Bucket Please Ignore" },				"tiny_dancer": { wiki: "Tiny Dancer" },				"warding_trinket": { wiki: "Warding Trinket" },				"miniaturized_tubulator": { wiki: "Miniaturized Tubulator" }, // Crux Talisman "tiered/crux_talisman/crux_talisman_1": { wiki: "Crux Talisman" }, "tiered/crux_talisman/crux_talisman_2": { wiki: "Crux Ring" }, "tiered/crux_talisman/crux_talisman_3": { wiki: "Crux Artifact" }, "tiered/crux_talisman/crux_talisman_4": { wiki: "Crux Relic" }, "tiered/crux_talisman/crux_talisman_5": { wiki: "Crux Heirloom" }, "tiered/crux_talisman/crux_talisman_6": { wiki: "Crux Chronomicon" }, // Pandora's Box "tiered/pandoras_box/pandoras_box": { wiki: "Pandora's Box" }, // NOTE: wiki currently only ever shows common slot // "tiered/pandoras_box/pandoras_box_uncommon": { wiki: "Pandora's Box (Uncommon)" }, // "tiered/pandoras_box/pandoras_box_rare": { wiki: "Pandora's Box (Rare)" }, // "tiered/pandoras_box/pandoras_box_epic": { wiki: "Pandora's Box (Epic)" }, // "tiered/pandoras_box/pandoras_box_legendary": { wiki: "Pandora's Box (Legendary)" }, // "tiered/pandoras_box/pandoras_box_mythic": { wiki: "Pandora's Box (Mythic)" }, // Book of Progression "tiered/book_of_progression/book_of_progression": { wiki: "Book of Progression" }, // NOTE: wiki currently only ever shows common slot // "tiered/book_of_progression/book_of_progression_uncommon": { wiki: "Book of Progression (Uncommon)" }, // "tiered/book_of_progression/book_of_progression_rare": { wiki: "Book of Progression (Rare)" }, // "tiered/book_of_progression/book_of_progression_epic": { wiki: "Book of Progression (Epic)" }, // "tiered/book_of_progression/book_of_progression_legendary": { wiki: "Book of Progression (Legendary)" }, // "tiered/book_of_progression/book_of_progression_mythic": { wiki: "Book of Progression (Mythic)" }, }),			///////////////////////////			// Equipment			///////////////////////////			'/equipment': new Folder({ "lotus_belt": { wiki: "Lotus Belt" }, "lotus_bracelet": { wiki: "Lotus Bracelet" }, "lotus_cloak": { wiki: "Lotus Cloak" }, "lotus_necklace": { wiki: "Lotus Necklace" }, "rift_necklace_inside": { selectors:[ `.invslot-item[data-minetip-title="&dRift Necklace"][data-minetip-text*="&d&lMYTHIC NECKLACE"] img` ] }, "rift_necklace_outside": { wiki: "Rift Necklace" }, "enigma_cloak": { wiki: "Enigma Cloak" }, "disinfestor_gloves": { wiki: "Disinfestor Gloves" }, "silkrider_safety_belt": { wiki: "Silkrider Safety Belt" }, "leech_belt": { wiki: "Leech Belt" }, "vermin_belt": { wiki: "Vermin Belt" }, }),			///////////////////////////			// Fishing Rods			///////////////////////////			'/fishing_rods': new Folder({ "auger_rod": { wiki: "Auger Rod" }, "challenge_rod": { wiki: "Challenging Rod" }, "champ_rod": { wiki: "Rod of Champions" }, "chum_rod": { wiki: "Chum Rod" }, "dirt_rod": { wiki: "Dirt Rod" }, "farmer_rod": { wiki: "Farmer's Rod" }, "grappling_hook": { wiki: "Grappling Hook" }, "hellfire_rod": { wiki: "Hellfire Rod" }, "ice_rod": { wiki: "Ice Rod" }, "inferno_rod": { wiki: "Inferno Rod" }, "legend_rod": { wiki: "Rod of Legends" }, "magma_rod": { wiki: "Magma Rod" }, "phantom_rod": { wiki: "Phantom Rod" }, "prismarine_rod": { wiki: "Prismarine Rod" }, "rod_of_the_sea": { wiki: "Rod of the Sea" }, "shiny_rod": { wiki: "Shiny Rod" }, "soul_whip": { wiki: "Soul Whip" }, "speedster_rod": { wiki: "Speedster Rod" }, "sponge_rod": { wiki: "Sponge Rod" }, "starter_lava_rod": { wiki: "Starter Lava Rod" }, "the_shredder": { wiki: "Shredder" }, "winter_rod": { wiki: "Winter Rod" }, "yeti_rod": { wiki: "Yeti Rod" }, "zombie_commander_whip": { wiki: "Zombie Commander Whip" }, /* Unused skyblock/fishing_rods/null_rod.png */			}),			///////////////////////////			// Tools			///////////////////////////			'/tools': new Folder({ "/arrows/arrow_bundle_magma": { wiki: "Magma Arrow Bundle" }, "/combat/jingle_bells": { wiki: "Jingle Bells" }, "/combat/holy_ice": { wiki: "Holy Ice" }, "/combat/steak_stake": { wiki: "Steak Stake" }, "/combat/voodoo_doll_wilted": { wiki: "Jinxed Voodoo Doll" }, "/combat/weirder_tuba": { wiki: "Weirder Tuba" }, "foraging/promising_axe": { wiki: "Promising Axe" }, "foraging/rookie_axe": { wiki: "Rookie Axe" }, "mining/bob_omb": { wiki: "Bob-omb" }, "mining/promising_pickaxe": { wiki: "Promising Pickaxe" }, "mining/promising_spade": { wiki: "Promising Shovel" }, "mining/rookie_pickaxe": { wiki: "Rookie Pickaxe" }, "mining/rookie_spade": { wiki: "Rookie Shovel" }, '/abiphones': new Folder({					"aatrox_batphone": { wiki: "Maddox Batphone" },					"aatrox_badphone": { wiki: "Maddox Badphone" },					"abiphone_xiii_pro": { wiki: "Abiphone XIII Pro" },					"abiphone_xiii_pro_giga": { wiki: "Abiphone XIII Pro Giga" },					"abiphone_xii_mega": { wiki: "Abiphone XII Mega" },					"abiphone_xii_mega_color": { wiki: "Abiphone XII Mega Color" },					"abiphone_xiv_enormous": { wiki: "Abiphone XIV Enormous" },					"abiphone_xiv_enormous_black": { wiki: "Abiphone XIV Enormous Black" },					"abiphone_xiv_enormous_purple": { wiki: "Abiphone XIV Enormous Purple" },					"abiphone_xi_ultra": { wiki: "Abiphone XI Ultra" },					"abiphone_xi_ultra_style": { wiki: "Abiphone XI Ultra Style" },					"abiphone_x_plus": { wiki: "Abiphone X Plus" },					"abiphone_x_plus_special_edition": { wiki: "Abiphone X Plus Special Edition" },				}), '/arrows': new Folder({					"armorshred_arrow": { wiki: "Armorshred Arrow" },					"flint_arrow": { wiki: "Flint Arrow" },					"arrow_swapper": { wiki: "Arrow Swapper" },					"bouncy_arrow": { wiki: "Bouncy Arrow" },					"emerald_tipped_arrow": { wiki: "Emerald-tipped Arrow" },					"explosive_arrow": { wiki: "Explosive Arrow" },					"glue_arrow": { wiki: "Glue Arrow" },					"gold_tipped_arrow": { wiki: "Gold-tipped Arrow" },					"icy_arrow": { wiki: "Icy Arrow" },					"magma_arrow": { wiki: "Magma Arrow" },					"nansorb_arrow": { wiki: "Nansorb Arrow" },					"redstone_tipped_arrow": { wiki: "Redstone-tipped Arrow" },					/* These are the versions used in the swapper UI, which we don't seem to show anywhere						skyblock/tools/arrows/arrow_swapper_armorshred.png						skyblock/tools/arrows/arrow_swapper_bouncy.png						skyblock/tools/arrows/arrow_swapper_emerald_tipped.png						skyblock/tools/arrows/arrow_swapper_explosive.png skyblock/tools/arrows/arrow_swapper_flint.png skyblock/tools/arrows/arrow_swapper_glue.png skyblock/tools/arrows/arrow_swapper_gold_tipped.png skyblock/tools/arrows/arrow_swapper_icy.png skyblock/tools/arrows/arrow_swapper_magma.png skyblock/tools/arrows/arrow_swapper_nansorb.png skyblock/tools/arrows/arrow_swapper_none.png skyblock/tools/arrows/arrow_swapper_redstone_tipped.png skyblock/tools/arrows/arrow_swapper_reinforced_iron.png */				}),				'/drills': new Folder({ '/drill_parts': new Folder({						"drill_engine": { wiki: "Drill Engine" },						"mithril_drill_engine": { wiki: "Mithril-Plated Drill Engine" },						"titanium_drill_engine": { wiki: "Titanium-Plated Drill Engine" },						"ruby_polished_drill_engine": { wiki: "Ruby-Polisged Drill Engine" },						"sapphire_polished_drill_engine": { wiki: "Sapphire-Polished Drill Engine" },						"amber_polished_drill_engine": { wiki: "Amber-Polished Drill Engine" },						"fuel_tank": { wiki: "Fuel Tank" },						"mithril_fuel_tank": { wiki: "Mithril-Infused Fuel Tank" },						"titanium_fuel_tank": { wiki: "Titanium-Infused Fuel Tank" },						"gemstone_fuel_tank": { wiki: "Gemstone Fuel Tank" },						"perfectly_cut_fuel_tank": { wiki: "Perfectly-Cut Fuel Tank" },					}), }),				'/farming': new Folder({ "advanced_gardening_axe": { wiki: "Advanced Gardening Axe" }, "advanced_gardening_hoe": { wiki: "Advanced Gardening Hoe" }, "basic_gardening_axe": { wiki: "Basic Gardening Axe" }, "basic_gardening_hoe": { wiki: "Basic Gardening Hoe" }, "builders_ruler": { wiki: "Builder's Ruler" }, "garden_scythe": { wiki: "Garden Scythe" }, "hoe_of_greatest_tilling": { wiki: "Hoe of Greatest Tilling" }, "melon_dicer_2": { wiki: "Melon Dicer 2.0" }, "melon_dicer_3": { wiki: "Melon Dicer 3.0" }, "promising_hoe": { wiki: "Promising Hoe" }, "pumpkin_dicer_2": { wiki: "Pumpkin Dicer 2.0" }, "pumpkin_dicer_3": { wiki: "Pumpkin Dicer 3.0" }, "rookie_hoe": { wiki: "Rookie Hoe" }, "sam_scythe": { wiki: "Sam's Scythe" }, })			}),			///////////////////////////			// Glitched Items ///////////////////////////			'/glitch': new Folder({				"frosty_snow_ball": { wiki: "Frosty Snowball" },				/* Unused on wiki and/or TODO					skyblock/glitch/alpha_slab.png					skyblock/glitch/null_acacia_log.png					skyblock/glitch/null_anvil.png					skyblock/glitch/null_brown_mushroom_block.png					skyblock/glitch/null_cobblestone_wall.png					skyblock/glitch/null_dandelion.png					skyblock/glitch/null_dark_oak_log.png					skyblock/glitch/null_dirt.png					skyblock/glitch/null_double_plant.png					skyblock/glitch/null_hay_bale.png					skyblock/glitch/null_leaves.png					skyblock/glitch/null_leaves2.png					skyblock/glitch/null_map.png					skyblock/glitch/null_oak_log.png					skyblock/glitch/null_obsidian.png					skyblock/glitch/null_planks.png					skyblock/glitch/null_poppy.png					skyblock/glitch/null_prismarine.png					skyblock/glitch/null_quartz_block.png					skyblock/glitch/null_red_mushroom_block.png skyblock/glitch/null_red_sandstone.png skyblock/glitch/null_sand.png skyblock/glitch/null_sandstone.png skyblock/glitch/null_sapling.png skyblock/glitch/null_snow_layer.png skyblock/glitch/null_sponge.png skyblock/glitch/null_stone.png skyblock/glitch/null_stone_bricks.png skyblock/glitch/null_stone_slab.png skyblock/glitch/null_stone_slab2.png skyblock/glitch/null_tall_grass.png skyblock/glitch/null_wooden_slab.png skyblock/glitch/null_lava.png skyblock/glitch/null_water.png skyblock/glitch/still_lava.png skyblock/glitch/still_water.png skyblock/glitch/carrots.png skyblock/glitch/cocoa_plant.png skyblock/glitch/potatoes.png */			}),			///////////////////////////			// Other Items			///////////////////////////			'/items': new Folder({ "crimson_isle/enchanted_mycelium_cube": { wiki: "Enchanted Mycelium Cube" }, "crimson_isle/enchanted_red_sand_cube": { wiki: "Enchanted Red Sand Cube" }, "crimson_isle/enchanted_sulphur_cube": { wiki: "Enchanted Sulphur Cube" }, "crimson_isle/mob_loot/compact_ooze": { wiki: "Compact Ooze" }, "crimson_isle/mob_loot/flames": { wiki: "Flames" }, "crimson_isle/mob_loot/kuudra_teeth": { wiki: "Kuudra Teeth" }, "crimson_isle/whipped_magma_cream": { wiki: "Whipped Magma Cream" }, "crimson_isle/mob_loot/corrupted_fragment": { wiki: "Corrupted Fragment" }, "dwarven_mines/biofuel": { wiki: "Biofuel" }, "dwarven_mines/concentrated_stone": { wiki: "Concentrated Stone" }, "dwarven_mines/control_switch": { wiki: "Control Switch" }, "dwarven_mines/electron_transmitter": { wiki: "Electron Transmitter" }, "dwarven_mines/ftx_3070": { wiki: "FTX 3070" }, "dwarven_mines/robotron_reflector": { wiki: "Robotron Reflector" }, "dwarven_mines/royal_pigeon": { wiki: "Royal Pigeon" }, "dwarven_mines/superlite_motor": { wiki: "Superlite Motor" }, "dwarven_mines/synthetic_heart": { wiki: "Synthetic Heart" }, "end/hyper_catalyst_upgrade": { wiki: "Hyper Catalyst Upgrade" }, "end/sleeping_eye": { wiki: "Sleeping Eye" }, "end/summoning_eye": { wiki: "Summoning Eye" }, '/backpacks': new Folder({					"jumbo_backpack_upgrade": { wiki: "Jumbo Backpack Upgrade" },					"trick_or_treat_bag": { wiki: "Trick or Treat Bag" },					"small_backpack": { wiki: "Small Backpack" },					"small_backpack_red": { imgName: "Small Backpack (Red)" },					"small_backpack_orange": { imgName: "Small Backpack (Orange)" },					"small_backpack_yellow": { imgName: "Small Backpack (Yellow)" },					"small_backpack_lime": { imgName: "Small Backpack (Lime)" },					"small_backpack_green": { imgName: "Small Backpack (Green)" },					"small_backpack_aqua": { imgName: "Small Backpack (Light Blue)" },					"small_backpack_cyan": { imgName: "Small Backpack (Cyan)" },					"small_backpack_blue": { imgName: "Small Backpack (Blue)" },					"small_backpack_purple": { imgName: "Small Backpack (Purple)" },					"small_backpack_magenta": { imgName: "Small Backpack (Magenta)" },					"small_backpack_pink": { imgName: "Small Backpack (Pink)" }, "small_backpack_brown": { imgName: "Small Backpack (Brown)" }, "small_backpack_black": { imgName: "Small Backpack (Black)" }, "small_backpack_gray": { imgName: "Small Backpack (Gray)" }, "small_backpack_silver": { imgName: "Small Backpack (Light Gray)" }, "small_backpack_white": { imgName: "Small Backpack (White)" }, "medium_backpack": { wiki: "Medium Backpack" }, "medium_backpack_red": { imgName: "Medium Backpack (Red)" }, "medium_backpack_orange": { imgName: "Medium Backpack (Orange)" }, "medium_backpack_yellow": { imgName: "Medium Backpack (Yellow)" }, "medium_backpack_lime": { imgName: "Medium Backpack (Lime)" }, "medium_backpack_green": { imgName: "Medium Backpack (Green)" }, "medium_backpack_aqua": { imgName: "Medium Backpack (Light Blue)" }, "medium_backpack_cyan": { imgName: "Medium Backpack (Cyan)" }, "medium_backpack_blue": { imgName: "Medium Backpack (Blue)" }, "medium_backpack_purple": { imgName: "Medium Backpack (Purple)" }, "medium_backpack_magenta": { imgName: "Medium Backpack (Magenta)" }, "medium_backpack_pink": { imgName: "Medium Backpack (Pink)" }, "medium_backpack_brown": { imgName: "Medium Backpack (Brown)" }, "medium_backpack_black": { imgName: "Medium Backpack (Black)" }, "medium_backpack_gray": { imgName: "Medium Backpack (Gray)" }, "medium_backpack_silver": { imgName: "Medium Backpack (Light Gray)" }, "medium_backpack_white": { imgName: "Medium Backpack (White)" }, "large_backpack": { wiki: "Large Backpack" }, "large_backpack_red": { imgName: "Large Backpack (Red)" }, "large_backpack_orange": { imgName: "Large Backpack (Orange)" }, "large_backpack_yellow": { imgName: "Large Backpack (Yellow)" }, "large_backpack_lime": { imgName: "Large Backpack (Lime)" }, "large_backpack_green": { imgName: "Large Backpack (Green)" }, "large_backpack_aqua": { imgName: "Large Backpack (Light Blue)" }, "large_backpack_cyan": { imgName: "Large Backpack (Cyan)" }, "large_backpack_blue": { imgName: "Large Backpack (Blue)" }, "large_backpack_purple": { imgName: "Large Backpack (Purple)" }, "large_backpack_magenta": { imgName: "Large Backpack (Magenta)" }, "large_backpack_pink": { imgName: "Large Backpack (Pink)" }, "large_backpack_brown": { imgName: "Large Backpack (Brown)" }, "large_backpack_black": { imgName: "Large Backpack (Black)" }, "large_backpack_gray": { imgName: "Large Backpack (Gray)" }, "large_backpack_silver": { imgName: "Large Backpack (Light Gray)" }, "large_backpack_white": { imgName: "Large Backpack (White)" }, "greater_backpack": { wiki: "Greater Backpack" }, "greater_backpack_red": { imgName: "Greater Backpack (Red)" }, "greater_backpack_orange": { imgName: "Greater Backpack (Orange)" }, "greater_backpack_yellow": { imgName: "Greater Backpack (Yellow)" }, "greater_backpack_lime": { imgName: "Greater Backpack (Lime)" }, "greater_backpack_green": { imgName: "Greater Backpack (Green)" }, "greater_backpack_aqua": { imgName: "Greater Backpack (Light Blue)" }, "greater_backpack_cyan": { imgName: "Greater Backpack (Cyan)" }, "greater_backpack_blue": { imgName: "Greater Backpack (Blue)" }, "greater_backpack_purple": { imgName: "Greater Backpack (Purple)" }, "greater_backpack_magenta": { imgName: "Greater Backpack (Magenta)" }, "greater_backpack_pink": { imgName: "Greater Backpack (Pink)" }, "greater_backpack_brown": { imgName: "Greater Backpack (Brown)" }, "greater_backpack_black": { imgName: "Greater Backpack (Black)" }, "greater_backpack_gray": { imgName: "Greater Backpack (Gray)" }, "greater_backpack_silver": { imgName: "Greater Backpack (Light Gray)" }, "greater_backpack_white": { imgName: "Greater Backpack (White)" }, "jumbo_backpack": { wiki: "Jumbo Backpack" }, "jumbo_backpack_red": { imgName: "Jumbo Backpack (Red)" }, "jumbo_backpack_orange": { imgName: "Jumbo Backpack (Orange)" }, "jumbo_backpack_yellow": { imgName: "Jumbo Backpack (Yellow)" }, "jumbo_backpack_lime": { imgName: "Jumbo Backpack (Lime)" }, "jumbo_backpack_green": { imgName: "Jumbo Backpack (Green)" }, "jumbo_backpack_aqua": { imgName: "Jumbo Backpack (Light Blue)" }, "jumbo_backpack_cyan": { imgName: "Jumbo Backpack (Cyan)" }, "jumbo_backpack_blue": { imgName: "Jumbo Backpack (Blue)" }, "jumbo_backpack_purple": { imgName: "Jumbo Backpack (Purple)" }, "jumbo_backpack_magenta": { imgName: "Jumbo Backpack (Magenta)" }, "jumbo_backpack_pink": { imgName: "Jumbo Backpack (Pink)" }, "jumbo_backpack_brown": { imgName: "Jumbo Backpack (Brown)" }, "jumbo_backpack_black": { imgName: "Jumbo Backpack (Black)" }, "jumbo_backpack_gray": { imgName: "Jumbo Backpack (Gray)" }, "jumbo_backpack_silver": { imgName: "Jumbo Backpack (Light Gray)" }, "jumbo_backpack_white": { imgName: "Jumbo Backpack (White)" }, '/skins': new Folder({						"enderpack": { wiki: "Enderpack Skin" },						"green_egg": { wiki: "Green Egged Skin" },						"purple_egg": { wiki: "Purple Egged Skin" },						"blue_egg": { wiki: "Blue Egged Skin" },						"babyseal_backpack": { wiki: "Baby Seal Backpack Skin" },						"penguin_backpack": { wiki: "Penguin Backpack Skin" },						"reindeer_backpack": { wiki: "Reindeer Backpack Skin" },					}), }),				'/dungeons': new Folder({ "crypt_skull_key": { wiki: "Crypt Skull Key" }, "dungeon_golden_key": { wiki: "Golden Key" }, "dungeon_normal_key": { wiki: "Key" }, "haunt_ability": { wiki: "Haunt Ability" }, "infinite_superboom_tnt": { wiki: "Infinityboom TNT" }, "key_a": { wiki: "Key A" }, "key_b": { wiki: "Key B" }, "key_c": { wiki: "Key C" }, "key_d": { wiki: "Key D" }, "key_f": { wiki: "Key F" }, "key_s": { wiki: "Key S" }, "key_x": { wiki: "Key X" }, "secret_dungeon_redstone_key": { wiki: "Redstone Key" }, "superboom_tnt": { wiki: "Superboom TNT" }, "training_weights": { wiki: "Training Weights" }, "dungeon_lore_journal": { wiki: "Dungeon Lore Journal" }, }),				'/dyes': new Folder({ "dye_aquamarine": { wiki: "Aquamarine Dye" }, "dye_bingo_blue": { wiki: "Bingo Blue Dye" }, "dye_bone": { wiki: "Bone Dye" }, "dye_brick_red": { wiki: "Brick Red Dye" }, "dye_byzantium": { wiki: "Byzantium Dye" }, "dye_carmine": { wiki: "Carmine Dye" }, "dye_dark_purple": { wiki: "Dark Purple Dye" }, "dye_emerald": { wiki: "Emerald Dye" }, "dye_flame": { wiki: "Flame Dye" }, "dye_mango": { wiki: "Mango Dye" }, "dye_necron": { wiki: "Necron Dye" }, "dye_pure_black": { wiki: "Pure Black Dye" }, "dye_pure_white": { wiki: "Pure White Dye" }, "dye_wild_strawberry": { wiki: "Wild Strawberry Dye" }, "dye_celadon": { wiki: "Celadon Dye" }, "dye_celeste": { wiki: "Celeste Dye" }, "dye_cyclamen": { wiki: "Cyclamen Dye" }, "dye_iceberg": { wiki: "Iceberg Dye" }, "dye_livid": { wiki: "Livid Dye" }, "dye_midnight": { wiki: "Midnight Dye" }, "dye_nadeshiko": { wiki: "Nadeshiko Dye" }, "dye_nyanza": { wiki: "Nyanza Dye" }, "dye_pure_blue": { wiki: "Pure Blue Dye" }, "dye_pure_yellow": { wiki: "Pure Yellow Dye" }, "tentacle_dye": { wiki: "Tentacle Dye" }, }),				'/events': new Folder({ "spooky/bat_firework": { wiki: "Bat Firework" }, "spooky/horseman_candle": { wiki: "Horseman Candle" }, "jerry/jerry_box_blue": { wiki: "Blue Jerry Box" }, "jerry/jerry_box_golden": { wiki: "Golden Jerry Box" }, "jerry/jerry_box_green": { wiki: "Green Jerry Box" }, "jerry/jerry_box_mega": { wiki: "Mega Jerry Box" }, "jerry/jerry_box_purple": { wiki: "Purple Jerry Box" }, }),				'/farming': new Folder({ // "box_of_seeds": { wiki: "Box of Seeds" }, // not yet added "compost": { wiki: "Compost" }, "condensed_fermento": { wiki: "Condensed Fermento" }, "cropie": { wiki: "Cropie" }, "enchanted_compost": { wiki: "Compost Bundle" }, "fermento": { wiki: "Fermento" }, "squash": { wiki: "Squash" }, "box_of_seeds": { wiki: "Box of Seeds" }, "mutant_nether_stalk": { wiki: "Mutant Nether Wart" }, "polished_pumpkin": { wiki: "Polished Pumpkin" }, "tightly_tied_hay_bale": { wiki: "Tightly-Tied Hay Bale" }, }),				'/fishing': new Folder({ "blessed_bait": { wiki: "Blessed Bait" }, "carrot_bait": { wiki: "Carrot Bait" }, "corrupted_bait": { wiki: "Corrupted Bait" }, "dark_bait": { wiki: "Dark Bait" }, "fish_bait": { wiki: "Fish Bait" }, "glowy_chum_bait": { wiki: "Glowy Chum Bait" }, "hot_bait": { wiki: "Hot Bait" }, "ice_bait": { wiki: "Ice Bait" }, "light_bait": { wiki: "Light Bait" }, "minnow_bait": { wiki: "Minnow Bait" }, "shark_bait": { wiki: "Shark Bait" }, "spiked_bait": { wiki: "Spiked Bait" }, "spooky_bait": { wiki: "Spooky Bait" }, "whale_bait": { wiki: "Whale Bait" }, "agaricus_chum_cap": { wiki: "Agaricus Chumcap" }, "agarimoo_tongue": { wiki: "Agarimoo Tongue" }, "empty_chumcap_bucket": { wiki: "Empty Chumcap Bucket" }, "full_chumcap_bucket": { wiki: "Full Chumcap Bucket" }, "empty_chum_bucket": { wiki: "Empty Chum Bucket" }, "full_chum_bucket": { wiki: "Full Chum Bucket" }, }),				'/gemstones': new Folder({ "gemstone_mixture": { wiki: "Gemstone Mixture" }, "gemstone_powder": { wiki: "Gemstone Powder", selectors:[`img[data-image-key="Gemstone Powder.png"]`] }, // Build rules for all normal gemstone types ...(=>{						// only real difference is the `$=` on first image selector due to issues with tooltips adding icons in front of name in alt text						const getGemstoneSelector = (w) => [`img[alt$="${w}"]`, `img[alt="${w}.png"]`];						const obj = Object.fromEntries(['Amber', 'Amethyst', 'Jade', 'Jasper', 'Opal', 'Ruby', 'Sapphire', 'Topaz'] .flatMap(type=>							['Rough', 'Flawed', 'Fine', 'Flawless', 'Perfect'].map(grade => [ `${grade.toLowerCase}_${type.toLowerCase}_gem`, { selectors: getGemstoneSelector(`${grade} ${type} Gemstone`) }, ])						));						obj['flawless_ruby_gem'].wiki = "Gemstone"; // we want unspecified gemstone to use ruby asset						return obj;					}), // Crystals get treated like normal items "amber_crystal": { wiki: "Amber Crystal" }, "amethyst_crystal": { wiki: "Amethyst Crystal" }, "jade_crystal": { wiki: "Jade Crystal" }, "jasper_crystal": { wiki: "Jasper Crystal" }, "opal_crystal": { wiki: "Opal Crystal" }, "ruby_crystal": { wiki: "Ruby Crystal" }, "sapphire_crystal": { wiki: "Sapphire Crystal" }, "topaz_crystal": { wiki: "Topaz Crystal" }, }),				'/misc': new Folder({ "bingo_display": { wiki: "Bingo Display" }, "collection_display": { wiki: "Collection Display" }, "colossal_exp_bottle_upgrade": { wiki: "Colossal Experience Bottle Upgrade" }, "copper": { wiki: ["Copper", "Copper (currency)"] }, "ditto_blob": { wiki: "Ditto Blob" }, "ditto_skin": { wiki: "Ditto Skin" }, "ditto_skull": { wiki: "Ditto Skull" }, "heat_core": { wiki: "Heat Core" }, "hologram": { wiki: "Hologram" }, "magical_water_bucket": { wiki: "Plumber's Bucket" }, "minion_items/everburning_flame": { wiki: "Everburning Flame" }, "mysterious_crop": { wiki: "Mysterious Crop" }, "parkour_controller": { wiki: "Parkour Start/End" }, "parkour_point": { wiki: "Parkour Checkpoint" }, "parkour_times": { wiki: "Parkour Times" }, "social_display": { wiki: "Social Display" }, "unknown_item": { wiki: "Unknown Item" }, "booster_cookie_box": { wiki: "Box of Booster Cookies" }, "flower_maelstrom": { wiki: "Flower Maelstrom" }, "heat_core": { wiki: "Magma Bucket Upgrade" }, "kuudra_relic": { wiki: "Kuudra Relic" }, "minion_items/auto_smelter": { wiki: "Auto Smelter" }, "minion_items/solar_panel": { wiki: "Solar Panel" }, "minion_storage_expander": { wiki: "Greater Storage Upgrade" }, "minion_storage_expander": { wiki: "Minion Storage X-Pender" }, "poorly_wrapped_rock": { wiki: "Poorly Wrapped Rock" }, "shiny_orb": { wiki: "Shiny Orb" }, "shiny_shard": { wiki: "Shiny Shard" }, "toy": { wiki: "Toy" }, "very_official_yellow_rock": { wiki: "Very Official Yellow Rock of Love!" },					"warts_stew": { wiki: "Mushroom & Warts Stew" }, "wheel_of_fate": { wiki: "Wheel of Fate" }, "yellow_rock": { wiki: "Yellow Rock" }, "poison_sample": { wiki: "Poison Sample" }, "travel_scroll" : { wiki: [ "Travel Scroll", "Travel Scroll to Arachne's Sanctuary", "Travel Scroll to the Crystal Hollows", "Travel Scroll to the Crystal Nucleus", "Travel Scroll to Spider's Den", "Travel Scroll to the Crimson Isle", "Travel Scroll to the End", "Travel Scroll to Dragon's Nest", "Travel Scroll to the Barn", "Travel Scroll to Mushroom Island", "Travel Scroll to The Park", "Travel Scroll to the Dwarven Forge", "Travel Scroll to Hub Castle", "Travel Scroll to Hub Crypts", "Travel Scroll to Dark Auction", "Travel Scroll to the Gold Mine", "Travel Scroll to Deep Caverns", "Travel Scroll to Dwarven Mines", "Travel Scroll to Museum", "Dusty Travel Scroll to the Kuudra Skull", "Travel Scroll to Howling Cave", "Travel Scroll to Jungle Island", "Travel Scroll to the Smoldering Tomb", "Travel Scroll to Spider's Den Top of Nest", "Travel Scroll to the Void Sepulture", "Travel Scroll to the Trapper's Den", "Travel Scroll to the Wasteland", "Travel Scroll to The Wasteland", // duplicate but with "The" vs "the" "Travel Scroll to Dragontail", "Travel Scroll to Scarleton", "Travel Scroll to Blazing Fortress", "Travel Scroll to Magma Fields", ] },					'/enrichments': new Folder({						"talisman_enrichment_attack_speed": { wiki: "Attack Speed Enrichment" },						"talisman_enrichment_critical_chance": { wiki: "Critical Chance Enrichment" },						"talisman_enrichment_critical_damage": { wiki: "Critical Damage Enrichment" },						"talisman_enrichment_defense": { wiki: "Defense Enrichment" },						"talisman_enrichment_ferocity": { wiki: "Ferocity Enrichment" },						"talisman_enrichment_health": { wiki: "Health Enrichment" },						"talisman_enrichment_intelligence": { wiki: "Intelligence Enrichment" },						"talisman_enrichment_magic_find": { wiki: "Magic Find Enrichment" },						"talisman_enrichment_sea_creature_chance": { wiki: "Sea Creature Chance Enrichment" },						"talisman_enrichment_strength": { wiki: "Strength Enrichment" },						"talisman_enrichment_walk_speed": { wiki: "Speed Enrichment" },					}), '/floating_crystals': new Folder({						"desert_island_crystal": { wiki: "Desert Island Crystal" },						"farm_crystal": { wiki: "Farm Crystal" },						"fishing_crystal": { wiki: "Fishing Crystal" },						"forest_island_crystal": { wiki: "Bat Crystal" },						"mithril_crystal": { wiki: "Mithril Crystal" },						"nether_wart_island_crystal": { wiki: "Nether Wart Island Crystal" },						"resource_regenerator_crystal": { wiki: "Resource Regenerator Crystal" },						"wheat_island_crystal": { wiki: "Wheat Island Crystal" },						"winter_island_crystal": { wiki: "Winter Island Crystal" },						"woodcutting_crystal": { wiki: "Woodcutting Crystal" },					}), '/repelling_candle': new Folder({						"repelling_candle_red": { wiki: ["Repelling Candle", "Red Repelling Candle"] },						"repelling_candle_aqua": { wiki: "Aqua Repelling Candle" },						"repelling_candle_black": { wiki: "Black Repelling Candle" },						"repelling_candle_blue": { wiki: "Blue Repelling Candle" },						"repelling_candle_brown": { wiki: "Brown Repelling Candle" },						"repelling_candle_cyan": { wiki: "Cyan Repelling Candle" },						"repelling_candle_gray": { wiki: "Gray Repelling Candle" },						"repelling_candle_green": { wiki: "Green Repelling Candle" },						"repelling_candle_lilac": { wiki: "Lilac Repelling Candle" },						"repelling_candle_orange": { wiki: "Orange Repelling Candle" },						"repelling_candle_pink": { wiki: "Pink Repelling Candle" },						"repelling_candle_purple": { wiki: "Purple Repelling Candle" },						"repelling_candle_white": { wiki: "White Repelling Candle" }, "repelling_candle_yellow": { wiki: "Yellow Repelling Candle" }, }),				}),				'/modifiers': new Folder({					"amber_power_scroll": { wiki: "Amber Power Scroll" },					"amethyst_power_scroll": { wiki: "Amethyst Power Scroll" },					"jasper_power_scroll": { wiki: "Jasper Power Scroll" },					"opal_power_scroll": { wiki: "Opal Power Scroll" },					"ruby_power_scroll": { wiki: "Ruby Power Scroll" },					"sapphire_power_scroll": { wiki: "Sapphire Power Scroll" },					"jade_power_scroll": { wiki: "Jade Power Scroll" },					"topaz_power_scroll": { wiki: "Topaz Power Scroll" },

"polarvoid_book": { wiki: "Polarvoid Book" }, "enchanted_book_bundle": { wiki: "Enchanted Book Bundle" }, "kuudra_washing_machine": { wiki: "Kuudra Washing Machine" }, "sil_ex": { wiki: "Silex" }, }),				'/pet_items': new Folder({ "fake_neuroscience_degree": { wiki: "Fake Neuroscience Degree" }, "four_eyed_fish": { wiki: "Four-Eyed Fish" }, "minos_relic": { wiki: "Minos Relic" }, "pet_item_spooky_cupcake": { wiki: "Spooky Cupcake" }, "reaper_gem": { wiki: "Reaper Gem" }, "ultimate_carrot_candy_upgrade": { wiki: "Ultimate Carrot Candy Upgrade" }, "yellow_bandana": { wiki: "Yellow Bandana" }, "green_bandana": { wiki: "Green Bandana" }, "base_griffin_upgrade_stone": { wiki: "Base Griffin Upgrade Stone" }, "dwarf_turtle_shelmet": { wiki: "Dwarf Turtle Shelmet" }, "griffin_upgrade_stone_epic": { wiki: "Griffin Upgrade Stone" }, "griffin_upgrade_stone_legendary": { wiki: "Griffin Upgrade Stone" }, "griffin_upgrade_stone_rare": { wiki: "Griffin Upgrade Stone" }, "griffin_upgrade_stone_uncommon": { wiki: "Griffin Upgrade Stone" }, "guardian_lucky_block": { wiki: "Guardian Lucky Block" }, }),				'/potions': new Folder({ "alchemy_xp_boost_potion": { wiki: "Alchemy XP Boost I Potion" }, "combat_xp_boost_potion": { wiki: "Combat XP Boost I Potion" }, "enchanting_xp_boost_potion": { wiki: "Enchanting XP Boost I Potion" }, "farming_xp_boost_potion": { wiki: "Farming XP Boost I Potion" }, "fishing_xp_boost_potion": { wiki: "Fishing XP Boost I Potion" }, "foraging_xp_boost_potion": { wiki: "Foraging XP Boost I Potion" }, "god_potion": { wiki: "God Potion" }, "magic_find_potion": { wiki: "Magic Find I Potion" }, "mining_xp_boost_potion": { wiki: "Mining XP Boost I Potion" }, "spirit_potion": { wiki: "Spirit I Potion" }, // No need for these to check for `.png` variant "absorption_potion": { selectors: [`img[alt="Absorption I Potion"]`] }, "adrenaline_potion": { selectors: [`img[alt="Adrenaline I Potion"]`] }, "agility_potion": { selectors: [`img[alt="Agility I Potion"]`] }, "archery_potion": { selectors: [`img[alt="Archery I Potion"]`] }, "blindness_potion": { selectors: [`img[alt="Blindness I Potion"]`] }, "burning_potion": { selectors: [`img[alt="Burning I Potion"]`] }, "critical_potion": { selectors: [`img[alt="Critical I Potion"]`] }, "dodge_potion": { selectors: [`img[alt="Dodge I Potion"]`] }, "dungeon_potion": { selectors: [`img[alt="Dungeon I Potion"]`] }, "experience_potion": { selectors: [`img[alt="Experience I Potion"]`] }, "haste_potion": { selectors: [`img[alt="Haste I Potion"]`] }, "knockback_potion": { selectors: [`img[alt="Knockback I Potion"]`] }, "mana_potion": { selectors: [`img[alt="Mana I Potion"]`] }, "mushed_glowy_tonic_potion": { selectors: [`img[alt="Mushed Glowy Tonic"]`] }, "obsidian_skin_potion": { selectors: [`img[alt="Obsidian Skin I Potion"]`] }, "pet_luck_potion": { selectors: [`img[alt="Pet Luck I Potion"]`] }, "rabbit_potion": { selectors: [`img[alt="Rabbit I Potion"]`] }, "resistance_potion": { selectors: [`img[alt="Resistance I Potion"]`] }, "spelunker_potion": { selectors: [`img[alt="Spelunker I Potion"]`] }, "stamina_potion": { selectors: [`img[alt="Stamina I Potion"]`] }, "stun_potion": { selectors: [`img[alt="Stun I Potion"]`] }, "true_defense_potion": { selectors: [`img[alt="True Defense I Potion"]`] }, "venomous_potion": { selectors: [`img[alt="Venomous I Potion"]`] }, "wounded_potion": { selectors: [`img[alt="Wounded I Potion"]`] },

'/brews': new Folder({						"bitter_ice_tea": { wiki: "Bitter Iced Tea" },						"black_coffee": { wiki: "Black Coffee" },						"cheap_coffee": { wiki: "Cheap Coffee" },						"decent_coffee": { wiki: "Decent Coffee" },						"dr_paper": { wiki: "Dctr. Paper" },						"hot_chocolate": { wiki: "Hot Chocolate" },						"knockoff_cola": { wiki: [ "KnockOff Cola", "KnockOff™ Cola" ] },						"pulpous_orange_juice": { wiki: "Pulpous Orange Juice" },						"red_thornleaf_tea": { wiki: "Red Thornleaf Tea" },						"scornclaw_brew": { wiki: "Scornclaw Brew" },						"slayer_energy_drink": { wiki: [ "Slayer Energy Drink", "Slayer© Energy Drink" ] },						"tepid_green_tea": { wiki: "Tepid Green Tea" },						"tutti_frutti_poison": { wiki: "Tutti-Frutti Flavored Poison" },						"viking_tear": { wiki: "Viking\'s Tear" },					}), '/mixins': new Folder({						"deepterror_mixin": { wiki: "Deepterror Mixin" },						"end_portal_fumes_mixin": { wiki: "End Portal Fumes" },						"gabagoey_mixin": { wiki: "Gabagoey Mixin" },						"spider_egg_mixin": { wiki: "Spider Egg Mixin" },						"wolf_fur_mixin": { wiki: "Wolf Fur Mixin" },						"zombie_brain_mixin": { wiki: "Zombie Brain Mixin" },					}), /* Splash potions - wiki doesn't ever bother to show these skyblock/items/potions/absorption_splash_potion.png skyblock/items/potions/adrenaline_splash_potion.png skyblock/items/potions/agility_splash_potion.png skyblock/items/potions/alchemy_xp_boost_splash_potion.png skyblock/items/potions/archery_splash_potion.png skyblock/items/potions/blindness_splash_potion.png skyblock/items/potions/burning_splash_potion.png skyblock/items/potions/combat_xp_boost_splash_potion.png skyblock/items/potions/critical_splash_potion.png skyblock/items/potions/dodge_splash_potion.png skyblock/items/potions/dungeon_splash_potion.png skyblock/items/potions/enchanting_xp_boost_splash_potion.png skyblock/items/potions/experience_splash_potion.png skyblock/items/potions/farming_xp_boost_splash_potion.png skyblock/items/potions/fishing_xp_boost_splash_potion.png skyblock/items/potions/foraging_xp_boost_splash_potion.png skyblock/items/potions/haste_splash_potion.png skyblock/items/potions/knockback_splash_potion.png skyblock/items/potions/magic_find_splash_potion.png skyblock/items/potions/mana_splash_potion.png skyblock/items/potions/mining_xp_boost_splash_potion.png skyblock/items/potions/mushed_glowy_tonic_splash_potion.png skyblock/items/potions/obsidian_skin_splash_potion.png skyblock/items/potions/pet_luck_splash_potion.png skyblock/items/potions/rabbit_splash_potion.png skyblock/items/potions/resistance_splash_potion.png skyblock/items/potions/spelunker_splash_potion.png skyblock/items/potions/spirit_splash_potion.png skyblock/items/potions/stamina_splash_potion.png skyblock/items/potions/stun_splash_potion.png skyblock/items/potions/true_defense_splash_potion.png skyblock/items/potions/venomous_splash_potion.png skyblock/items/potions/wounded_splash_potion.png */				}),				'/rift': new Folder({ "bacte_fragment": { wiki: "Bacte Fragment" }, "mirrored_stick": { wiki: ["kcitS", "KcitS"] }, "mirrored_slime_ball": { wiki: ["llabemilS", "LlabemilS"] }, "mirrored_string": { wiki: ["gnirtS", "GnirtS"] }, "tiny_hammer": { wiki: ["remmaH yniT", "RemmaH yniT"] }, "mirrored_bow": { wiki: ["woB", "WoB"] }, "mirrored_leash": { wiki: ["daeL", "DaeL"] }, "mirrored_fishing_rod": { wiki: ["doR gnihsiF", "DoR gnihsiF"] }, "mirrored_wood": { wiki: ["sknalP dooW kaO", "SknalP dooW kaO"] }, "rift_jump_elixir": { wiki: "Jump Elixir" }, "rift_strength_elixir": { wiki: "Strength Elixir" }, "rift_stability_elixir": { wiki: "Stability Elixir" }, "rift_speed_elixir": { wiki: "Speed Elixir" }, "shame_crux": { wiki: "Shy Crux" }, "shadow_crux": { wiki: "Shadow Crux" }, "volt_crux": { wiki: "Volt Crux" }, "scribe_crux": { wiki: "Scribe Crux" }, "frosty_crux": { wiki: "Frosty Crux" }, "splatter_crux": { wiki: "Splatter Crux" }, "lil_pad": { wiki: "Lil' Pad" }, "deadgehog_spine": { wiki: "Deadgehog Spine" }, "dark_pebble": { wiki: "Dark Pebble" }, "family_doubloon": { wiki: "Doubloon of the Family" }, "empty_odonata_bottle": { wiki: "Empty Odonata Bottle" }, "bottled_odonata": { wiki: "Bottled Odonata" }, "wizard_breadcrumbs": { wiki: "Wizard's Breadcrumbs" }, "glyph_conclamatus": { wiki: "Conclamatus Glyph" }, "glyph_firmitas": { wiki: "Firmitas Glyph" }, "glyph_fortis": { wiki: "Fortis Glyph" }, "glyph_pernimius": { wiki: "Pernimius Glyph" }, "glyph_potentia": { wiki: "Potentia Glyph" }, "glyph_validus": { wiki: "Validus Glyph" }, "glyph_robur": { wiki: "Robur Glyph" }, "glyph_vis": { wiki: "Vis Glyph" }, "cruxmotion": { wiki: "Cruxmotion" }, "aspect_of_the_leech_1": { wiki: "Aspect of the Leech" }, "nearly_whole_carrot": { wiki: "Nearly-Whole Carrot" }, "half_eaten_carrot": { wiki: "Half-Eaten Carrot" }, "nearly_coherent_rod": { wiki: "Nearly Coherent doR gnihsiF" }, "leech_supreme_fragment": { wiki: "Leech Supreme Fragment" }, "key_to_kat_soul": { wiki: "Key to Infested House Soul" }, "hot_dog": { wiki: "Hot Dog" }, "agaricus_cap": { wiki: "Agaricus Cap" }, "wilted_berberis": { wiki: "Wilted Berberis" }, "wilted_berberis_bunch": { wiki: "Wilted Berberis Bunch" }, "lush_berberis": { wiki: "Lush Berberis" }, "enchanted_lush_berberis": { wiki: "Enchanted Lush Berberis" }, "berberis_blowgun": { wiki: "Berberis Blowgun" }, "vampiric_melon": { wiki: "Vampiric Melon" }, "living_metal": { wiki: "Living Metal" }, "nullified_metal": { wiki: "Nullified Metal" }, "frozen_water": { wiki: "Frozen Water" }, "frozen_water_pungi": { wiki: "Frozen Water Pungi" }, "barry_pen": { wiki: "Barry's Montgray Pen" }, "dead_cat_detector": { wiki: "Dead Cat Detector" }, "dead_cat_detector": { wiki: "Cat Detector" }, "gunthesizer_lichen": { wiki: "Gunthesizer Lichen" }, "living_metal_anvil": { wiki: "Living Metal Anchor" }, "wand_of_warding": { wiki: "Warding Diamathame" }, "lm_egg_cap": { wiki: "Living Metal Capspawn" }, "lm_egg_chest": { wiki: "Living Metal Chestspawn" }, "lm_egg_legs": { wiki: "Living Metal Pantspawn" }, "lm_egg_boots": { wiki: "Living Metal Bootspawn" }, "bedwars_wool": { wiki: "Tree-like Wool" }, "metal_heart": { wiki: "Living Metal Heart" }, "exportable_carrots": { wiki: "Exportable Carrots" }, "metaphoric_egg": { wiki: "Metaphoric Egg" }, "dead_cat_food": { wiki: "Dead Cat Food" }, "tasty_cat_food": { wiki: "Tasty Cat Food" }, "larva_silk": { wiki: "Larva Silk" }, "reed_boat": { wiki: "Rift Boat" }, "caducous_stem": { wiki: "Caducous Stem" }, "caducous_stem_bunch": { wiki: "Caducous Stem Bunch" }, "caducous_extract": { wiki: "Caducous Extract" }, "caducous_legume": { wiki: "Caducous Legume" }, "caducous_feeder": { wiki: "Caducous Feeder" }, "agaricus_soup": { wiki: "Agaricus Soup" }, "agaricus_cap_bunch": { wiki: "Agaricus Cap Bunch" }, "berberis_fuel_injector": { wiki: "Berberis Fuel Injector" }, "silkwire_stick": { wiki: "Silkwire Stick" }, "larva_hook": { wiki: "Larva Hook" }, "protochicken": { wiki: "Proto-Chicken" }, "very_scientific_paper": { wiki: "Very Scientific Paper" }, "anti_morph_potion": { wiki: "Anti-Morph Potion" }, "muted_bark": { wiki: "Muted Bark" }, "emmett_pointer": { wiki: "Emmett Pointer" }, "pre_digestion_fish": { wiki: "Pre-Digestion Fish" }, "detective_scanner": { wiki: "Detective Scanner" }, "turbomax_vacuum": { wiki: "Turbomax Vacuum Cleaner" }, "horsezooka": { wiki: "Horsezooka" }, "hemovibe": { wiki: "Hemovibe" }, "hemoglass": { wiki: "Hemoglass" }, "hemobomb": { wiki: "Hemobomb" }, "rift_trophy_wyldly_supreme": { wiki: "Supreme Timecharm" }, "rift_trophy_mirrored": { wiki: ["mrahcemiT esrevrorriM", "MrahcemiT esrevrorriM"] }, "rift_trophy_chicken_n_egg": { wiki: "Chicken N Egg Timecharm" }, "rift_trophy_citizen": { wiki: "SkyBlock Citizen Timecharm" }, "rift_trophy_lazy_living": { wiki: "Living Timecharm" }, "rift_trophy_slime": { wiki: "Globulate Timecharm" }, "rift_trophy_vampiric": { wiki: "Vampiric Timecharm" }, "rift_trophy_mountain": { wiki: "Mountain Timecharm" }, }),				'/reforge_stones': new Folder({ "bubba_blister": { wiki: "Bubba Blister" }, "chocolate_chip": { wiki: "Fang-tastic Chocolate Chip" }, "full_jaw_fanging_kit": { wiki: "Full-Jaw Fanging Kit" }, "giant_tooth": { wiki: "Giant Tooth" }, "presumed_gallon_of_red_paint": { wiki: "Presumed Gallon of Red Paint" }, "large_walnut": { wiki: "Large Walnut" }, "overgrown_grass": { wiki: "Overgrown Grass" }, "skymart_brochure": { wiki: "SkyMart Brochure" }, "flowering_bouquet": { wiki: "Flowering Bouquet" }, "burrowing_spores": { wiki: "Burrowing Spores" }, "terry_snowglobe": { wiki: "Terry's Snowglobe" }, "frozen_bauble": { wiki: "Frozen Bauble" }, "salmon_opal": { wiki: "Salmon Opal" }, "pure_mithril": { wiki: "Pure Mithril" }, "shiny_prism": { wiki: "Shiny Prism" }, "mandraa": { wiki: "Mandraa" }, "dark_orb": { wiki: "Dark Orb" }, "hot_stuff": { wiki: "Hot Stuff" }, "amber_material": { wiki: "Amber Material" }, "blessed_fruit": { wiki: "Blessed Fruit" }, "pitchin_koi": { wiki: "Pitchin' Koi" }, "acacia_birdhouse": { wiki: "Acacia Birdhouse" }, "rock_gemstone": { wiki: "Rock Gemstone" }, "onyx": { wiki: "Onyx" }, "eccentric_painting_bundle": { wiki: "Eccentric Painting Bundle" }, "moil_log": { wiki: "Moil Log" }, "toil_log": { wiki: "Toil Log" }, "refined_amber": { wiki: "Refined Amber" }, "jerry_stone": { wiki: "Jerry Stone" }, "bulky_stone": { wiki: "Bulky Stone" }, "rock_candy": { wiki: "Rock Candy" }, "hazmat_enderman": { wiki: "Hazmat Enderman" }, "red_scarf": { wiki: "Red Scarf" }, "entropy_suppressor": { wiki: "Entropy Suppressor" }, "hardened_wood": { wiki: "Hardened Wood" }, "molten_cube": { wiki: "Molten Cube" }, "spirit_decoy": { wiki: "Spirit Stone" }, "aote_stone": { wiki: "Warped Stone" }, "searing_stone": { wiki: "Searing Stone" }, "displaced_leech": { wiki: "Displaced Leech" }, }),				// NOTE: Wiki only ever displays tier 1 runes, so `_2`/`_3` images not used here				'/runes': new Folder({ bite_rune: { imgName: "Bite Rune" }, blood_rune: { imgName: "Blood Rune" }, clouds_rune: { imgName: "Clouds Rune" }, couture_rune: { imgName: "Couture Rune" }, // darkness_within_rune: { imgName: "Darkness Within Rune" }, // not yet in pack rune: { imgName: "Empty Rune" }, enchant_rune: { imgName: "Enchant Rune" }, end_rune: { imgName: "End Rune" }, endersnake_rune: { imgName: "Endersnake Rune" }, fiery_burst_rune: { imgName: "Fiery Burst Rune" }, fire_spiral_rune: { imgName: "Fire Spiral Rune" }, gem_rune: { imgName: "Gem Rune" }, golden_rune: { imgName: "Golden Rune" }, grand_searing_rune: { imgName: ["Grand Searing Rune", "Grand Searing Rune III"] }, // this one rune for some reason is listed as III hearts_rune: { imgName: "Hearts Rune" }, hot_rune: { imgName: "Hot Rune" }, ice_rune: { imgName: "Ice Rune" }, jerry_rune: { imgName: "Jerry Rune" }, lava_rune: { imgName: "Lava Rune" }, lavatears_rune: { imgName: "Lavatears Rune" }, lightning_rune: { imgName: "Lightning Rune" }, magical_rune: { imgName: "Magical Rune" }, music_rune: { imgName: "Music Rune" }, pestilence_rune: { imgName: "Pestilence Rune" }, rainbow_rune: { imgName: "Rainbow Rune" }, redstone_rune: { imgName: "Redstone Rune" }, slimy_rune: { imgName: "Slimy Rune" }, smokey_rune: { imgName: "Smokey Rune" }, snake_rune: { imgName: "Snake Rune" }, snow_rune: { imgName: "Snow Rune" }, soultwist_rune: { imgName: ["Soultwist Rune", "Soultwist Rune I"] }, soultwist_rune_2: { imgName: "Soultwist Rune II" }, soultwist_rune_3: { imgName: "Soultwist Rune III" }, sparkling_rune: { imgName: "Sparkling Rune" }, spellbound_rune: { imgName: ["Spellbound Rune", "Spellbound Rune I"] }, spellbound_rune_2: { imgName: "Spellbound Rune II" }, spellbound_rune_3: { imgName: "Spellbound Rune III" }, spirit_rune: { imgName: "Spirit Rune" }, tidal_rune: { imgName: "Tidal Rune" }, unique_rune: { imgName: "Unique Rune" }, wake_rune: { imgName: "Wake Rune" }, // wet_rune: { imgName: "Wet Rune" }, // not yet in pack white_spiral_rune: { imgName: "White Spiral Rune" }, zap_rune: { imgName: "Zap Rune" }, }),				'/sacks': new Folder({ "small_agronomy_sack": { wiki: "Small Agronomy Sack" }, "small_combat_sack": { wiki: "Small Combat Sack" }, "small_dragon_sack": { wiki: "Small Dragon Sack" }, "small_fishing_sack": { wiki: "Small Fishing Sack" }, "small_foraging_sack": { wiki: "Small Foraging Sack" }, "small_gemstone_sack": { wiki: "Small Gemstone Sack" }, "small_husbandry_sack": { wiki: "Small Husbandry Sack" }, "small_lava_fishing_sack": { wiki: "Small Lava Fishing Sack" }, "small_mining_sack": { wiki: "Small Mining Sack" }, "small_nether_sack": { wiki: "Small Nether Sack" }, "small_runes_sack": { wiki: "Small Runes Sack" }, "small_slayer_sack": { wiki: "Small Slayer Sack" }, "medium_agronomy_sack": { wiki: "Medium Agronomy Sack" }, "medium_combat_sack": { wiki: "Medium Combat Sack" }, "medium_dragon_sack": { wiki: "Medium Dragon Sack" }, "medium_fishing_sack": { wiki: "Medium Fishing Sack" }, "medium_foraging_sack": { wiki: "Medium Foraging Sack" }, "medium_gemstone_sack": { wiki: "Medium Gemstone Sack" }, "medium_husbandry_sack": { wiki: "Medium Husbandry Sack" }, "medium_lava_fishing_sack": { wiki: "Medium Lava Fishing Sack" }, "medium_mining_sack": { wiki: "Medium Mining Sack" }, "medium_nether_sack": { wiki: "Medium Nether Sack" }, "medium_runes_sack": { wiki: "Medium Runes Sack" }, "medium_slayer_sack": { wiki: "Medium Slayer Sack" }, "large_agronomy_sack": { wiki: "Large Agronomy Sack" }, "large_combat_sack": { wiki: "Large Combat Sack" }, "large_dragon_sack": { wiki: "Large Dragon Sack" }, "large_fishing_sack": { wiki: "Large Fishing Sack" }, "large_foraging_sack": { wiki: "Large Foraging Sack" }, "large_gemstone_sack": { wiki: "Large Gemstone Sack" }, "large_husbandry_sack": { wiki: "Large Husbandry Sack" }, "large_lava_fishing_sack": { wiki: "Large Lava Fishing Sack" }, "large_mining_sack": { wiki: "Large Mining Sack" }, "large_nether_sack": { wiki: "Large Nether Sack" }, "large_runes_sack": { wiki: "Large Runes Sack" }, "large_slayer_sack": { wiki: "Large Slayer Sack" }, "large_enchanted_agronomy_sack": { wiki: "Large Enchanted Agronomy Sack" }, "large_enchanted_combat_sack": { wiki: "Large Enchanted Combat Sack" }, "large_enchanted_fishing_sack": { wiki: "Large Enchanted Fishing Sack" }, "large_enchanted_foraging_sack": { wiki: "Large Enchanted Foraging Sack" }, "extra_large_gemstone_sack": { wiki: "Extra Large Gemstone Sack" }, "large_enchanted_husbandry_sack": { wiki: "Large Enchanted Husbandry Sack" }, "large_enchanted_mining_sack": { wiki: "Large Enchanted Mining Sack" }, "crystal_hollows_sack": { wiki: "Crystal Hollows Sack" }, "dwarven_mines_sack": { wiki: "Dwarven Mines Sack" }, "flower_sack": { wiki: "Flower Sack" }, "large_candy_sack": { wiki: "Spooky Sack" }, "large_dungeon_sack": { wiki: "Dungeon Sack" }, "large_winter_sack": { wiki: "Winter Sack" }, "rune_sack": { wiki: "Rune Sack" }, "bronze_trophy_fishing_sack": { wiki: "Bronze Trophy Fishing Sack" }, "silver_trophy_fishing_sack": { wiki: "Silver Trophy Fishing Sack" }, "pocket_sack_in_a_sack": { wiki: "Pocket Sack-in-a-Sack" }, }),				'/slayer': new Folder({ "voidgloom_seraph/judgement_core": { wiki: "Judgement Core" }, '/inferno_demonlord': new Folder({						"kelvin_inverter": { wiki: "Kelvin Inverter" },						"subzero_inverter": { wiki: "Subzero Inverter" },						"capsaicin_eyedrops": { wiki: "Capsaicin Eyedrops" },						'/fuel_blocks': new Folder({ "inferno_fuel_block": { wiki: "Inferno Fuel Block" }, // Rare "inferno_fuel_crude_gabagool": { selectors:[`.invslot-item[data-minetip-title="&9Inferno Minion Fuel"][data-minetip-text*="Specialty: &bCrude Gabagool"] img`] }, "inferno_fuel_glowstone_dust": { selectors:[`.invslot-item[data-minetip-title="&9Inferno Minion Fuel"][data-minetip-text*="Specialty: &bGlowstone Dust"] img`] }, "inferno_fuel_nether_stalk": { selectors:[`.invslot-item[data-minetip-title="&9Inferno Minion Fuel"][data-minetip-text*="Specialty: &bNether Wart"] img`] }, "inferno_fuel_magma_cream": { selectors:[`.invslot-item[data-minetip-title="&9Inferno Minion Fuel"][data-minetip-text*="Specialty: &bMagma Cream"] img`] }, "inferno_fuel_blaze_rod": { selectors:[`.invslot-item[data-minetip-title="&9Inferno Minion Fuel"][data-minetip-text*="Specialty: &bBlaze Rod"] img`] }, // Epic "inferno_heavy_crude_gabagool": { selectors:[`.invslot-item[data-minetip-title="&5Inferno Minion Fuel"][data-minetip-text*="Specialty: &bCrude Gabagool"] img`] }, "inferno_heavy_glowstone_dust": { selectors:[`.invslot-item[data-minetip-title="&5Inferno Minion Fuel"][data-minetip-text*="Specialty: &bGlowstone Dust"] img`] }, "inferno_heavy_nether_stalk": { selectors:[`.invslot-item[data-minetip-title="&5Inferno Minion Fuel"][data-minetip-text*="Specialty: &bNether Wart"] img`] }, "inferno_heavy_magma_cream": { selectors:[`.invslot-item[data-minetip-title="&5Inferno Minion Fuel"][data-minetip-text*="Specialty: &bMagma Cream"] img`] }, "inferno_heavy_blaze_rod": { selectors:[`.invslot-item[data-minetip-title="&5Inferno Minion Fuel"][data-minetip-text*="Specialty: &bBlaze Rod"] img`] }, // Legendary "inferno_hypergolic_crude_gabagool": { selectors:[`.invslot-item[data-minetip-title="&6Inferno Minion Fuel"][data-minetip-text*="Specialty: &bCrude Gabagool"] img`], wiki:'Inferno Minion Fuel'/*Default image for infobox*/ }, "inferno_hypergolic_glowstone_dust": { selectors:[`.invslot-item[data-minetip-title="&6Inferno Minion Fuel"][data-minetip-text*="Specialty: &bGlowstone Dust"] img`] }, "inferno_hypergolic_nether_stalk": { selectors:[`.invslot-item[data-minetip-title="&6Inferno Minion Fuel"][data-minetip-text*="Specialty: &bNether Wart"] img`] }, "inferno_hypergolic_magma_cream": { selectors:[`.invslot-item[data-minetip-title="&6Inferno Minion Fuel"][data-minetip-text*="Specialty: &bMagma Cream"] img`] }, "inferno_hypergolic_blaze_rod": { selectors:[`.invslot-item[data-minetip-title="&6Inferno Minion Fuel"][data-minetip-text*="Specialty: &bBlaze Rod"] img`] }, }),					}),					'/riftstalker_bloodfiend': new Folder({						"bloodbadge": { wiki: "Bloodbadge" },						"coven_seal": { wiki: "Coven Seal" },						"healing_melon": { wiki: "Healing Melon" },						"juicy_healing_melon": { wiki: "Juicy Healing Melon" },						"luscious_healing_melon": { wiki: "Luscious Healing Melon" },						"mcgrubber_burger": { wiki: "McGrubber's Burger" },						"unfanged_vampire_part": { wiki: "Unfanged Vampire Part" },					}), }),				'/special': new Folder({ "game_annihilator": { wiki: "Game Annihilator" }, "quality_map": { wiki: "Quality Map" }, "shiny_relic": { wiki: "Shiny Relic" }, "creative_mind": { wiki: "Creative Mind" }, '/epoch_cake': new Folder({						"epoch_cake_aqua": { wiki: "Barry Century Cake" },						"epoch_cake_black": { wiki: "Century Cake of the Next Dungeon Floor" },						"epoch_cake_blue": { wiki: "Sea Emperor Century Cake" },						"epoch_cake_brown": { wiki: "Chocolate Century Cake" },						"epoch_cake_cyan": { wiki: "Century Cake of Hype" },						"epoch_cake_gray": { wiki: "Gray Century Cake" },						"epoch_cake_green": { wiki: "Pet Rock Century Cake" },						"epoch_cake_lime": { wiki: "Lime Century Cake" },						"epoch_cake_magenta": { wiki: "Magenta Century Cake" },						"epoch_cake_orange": { wiki: "Latest Update Century Cake" },						"epoch_cake_pink": { wiki: "Crab-Colored Century Cake" },						"epoch_cake_purple": { wiki: "Streamer's Century Cake" },						"epoch_cake_red": { wiki: "aPunch Century Cake" },						"epoch_cake_silver": { wiki: "Silver Century Cake" },						"epoch_cake_white": { wiki: "Cloudy Century Cake" }, "epoch_cake_yellow": { wiki: "Potato-Style Century Cake" }, }),					'/kuudra_cavity': new Folder({ "kuudra_cavity": { wiki: "Exquisite Kuudra Teeth Plaque" }, "kuudra_cavity_epic": { wiki: "Unpleasant Kuudra Teeth Plaque" }, "kuudra_cavity_rare": { wiki: "Gnarly Kuudra Teeth Plaque" }, "kuudra_cavity_uncommon": { wiki: "Repulsive Kuudra Teeth Plaque" }, "kuudra_cavity_common": { wiki: "Decaying Kuudra Teeth Plaque" }, "kuudra_cavity_special": { wiki: "Kuudra Teeth Plaque" }, }),					'/the_fish': new Folder({ "zoop_the_fish": { wiki: "Zoop the Fish" }, }),				}),			}),		}),		'/ui': new Folder({			'jacob_contest/bronze_medal': { wiki: "Bronze Medal", imgName: "Bronze Medal" },			'jacob_contest/silver_medal': { wiki: "Silver Medal", imgName: "Silver Medal" },			'jacob_contest/gold_medal': { wiki: "Gold Medal", imgName: "Gold Medal" },			'icons/bits': { wiki: ["Bits", "Bit (currency)"] },			'icons/pelts': { wiki: ["Pelts", "Pelt"] },			'icons/north_star': { wiki: ["North Star", "North Stars"] },			'icons/motes': { wiki: "Motes" },			'/coins': new Folder({ 'coin_iron': { wiki: "Coins", imgKey: "Coins" }, // special case, imgKey is intended 'coin_gold': { wiki: "Coin drop (gold)", imgName: "Coins (Gold)" }, 'coin_diamond': { wiki: "Coin drop (diamond)", imgName: "Coins (Diamond)" }, 'coin_emerald': { wiki: "Coin drop (emerald)", imgName: "Coins (Emerald)" }, 'coin_redstone': { wiki: "Coin drop (redstone)", imgName: "Coins (Redstone)" }, 'coin_lapis': { wiki: "Coin drop (lapis)", imgName: "Coins (Lapis)" }, }),			'/essence': new Folder({ "wither_essence": { wiki: "Wither Essence" }, "spider_essence": { wiki: "Spider Essence" }, "undead_essence": { wiki: "Undead Essence" }, "dragon_essence": { wiki: "Dragon Essence" }, "gold_essence": { wiki: "Gold Essence" }, "diamond_essence": { wiki: "Diamond Essence" }, "ice_essence": { wiki: "Ice Essence" }, "crimson_essence": { wiki: "Crimson Essence" }, }),			'/glass': new Folder({ 'menu_glass_white': { selectors:[ '.invslot span[data-iid="Blank:0"]' ] }, 'menu_glass_orange': { selectors:[ '.invslot span[data-iid="Blank:1"]' ] }, 'menu_glass_magenta': { selectors:[ '.invslot span[data-iid="Blank:2"]' ] }, 'menu_glass_light_blue': { selectors:[ '.invslot span[data-iid="Blank:3"]' ] }, 'menu_glass_yellow': { selectors:[ '.invslot span[data-iid="Blank:4"]' ] }, 'menu_glass_lime': { selectors:[ '.invslot span[data-iid="Blank:5"]' ] }, 'menu_glass_pink': { selectors:[ '.invslot span[data-iid="Blank:6"]' ] }, 'menu_glass_gray': { selectors:[ '.invslot span[data-iid="Blank:7"]' ] }, 'menu_glass_light_gray': { selectors:[ '.invslot span[data-iid="Blank:8"]' ] }, 'menu_glass_cyan': { selectors:[ '.invslot span[data-iid="Blank:9"]' ] }, 'menu_glass_purple': { selectors:[ '.invslot span[data-iid="Blank:10"]' ] }, 'menu_glass_blue': { selectors:[ '.invslot span[data-iid="Blank:11"]' ] }, 'menu_glass_brown': { selectors:[ '.invslot span[data-iid="Blank:12"]' ] }, 'menu_glass_green': { selectors:[ '.invslot span[data-iid="Blank:13"]' ] }, 'menu_glass_red': { selectors:[ '.invslot span[data-iid="Blank:14"]' ] }, 'menu_glass_black': { selectors:[ '.invslot span[data-iid="Blank:15"]' ] }, // ui/glass/locked_page.png }),		}),	});	// recursive function	function flattenResourcePackObj(prefix, folder) {		// Add all files to flat list		return Object.entries(folder._contents).flatMap(([folderItemName,folderItem]) => // If folder rescursively continue / else it's a file folderItem.isFolder ? flattenResourcePackObj(`${prefix}${folderItemName}`, folderItem) : makeFinalizedDataObj(prefix, folderItemName, folderItem) );	}	function makeFinalizedDataObj(packPrefix, packFilename, { wiki, imgName, imgKey, selectors=[] }) {		let allSelectors = [ ...selectors ];		if(wiki) {			wiki = Array.isArray(wiki) ? wiki : [wiki];			allSelectors.push(...wiki.map(w=>[`img[alt="${w}"]`, `img[alt="${w}.png"]`]));		}		if(imgName) {			imgName = Array.isArray(imgName) ? imgName : [imgName];			allSelectors.push(...imgName.map(n=>[`img[data-image-name="${n}.png"]`]));		}		if(imgKey) {			imgKey = Array.isArray(imgKey) ? imgKey : [imgKey];			allSelectors.push(...imgKey.map(n=>[`img[data-image-key="${n}.png"]`]));		}		return { selectors:allSelectors, packUrl:`${packPrefix}/${packFilename}.png` }	}	const flattenedData = flattenResourcePackObj(BASE, resourcepack);	function packDataToCssRule({ selectors, packUrl }) {		return `${selectors.join(', ')} { content: url('${packUrl}') }`;	}	const cssEntries = flattenedData.map(packDataToCssRule); /////////////////////////////////	// Display results /////////////////////////////////	function openModal(content) { return new Promise((resolve)=>{			mw.hook('dev.modal').add((module) => { const id = 'hsw-rp-hypixel-plus-' + Date.now; const modal = new module.Modal({ id, content, size: 'full' }); modal.create; modal.show; resolve(id); });		});	}

console.log('Completed CSS generation! View the results in the modal on screen!'); cssEntries.unshift('/* Script for updating this page is on MediaWiki:Gadget-ResourcePacks.js/Hypixel+.css/update.js */') openModal(		[			" ",			`${cssEntries.join('\n')} `,			`Test if all urls exist on server `,			' '		].join('')	).then((id)=>{		const btn = document.querySelector(`#${id} #hsw-rp-hypixel-plus-test-urls`);		btn.addEventListener('click', function{ btn.disabled = 'disabled'; btn.innerHTML = `Checking...`; Promise.all(flattenedData.map(({ packUrl }) => fetch(packUrl, { method: "HEAD" }).then(res=>res.ok) )).then(resAll => {				btn.innerHTML = `Found: ${resAll.filter(r=>r).length} / ${resAll.length}`;			}).catch(resAll => {				btn.innerHTML = `Some error occured`;			}); });	});

return 'Generating CSS...'; });