Module:Pets/data

From Melvor Idle

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

-- Version: V1.0.4 (?1963)

--[[The text to decode can be generated in the console via
(function() {
  var getGameVersion = function() {
      var elemVer = document.querySelector("li[data-target='#modal-major-update']:not(.d-none)")
      if (elemVer !== undefined) {
      	return elemVer.innerText
      }
      else {
        return gameVersion
      }
    }

  var fullText = "-- Version: " + getGameVersion()
  fullText += "\r\n\r\nlocal petData = {}"

  var txt = JSON.stringify(PETS)
  txt = txt.replace(/\'/g, "\\\'")
  txt = txt.replace(/\\\"/g, "\\\\\"")
  fullText += "\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 Items in Woodcutting","media":"https://cdn.melvor.net/core/v018/assets/media/pets/woodcutting.png","acquiredBy":"Woodcutting","skill":0,"chance":5,"modifiers":{"increasedChanceToDoubleItemsSkill":[[0,5]]},"activeInRaid":false},{"name":"Pudding Duckie","description":"<small>Created by Patreon (Moose)</small><br>+5% Chance to Double Items in Fishing","media":"https://cdn.melvor.net/core/v018/assets/media/pets/fishing.png","acquiredBy":"Fishing","skill":1,"chance":5,"modifiers":{"increasedChanceToDoubleItemsSkill":[[1,5]]},"activeInRaid":false},{"name":"Pyro","description":"+1% Global Skill XP","media":"https://cdn.melvor.net/core/v018/assets/media/pets/firemaking.png","acquiredBy":"Firemaking","skill":2,"chance":1,"modifiers":{"increasedGlobalSkillXP":1},"activeInRaid":false},{"name":"Cris","description":"+5% Chance to Double Items in Cooking","media":"https://cdn.melvor.net/core/v018/assets/media/pets/cooking.svg","acquiredBy":"Cooking","skill":3,"chance":5,"modifiers":{"increasedChanceToDoubleItemsSkill":[[3,5]]},"activeInRaid":false},{"name":"Cool Rock","description":"+5 Mining Node Hitpoints<br>Named after Coolrox95","media":"https://cdn.melvor.net/core/v018/assets/media/pets/cool_rock.svg","acquiredBy":"Mining","skill":4,"modifiers":{"increasedMiningNodeHP":5},"activeInRaid":false},{"name":"Puff, the Baby Dragon","description":"+10% Chance to Preserve Resources in Smithing","media":"https://cdn.melvor.net/core/v018/assets/media/pets/smithing.svg","acquiredBy":"Smithing","skill":5,"chance":10,"modifiers":{"increasedSkillPreservationChance":[[5,10]]},"activeInRaid":false},{"name":"Snek","description":"+50% GP From Thieving","media":"https://cdn.melvor.net/core/v018/assets/media/pets/thieving.png","acquiredBy":"Thieving","skill":10,"modifiers":{"increasedGPFromThieving":50},"activeInRaid":false},{"name":"Larry, the Lonely Lizard","description":"+15 Harvest Quantity","media":"https://cdn.melvor.net/core/v018/assets/media/pets/farming.png","acquiredBy":"Farming","skill":11,"activeInRaid":false},{"name":"Quill","description":"-0.2s Fletching Interval","media":"https://cdn.melvor.net/core/v018/assets/media/pets/fletching.svg","acquiredBy":"Fletching","skill":13,"modifiers":{"decreasedSkillInterval":[[13,200]]},"activeInRaid":false},{"name":"Caaarrrlll","description":"-0.2s Crafting Interval","media":"https://cdn.melvor.net/core/v018/assets/media/pets/crafting.png","acquiredBy":"Crafting","skill":14,"modifiers":{"decreasedSkillInterval":[[14,200]]},"activeInRaid":false},{"name":"Gunter","description":"+10% Chance to Preserve Resources in Runecrafting","media":"https://cdn.melvor.net/core/v018/assets/media/pets/runecrafting.svg","acquiredBy":"Runecrafting","skill":15,"chance":10,"modifiers":{"increasedSkillPreservationChance":[[15,10]]},"activeInRaid":false},{"name":"Gronk","description":"+2% Chance to Double Items in Herblore","media":"https://cdn.melvor.net/core/v018/assets/media/pets/herblore.png","acquiredBy":"Herblore","skill":19,"chance":2,"modifiers":{"increasedChanceToDoubleItemsSkill":[[19,2]]},"activeInRaid":false},{"name":"Bruce","description":"+3 Hidden Attack Level","media":"https://cdn.melvor.net/core/v018/assets/media/pets/attack.svg","acquiredBy":"Attack","skill":6,"modifiers":{"increasedHiddenSkillLevel":[[6,3]]},"activeInRaid":false},{"name":"Lil Ron","description":"+3 Hidden Strength Level","media":"https://cdn.melvor.net/core/v018/assets/media/pets/strength.svg","acquiredBy":"Strength","skill":7,"modifiers":{"increasedHiddenSkillLevel":[[7,3]]},"activeInRaid":false},{"name":"Leonardo","description":"+1% Damage Reduction","media":"https://cdn.melvor.net/core/v018/assets/media/pets/defence.svg","acquiredBy":"Defence","skill":8,"modifiers":{"increasedDamageReduction":1},"activeInRaid":false},{"name":"Finn, the Cat","description":"+10 Maximum Hitpoints","media":"https://cdn.melvor.net/core/v018/assets/media/pets/hitpoints.png","acquiredBy":"Hitpoints","skill":9,"modifiers":{"increasedFlatMaxHitpoints":1},"activeInRaid":false},{"name":"Marahute","description":"+5% Ammo Preservation","media":"https://cdn.melvor.net/core/v018/assets/media/pets/ranged.png","acquiredBy":"Ranged","skill":12,"modifiers":{"increasedAmmoPreservation":5},"activeInRaid":false},{"name":"Salem","description":"+5% Rune Preservation","media":"https://cdn.melvor.net/core/v018/assets/media/pets/magic.svg","acquiredBy":"Magic","skill":16,"modifiers":{"increasedRunePreservation":5},"activeInRaid":false},{"name":"Monk-ey","description":"+5% Chance To Preserve Prayer Points","media":"https://cdn.melvor.net/core/v018/assets/media/pets/prayer.png","acquiredBy":"Prayer","skill":17,"modifiers":{"increasedChanceToPreservePrayerPoints":5},"activeInRaid":false},{"name":"Asura","description":"<small>Created by Patreon ( [ ] )</small><br>+20% Slayer Coins","media":"https://cdn.melvor.net/core/v018/assets/media/pets/slayer.png","acquiredBy":"Slayer Task","skill":18,"modifiers":{"increasedSlayerCoins":20},"activeInRaid":false},{"name":"Golden Golbin","description":"+1% Chance To Double Loot in Combat","media":"https://cdn.melvor.net/core/v018/assets/media/pets/golden_golbin.svg","acquiredBy":"Combat","killCount":42069,"skill":-1,"modifiers":{"increasedChanceToDoubleLootCombat":1},"activeInRaid":false},{"name":"Ty","description":"+3% Global Mastery XP","media":"https://cdn.melvor.net/core/v018/assets/media/pets/ty.svg","acquiredBy":"Mastery","skill":0,"modifiers":{"increasedGlobalMasteryXP":3},"activeInRaid":false},{"name":"Peri","description":"+5% Melee Evasion, +5% Ranged Evasion, and +5% Magic Evasion","media":"https://cdn.melvor.net/core/v018/assets/media/pets/peri.svg","acquiredBy":"Perilous Peaks","skill":-1,"modifiers":{"increasedMeleeEvasion":5,"increasedRangedEvasion":5,"increasedMagicEvasion":5},"activeInRaid":false},{"name":"Otto","description":"-0.1s Attack Interval","media":"https://cdn.melvor.net/core/v018/assets/media/pets/octopus.svg","acquiredBy":"Dark Waters","skill":-1,"modifiers":{"decreasedAttackInterval":100},"activeInRaid":false},{"name":"Ripper the Reindeer","description":"Christmas Event 2020 Pet","media":"https://cdn.melvor.net/core/v018/assets/media/pets/ripper.svg","acquiredBy":"Christmas Event 2020","skill":-1,"ignoreCompletion":true,"activeInRaid":false},{"name":"Chick","description":"Chicken Coop<br>+1% Accuracy Rating","media":"https://cdn.melvor.net/core/v018/assets/media/pets/chicken_coop.svg","acquiredBy":"Chicken Coop","skill":-1,"obtained":{"dungeonCompletion":[[0,350]]},"modifiers":{"increasedGlobalAccuracy":1},"activeInRaid":false},{"name":"Zarrah","description":"Undead Graveyard<br>+1% GP From Monsters","media":"https://cdn.melvor.net/core/v018/assets/media/pets/undead_graveyard.svg","acquiredBy":"Undead Graveyard","skill":-1,"obtained":{"dungeonCompletion":[[1,350]]},"modifiers":{"increasedGPFromMonsters":1},"activeInRaid":false},{"name":"Chio","description":"Bandit Base<br>+2% Ranged Maximum Hit","media":"https://cdn.melvor.net/core/v018/assets/media/pets/bandit_base.svg","acquiredBy":"Bandit Base","skill":-1,"obtained":{"dungeonCompletion":[[6,350]]},"modifiers":{"increasedRangedMaxHit":2},"activeInRaid":false},{"name":"Bouncing Bob","description":"Hall of Wizards<br>+2% Magic Maximum Hit","media":"https://cdn.melvor.net/core/v018/assets/media/pets/hall_of_wizards.svg","acquiredBy":"Hall of Wizards","skill":-1,"obtained":{"dungeonCompletion":[[7,350]]},"modifiers":{"increasedMagicMaxHit":2},"activeInRaid":false},{"name":"Rosey","description":"Spider Forest<br>+1% Chance To Double Loot in Combat","media":"https://cdn.melvor.net/core/v018/assets/media/pets/spider_forest.svg","acquiredBy":"Spider Forest","skill":-1,"obtained":{"dungeonCompletion":[[2,350]]},"modifiers":{"increasedChanceToDoubleLootCombat":1},"activeInRaid":false},{"name":"Jelly Jim","description":"Miolite Caves<br>+2% Rune Preservation","media":"https://cdn.melvor.net/core/v018/assets/media/pets/miolite_caves.svg","acquiredBy":"Miolite Caves","skill":-1,"obtained":{"dungeonCompletion":[[13,350]]},"modifiers":{"increasedRunePreservation":2},"activeInRaid":false},{"name":"Ayyden","description":"Deep Sea Ship<br>+2% Slayer Coins","media":"https://cdn.melvor.net/core/v018/assets/media/pets/deep_sea_ship.svg","acquiredBy":"Deep Sea Ship","skill":-1,"obtained":{"dungeonCompletion":[[4,350]]},"modifiers":{"increasedSlayerCoins":2},"activeInRaid":false},{"name":"Arctic Yeti","description":"Frozen Cove<br>Named after Winner of 2020 Fan Art Competition<br>+2% Ammo Preservation","media":"https://cdn.melvor.net/core/v018/assets/media/pets/frozen_cove.svg","acquiredBy":"Frozen Cove","skill":-1,"obtained":{"dungeonCompletion":[[3,350]]},"modifiers":{"increasedAmmoPreservation":2},"activeInRaid":false},{"name":"Harley","description":"Dragons Den<br>+1% Damage To Combat Area Monsters","media":"https://cdn.melvor.net/core/v018/assets/media/pets/dragons_den.svg","acquiredBy":"Dragons Den","skill":-1,"obtained":{"dungeonCompletion":[[12,350]]},"modifiers":{"increasedDamageToCombatAreaMonsters":1},"activeInRaid":false},{"name":"Mac","description":"Volcanic Cave<br>+1% Damage To Slayer Area Monsters","media":"https://cdn.melvor.net/core/v018/assets/media/pets/volcanic_cave.svg","acquiredBy":"Volcanic Cave","skill":-1,"obtained":{"dungeonCompletion":[[5,200]]},"modifiers":{"increasedDamageToSlayerAreaMonsters":1},"activeInRaid":false},{"name":"Singe","description":"Infernal Stronghold<br>+1% Damage To Dungeon Monsters","media":"https://cdn.melvor.net/core/v018/assets/media/pets/infernal_stronghold.svg","acquiredBy":"Infernal Stronghold","skill":-1,"obtained":{"dungeonCompletion":[[14,200]]},"modifiers":{"increasedDamageToDungeonMonsters":1},"activeInRaid":false},{"name":"Aquarias","description":"Air God Dungeon<br>+1% Chance to Double Items Globally","media":"https://cdn.melvor.net/core/v018/assets/media/pets/air_god_dungeon.svg","acquiredBy":"Air God Dungeon","skill":-1,"obtained":{"dungeonCompletion":[[8,150]]},"modifiers":{"increasedChanceToDoubleItemsGlobal":1},"activeInRaid":false},{"name":"Norman","description":"Water God Dungeon<br>+3% Chance To Preserve Prayer Points","media":"https://cdn.melvor.net/core/v018/assets/media/pets/water_god_dungeon.svg","acquiredBy":"Water God Dungeon","skill":-1,"obtained":{"dungeonCompletion":[[9,150]]},"modifiers":{"increasedChanceToPreservePrayerPoints":3},"activeInRaid":false},{"name":"Erran","description":"Earth God Dungeon<br>+1% Damage Reduction","media":"https://cdn.melvor.net/core/v018/assets/media/pets/earth_god_dungeon.svg","acquiredBy":"Earth God Dungeon","skill":-1,"obtained":{"dungeonCompletion":[[10,150]]},"modifiers":{"increasedDamageReduction":1},"activeInRaid":false},{"name":"Ren","description":"Fire God Dungeon<br>+2% Maximum Hit","media":"https://cdn.melvor.net/core/v018/assets/media/pets/fire_god_dungeon.svg","acquiredBy":"Fire God Dungeon","skill":-1,"obtained":{"dungeonCompletion":[[11,150]]},"modifiers":{"increasedMaxHitPercent":2},"activeInRaid":false},{"name":"Pablo","description":"Into the Mist<br>+2% Damage To All Monsters","media":"https://cdn.melvor.net/core/v018/assets/media/pets/into_the_mist.svg","acquiredBy":"Into the Mist","skill":-1,"obtained":{"dungeonCompletion":[[15,5]]},"modifiers":{"increasedDamageToAllMonsters":2},"activeInRaid":false},{"name":"Sam","description":"Agility<br>+15% GP From Agility","media":"https://cdn.melvor.net/core/v018/assets/media/pets/sloth.svg","acquiredBy":"Agility","skill":20,"modifiers":{"increasedGPFromAgility":15},"activeInRaid":false},{"name":"Jerry the Giraffe","description":"Start the Golbin Raid with an Adamant Scimitar","media":"https://cdn.melvor.net/core/v018/assets/media/pets/giraffe.svg","acquiredBy":"UNDEFINED TRANSLATION CATEGORY: GOLBIN_RAD","skill":-1,"modifiers":{"golbinRaidStartingWeapon":436},"ignoreCompletion":true,"activeInRaid":true},{"name":"Preston the Platypus","description":"+1000 to starting Elemental Rune count.","media":"https://cdn.melvor.net/core/v018/assets/media/pets/platypus.svg","acquiredBy":"UNDEFINED TRANSLATION CATEGORY: GOLBIN_RAD","skill":-1,"modifiers":{"golbinRaidIncreasedStartingRuneCount":1000},"ignoreCompletion":true,"activeInRaid":true},{"name":"Tim the Wolf","description":"Summoning<br>-1 Shard Cost when creating Familiars in Summoning","media":"https://cdn.melvor.net/core/v018/assets/media/pets/summoning.svg","acquiredBy":"Summoning","skill":21,"modifiers":{"decreasedSummoningShardCost":1},"activeInRaid":false},{"name":"Mark","description":"Achieve Maximum Level in all Summoning Marks<br>+10% Chance to preserve Summoning Charges","media":"https://cdn.melvor.net/core/v018/assets/media/pets/mark.svg","acquiredBy":"Achieve Maximum Level in all Summoning Marks","skill":-1,"modifiers":{"increasedSummoningChargePreservation":10},"activeInRaid":false},{"name":"Bone","description":"Impending Darkness<br>All enemies have: -1% Damage Reduction","media":"https://cdn.melvor.net/core/v018/assets/media/pets/bone.png","acquiredBy":"Impending Darkness","skill":-1,"enemyModifiers":{"decreasedDamageReduction":1},"activeInRaid":false},{"name":"Astro","description":"Astrology<br>+0.1% chance to find Golden Stardust","media":"https://cdn.melvor.net/core/v018/assets/media/pets/astrology.svg","acquiredBy":"Astrology","skill":22,"modifiers":{},"activeInRaid":false},{"name":"Festive Cool Rock","description":"Christmas Event 2021","media":"https://cdn.melvor.net/core/v018/assets/media/pets/festive_cool_rock.png","acquiredBy":"Christmas Event 2021","skill":-1,"modifiers":{},"activeInRaid":false,"ignoreCompletion":true},{"name":"Festive Chio","description":"Christmas Event 2021","media":"https://cdn.melvor.net/core/v018/assets/media/pets/festive_chio.png","acquiredBy":"Christmas Event 2021","skill":-1,"modifiers":{},"activeInRaid":false,"ignoreCompletion":true}]')

return petData