Module:Pets/data

From Melvor Idle

Documentation for this module may be created at Module:Pets/data/doc

--Version: v0.18.2

--[[The text to decode can be generated in the console via
        var txt = JSON.stringify(PETS)
        txt = txt.replace(/\'/g, "\\\'")
        txt = txt.replace(/\\\"/g, "\\\\\"")
        let fullText = "local petData = {}\r\npetData.Pets = mw.text.jsonDecode('" + txt + "')"

        fullText += "\r\n\r\nreturn petData"

        console.log(fullText)
--]]

local petData = {}
petData.Pets = mw.text.jsonDecode('[{"name":"Beavis","description":"+5% chance to double logs received from Woodcutting","media":"assets/media/pets/woodcutting.png","acquiredBy":"Woodcutting","skill":0,"chance":5},{"name":"Pudding Duckie","description":"<small>Created by Patreon (Moose)</small><br>5% chance to double the amount of Fish per catch.","media":"assets/media/pets/fishing.png","acquiredBy":"Fishing","skill":1,"chance":5},{"name":"Pyro","description":"+1% Global XP.","media":"assets/media/pets/firemaking.png","acquiredBy":"Firemaking","skill":2,"chance":1},{"name":"Cris","description":"5% Chance to receive 2x Cooked Fish","media":"assets/media/pets/cooking.svg","acquiredBy":"Cooking","skill":3,"chance":5},{"name":"Cool Rock","description":"All mining nodes gain +5 Max HP.<br>Named after CoolRox95","media":"assets/media/pets/cool_rock.svg","acquiredBy":"Mining","skill":4},{"name":"Puff, the Baby Dragon","description":"+10% chance to preserve resources when Smithing.","media":"assets/media/pets/smithing.svg","acquiredBy":"Smithing","skill":5,"chance":10},{"name":"Snek","description":"Gain 50% Extra Gold from Thieving","media":"assets/media/pets/thieving.png","acquiredBy":"Thieving","skill":10},{"name":"Larry, the Lonely Lizard","description":"+5 Harvest Quantity","media":"assets/media/pets/farming.png","acquiredBy":"Farming","skill":11},{"name":"Quill","description":"Reduced Fletching interval by 0.2s","media":"assets/media/pets/fletching.svg","acquiredBy":"Fletching","skill":13},{"name":"Caaarrrlll","description":"Reduced Crafting interval by 0.2s","media":"assets/media/pets/crafting.png","acquiredBy":"Crafting","skill":14},{"name":"Gunter","description":"+10% chance to preserve Rune Essence when crafting Runes.","media":"assets/media/pets/runecrafting.svg","acquiredBy":"Runecrafting","skill":15,"chance":10},{"name":"Gronk","description":"2% Chance to brew double Potions","media":"assets/media/pets/herblore.png","acquiredBy":"Herblore","skill":19,"chance":2},{"name":"Bruce","description":"Gain +3 Hidden Attack Level","media":"assets/media/pets/attack.svg","acquiredBy":"Attack","skill":6},{"name":"Lil Ron","description":"Gain +3 Hidden Strength Level","media":"assets/media/pets/strength.svg","acquiredBy":"Strength","skill":7},{"name":"Leonardo","description":"Gain +1% Damage Reduction","media":"assets/media/pets/defence.svg","acquiredBy":"Defence","skill":8},{"name":"Finn, the Cat","description":"Gain +10 Maximum HP","media":"assets/media/pets/hitpoints.png","acquiredBy":"Hitpoints","skill":9},{"name":"Marahute","description":"+5% Chance to preserve Ammo","media":"assets/media/pets/ranged.png","acquiredBy":"Ranged","skill":12},{"name":"Salem","description":"+5% Chance to preserve all Runes when casting Magic","media":"assets/media/pets/magic.svg","acquiredBy":"Magic","skill":16},{"name":"Monk-ey","description":"+5% Chance to ignore Prayer Point cost.","media":"assets/media/pets/prayer.png","acquiredBy":"Prayer","skill":17},{"name":"Asura","description":"<small>Created by Patreon ( [ ] )</small><br>+20% Extra Slayer Coins from Slayer Tasks","media":"assets/media/pets/slayer.png","acquiredBy":"Slayer Task","skill":18},{"name":"Golden Golbin","description":"+1% chance to double loot acquired through combat.","media":"assets/media/pets/golden_golbin.svg","acquiredBy":"Combat","killCount":42069,"skill":-1},{"name":"Ty","description":"+3% Global Mastery XP","media":"assets/media/pets/ty.svg","acquiredBy":"Mastery","skill":0},{"name":"Peri","description":"+5% Evasion Ratings","media":"assets/media/pets/peri.svg","acquiredBy":"Perilous Peaks","skill":-1},{"name":"Otto","description":"0.1s Attack Speed Reduction","media":"assets/media/pets/octopus.svg","acquiredBy":"Dark Waters","skill":-1},{"name":"Ripper the Reindeer","description":"Christmas Event 2020 Pet","media":"assets/media/pets/ripper.svg","acquiredBy":"Christmas Event 2020","skill":-1,"ignoreCompletion":true}]')

return petData