Grundos Cafe Quickstock Auto Discard

Automatically checks "discard" in quickstock for worthless items.

< Opiniones de Grundos Cafe Quickstock Auto Discard

Puntuación: Bueno; el script funciona tal y como promete

§
Publicado: 12/07/2024

This is excellent. I have modified it to add checks for pre-selected Deposit items as well. The list is not exhaustive, but I added various things that I always keep. As well as added more junk items.


// ==/UserScript==
const defaultDiscard = [ // Fishing
"Broken Toy Sailboat","Old Rotten Left Sandal", "Old Rotten Left Shoe","Old Rotten Left Boot",
"Old Rotten Right Sandal", "Old Rotten Right Shoe","Old Rotten Right Boot", "Petrified Bone",
"Enormous Fake Diamond", "Rusty Old Can","Giant Bath Plug", "Fish Scale Breastplate", "17-Pound Trout",
"Shiny Shoal Shell Shield", "Cheap Water Ring", "Dull Grey Pearl", "Water Mote", "Water Muffin", "Bubble Mote",
"Magical Healing Potion", "Ultra Bubble Beam", "Water Faerie Water Blaster", "Necklace of the Water Faerie",
"The Old Mynci and the Sea", "Fishing Made Easy", "Slimy Bog Scroll", "Mouldy Tome", "On Gelert Pond", "Waterlogged Book",
"Nupie", "Surzard", "Noak", "Yoakie", "Mundo", "Kora", "Lurman", "Splime", "Rotting Driftwood", "Watery Hot Dog",
"Landfish", "Rockfish", "Chaosfish", "Breadfish", "Eyefish", "Blandfish", "Scrawnyfish", "Bombfish", "Transparifish",
"Bombfish", "Doomfish", "Madfish", "Cubefish","Spectral Shrimp", "Tyrannian Mechafish", "Golden Mechafish",
"Diseased Mechafish", "Glistening Mechafish", "Frozen Mechafish", "Spooky Mechafish", "Tanglepus", "Waterfish",
"Inferno Mollusk", "Fractalpus", "Lesser Spotted Fish", "Neopet-Eating Carp", "Scroll of the Sea", "Pike Pike",
"Small Giant Squid", "Large Giant Squid", "Giant Giant Squid", "Titanic Giant Squid", "Smooth Black Sphere",
"Radarfish", "Rotten Beetroot", "Broken Fishing Pole", "Mouldy Petpet Bed", "Hovering Four-Dimensional Pyramid",
"Butterfish",
// Tombola
"Reject Curly Shaped Sand", "Volcanic Rock", "Surfboard Keyring", "Tombola Pencil Sharpener", "Unlabelled Tin Can",
"Palm Fan", "Pickled Olives", "Sandals", "Toy Sailboat", "Super Toy Sailboat", "Coconut Keyring",
"Souvenir Magnet", "Tombola Aisha Keyring", "Tombola Visor", "Half Coconut Shell", "Reject Star Shaped Sand",
"Reject Flower Shaped Sand", "Tombola T-shirt", "Dried Prunes", "Jelly Float", "Brown Sauce", "Dandelion and Burdock Drink",
"Can of Prune Juice",
// those kings
"King Hagan", "Keeping The Peace", "Cartography For Beginners", "Brightvale Maps", "Brightvale Castle",
// Buried Treasure
"Maggoty Spud", "Buried Burger", "Rancid Old Meat", "Snout Plant", "Rock Baby Cabbages", "Spongy Mound", "Yellow Growth",
// Pick your own, but not your nose
"Bit of Barbed Wire", "Piece of Wool", "Old Boot", "Half-eaten Berry", "Rotten Berry",
// Non Gourmet Berries
"Unguberry", "Blue Bomberry", "Eyeballberry", "Jumbleberry", "Conkerberry", "Purple Felberry", "Voidberry",
"Red Chiaberry", "Super Juicy Berry", "Sniddberry", "Pusberry", "Mortogberry", "Dorkleberry", "Spoogentberry",
"Aquaberry", "Brown Broadberry", "Orange Graspberry", "Burritoberry", "Breenutberry", "Autumnberry", "Benyeroberry",
"Strebbleberry", "Orfaberry", "Stinkberry", "Edgyberry",
// Rubbish Dump
"Old Paper", "Broken Spoon", "Old Croutons", "Baby Haystack", "Meridell Gravy", "Packet of Gravel", "Muddy Bone",
"Strange Green Seeds", "Squished Tomato", "UFFH", "Soggy Old Box",
// Coltzan
"Serf Lens", "Spoiled Sphinx Links", "Peanut Butter and Jam Shield", "Omelette Shield", "Toasted Pyramibread",
"Scorched Pyramicake", "Broken Corn Pyramid", "Damaged Bagguss", "Ruined Ptolymelon", "Mangled Geopeppers",
"Scorched Grackle-Stuffed Turkey", "Scorched Sutek Muffin", "Rotten Puntec Fruit", "Scorched Tut Trout",
"Burnt Grackle Bug on a Stick", "Cracked Mummified Pepper", "Burnt Scarab Cookie", "Scorched Cheops Plant",
"Burnt Red Eye Egg", "Damaged Ummagine", "Squashed Tchea Fruit", "Scorched Sutek Beans", "Scorched Suti Fruit",
"Scorched Chomato", "Scorched Gobi Fruit", "Scorched Pleto", "Scorched Cheopple", "Perfectly Flat Rock Shield",
"Clay Shield", "Stone Shield", "Wooden Shield", "Tchea Fruit", "Sphinx Links", "Cheopple",
// Tyrannian furniture
"Stone Side Table", "Stone Wardrobe", "Stone Cool Box", "Stone Shelves", "Hewn Stone Table", "Small Stone Table",
"Stone Pot", "Stone Carpet", "Stone Box", "Stone Chair", "Hewn Stone Bed", "Hewn Stone Chair", "Stone Sofa", "Rock Chair",
"Stone Kitchen Shelf Unit", "Stone Rug", "Stone Tablet", "Stone Pot", "Straw Bed", "Straw Chair", "Straw Desk",
"Straw Sofa", "Straw Sofa Chair",
// Snowballs
//"Poison Snowball", "Wet Snowball", "Yellow Snowball", "Sand Snowball", "Evil Snowball", "Peach Snowball", "Exploding Snowball",
// Misc
"Healing Potion I", "Healing Potion II", "Healing Potion III", "Healing Potion IV", "Healing Potion V", "Healing Potion VI",
"Healing Potion VII", "Healing Potion VIII", "Healing Potion IX", "Healing Potion X", "Healing Potion XI", "Healing Potion XIII",
"Downpour Bottle", "Dewberry Reviver", "Essence of Everlasting Apple", "Poison Snowball Wand", "Poisonous Jelly", "Glowing Jelly",
"Jhudora T-Shirt", "Poisonous Lollipop", "Bat Pack", "Feather Tickler", "Straw Chair", "Scarab Ring", "Squished Jelly",
"Mummmified Jelly", "Half Eaten Glowing Jelly", "Snotty Jelly", "Jhudoras Brush", "Purple Blob Potion", "Large Plain Window",
"Garlic Shield", "Barbat", "Mummy Intruder Window", "Basket of Gross Berries", "Pineapple Boat", "Vial of Pure Water", "Mystery Island Drum",
"Half Eaten Poisonous Jelly", "Chomato", "Gobi Fruit", "Pleto Melon", "Hissi Stained Glass Window", "Leminty Elixir of Healing",
"Scamander Shield", "Heavy Round Shield", "Knights Shield", "Craftsmans Lens", "Artisans Lens", "Red Eye Egg", "Stick-O-Mynci",
"Purple Grasper", "Primordial Thing", "Nautilus", "Neosaurus Tail", "Bottle of Red Sand", "Rainbow Portal Window", "Scroll of Flight",
"Jail Window", "Test Your Strength Mug", "Fish Jelly", "Deluxe Sun Hat", "Mummy Baby", "Slime Potion", "Finger Crisps",
"Snail Sub", "Infested Peach", "Carawool", "Healing Potion XVII", "Healing Potion XVI", "Healing Potion XIV",
];

const defaultDeposit = [
"Mag Codestone", "Kew Codestone", "Cui Codestone", "Zed Codestone", "Sho Codestone", "Vux Codestone", "Main Codestone",
"Eo Codestone", "Bri Codestone", "Har Codestone", "Orn Codestone", "Tai-Kai Codestone", "Lu Codestone", "Mau Codestone",
"Zei Codestone", "Vo Codestone", "One Dubloon Coin", "Five Dubloon Coin", "Ten Dubloon Coin", "Tomato and Pepper Omelette",
"Tomato Omelette", "Cheese Omelette", "Cheese and Onion Omelette", "BBQ Sauce Omelette", "Bacon Omelette", "Bacon and Broccoli Omelette",
"Green Pepper Omelette", "Carrot and Pea Omelette", "Sausage Omelette", "Sausage and Pepperoni Omelette",
"Fresh Fruit Surprise Omelette", "Veggie Delight Omelette", "Rice Omelette", "Mint Jelly", "Stone Jelly", "Raspberry Jelly",
"Lemon Jelly", "Lime Jelly", "Bubbling Fungus", "Super Strength Healing Potion", "Void Snowball", "Bottled Light Faerie",
"Bottled Dark Faerie", "Bottled Water Faerie", "Bottled Fire Faerie", "Bottled Air Faerie", "Bottled Earth Faerie",
"Pile of Dung", "Evil Snowball", "Wet Snowball", "Poison Snowball", "Yellow Snowball", "Zeenana Peel", "Pant Devil Attractor",
"Chewing Dung", "Brown Snowball", "Tortured Snowball", "Peach Snowball", "Apple Core", "Extra Evil Snowball", "Pile of Red Beads",
"Pile of Green Beads", "Pile of Purple Beads", "Pile of Blue Beads", "Pile of Yellow Beads", "Magical Abacus", "Exploding Snowball",
"Icy Snowball", "Jhudoras Snowball", "Sticky Snowball", "Snow Mudball", "Healing Potion XIX", "Healing Potion XV", "Healing Potion XII",
"I Club Sloth Grundo T-Shirt", "Test Your Strength T-Shirt", "Ghostkerchief",
];

(function() {
'use strict';
const quickstock = document.querySelector("main .market_grid");
if (!quickstock) {return;}
const gridLength = quickstock.querySelectorAll(".header").length;
let quickstockNames = quickstock.querySelectorAll(".data.justify-right");
let quickstockDeposit = quickstock.querySelectorAll(`.data:nth-child(${gridLength}n+3)`);
let quickstockDiscard = quickstock.querySelectorAll(`.data:nth-child(${gridLength}n+5)`);
for (let i = 0; i < quickstockNames.length; i++) {
if (defaultDeposit.includes(quickstockNames[i].innerText)) {
quickstockDeposit[i].children[0].checked =true;
} else if (defaultDiscard.includes(quickstockNames[i].innerText)) {
quickstockDiscard[i].children[0].checked = true;
}
}
})();

Publicar respuesta

Inicia sesión para responder.