Help this asset pack reach its goal

Raised
$268.49
Goal
$500.00
53%
of goal
39
contributors
$6.88
average contribution
$15.00
top contribution

🐾 ED5_Pets Plugin Documentation

πŸ“˜ Overview

The ED5_Pets plugin adds a complete pet system to RPG Maker MZ, including:

  • πŸ₯š Egg hatching mechanics
  • 🎯 Pet capturing with balls
  • πŸ“¦ Pet inventory and bank system
  • πŸ— Hunger system
  • πŸ’– Loyalty system
  • πŸ“£ Pet summoning and despawning
  • 🌱 Evolution system
  • πŸ“ˆ Stat growth and leveling


    - Changelog
    Core Plugin Updates – ED5_Pets.js
    🧠 Event Queue System
    • Implemented a serialized pet event queue to prevent overlapping or reserved common events when multiple pets trigger actions simultaneously.
    • Added deduplication logic to stop the same pet + event combination from being queued multiple times.
    • Introduced polling-based completion detection so the next queued pet event only executes when the map and common-event system are idle.
    • Updated File: js/plugins/ED5_Pets.js
      (Game_Pets.prototype.queuePetCommonEvent, processPendingEvents)
    🩺 Pet State Validation
    • Added validatePet() to auto-repair common corruptions (missing IDs, bad fields, or broken triggers) and clamp data to safe ranges.
    • Added validateAllPets() to run full-suite validation across both inventory and bank, removing corrupted or invalid entries.
    • Automatic validation now runs after loading save data, fixing broken pet states automatically.
    • New plugin command: ED5_Pets validatePets for manual validation from the console or event commands.
    • Updated File: js/plugins/ED5_Pets.js
      (validatePet, validateAllPets)
    🎨 Menu Icon Animation Fix
    • Fixed pet icons and portraits so they now animate correctly while menu scenes are open.
    • Hooked into Scene_MenuBase.update() to refresh pet icons efficiently without unnecessary redraws.
    • Updated File: js/plugins/ED5_Pets.js
    πŸ—ΊοΈ Map Pet Animation Behavior
    • Summoned pet event animations now correctly respect their template event’s walk/step animation flags, rather than forcing them on.
    • Game_PetEvent now reads walkAnime / stepAnime from template event pages, restoring the intended behavior of original pet templates.
    • Updated File: js/plugins/ED5_Pets.js
      (Game_PetEvent initialize/refresh/hasStepAnime/hasWalkAnime)
    πŸ”’ Other Improvements & Safety Hardening
    • Improved event add/remove safety on maps.
    • Safer summon/recall logic and post-load validation routines.
    • Enhanced defensive checks and update loops across the plugin to prevent state corruption.

βš™οΈ Installation

  • Place the plugin file in your js/plugins folder
  • Enable it in the Plugin Manager
  • Create a map with the ID set in the PetMapId parameter (default is 1)

🧰 Basic Setup

🐾 1. Pet Template Map

Create pet templates on a map (ID = 1 by default). Each event = one pet type.

🌿 2. Creating Pets

There are two ways to add pets:

A. Wild Pets

Place events and add these tags:

<pet: 1>
<petsMHP: 50>
<petsATK: 10>
<Loyalty: 30>
<hunger: 80>
<hungerRate: 0.5>
<ballWeakness: 75>
<petLv: 5>
B. Eggs

Create an item and add:

<egg: 1>
<hatch: 500>
<petsMHP: 40>
<petsATK: 8>
<Loyalty: 50>
<hunger: 100>

⚽ 3. Pet Balls

Tag pet balls in the database with:

<petBall: 75>
<ballRange: 2>
<ballSprite: SuperBall>
<successAni: 51>
<failedAni: 52>

πŸŽ’ Player Inventory

Defaults to 6 pets. Can be expanded via:

  • 🎭 <petInventory: x> in actor notebox
  • πŸ›‘οΈ <expandPetInventory: x> in equipment

πŸ” Evolution System

Tag evolving pets or eggs with:

<evolveLv: 15,30>
<evolveEID: 2,3>
<evolveMHP: 10,20>
<evolveRaiseATK: 5,10>

πŸ’» Plugin Commands

  • ED5_Pets openBank - 🏦 Open pet bank
  • ED5_Pets summonPet x - 🐢 Summon pet
  • ED5_Pets recallPet - πŸ‘‹ Recall pet
  • ED5_Pets gainExp x y - πŸ§ͺ Add EXP
  • ED5_Pets changeLoyalty x y - πŸ’– Change loyalty

πŸ“œ Script Calls

  • $gameSystem.pets().addPet(petData) - βž• Add a pet
  • $gameSystem.pets().summonPet(petId) - 🐾 Summon pet
  • $gameSystem.pets().recallPet() - 🚫 Recall pet
  • $gameSystem.pets().gainExp(pet, amount) - πŸ“ˆ Gain EXP

πŸ— Hunger System

  • Hunger decreases over time (default 1 per min)
  • 0 hunger = -10 loyalty
  • πŸ• Pet is recalled if hunger = 0

πŸ’– Loyalty System

  • Ranges 0–100
  • Decreases with hunger
  • Affects future pet behavior

🏦 Bank System

  • Stores up to 1000 pets
  • Access via plugin command or custom menu

πŸ“£ Summoning Mechanics

  • One pet out at a time
  • Appears as an event
  • Use event pages for interaction

πŸ› οΈ Tips & Troubleshooting

🧩 Common Issues

  • Pets not appearing? Check template map ID and pet event IDs
  • Capture not working? Verify <petBall> tag and range
  • Glitches? Check sprite sizes, animation IDs, and plugin conflicts

<title>🐾 ED5_Pets Lite Version Features</title>

✨ ED5_Pets Lite Version Features

🐢 Single Pet Only

  • 1️⃣ Players can only have one pet at a time
  • 🚫 Must release current pet before getting a new one

βš™οΈ Core Systems Retained

  • πŸ₯š Egg hatching
  • ⚽ Pet capturing
  • πŸ— Hunger system
  • πŸ’– Loyalty system
  • 🌱 Evolution system
  • πŸ“£ Summoning and recalling

πŸ—‘οΈ Removed Features

  • 🏦 No pet bank system
  • πŸŽ’ No pet inventory (only one pet)
  • πŸ”„ No pet swapping or rearranging
  • 🧾 Simplified UI

πŸ§ͺ Simplified Commands

Only the most essential commands are retained with simplified usage:

  • summonPet – πŸ• No parameters needed
  • recallPet – πŸ‘‹ No parameters needed
  • changeLoyalty – πŸ’– Just the amount
  • changeHunger – πŸ— Just the amount

❗ Usage Differences

🏦 No Bank System

  • 🚫 Players can’t store pets
  • πŸ” Must release pet to get another

πŸ”– Simplified Tags

  • βœ… Use the same tags for pets/eggs as the full version
  • 🧼 No need for inventory size tags

πŸ–ΌοΈ Basic UI

  • πŸ“‹ No pet menu scene
  • πŸ•ΉοΈ All interactions via plugin commands

βœ… Why Use the Lite Version?

This version maintains all core pet functionality while being much simpler to implement and manage. Perfect for developers who want pets without the extra management systems.

Updated 2 days ago
StatusReleased
CategoryAssets
AuthorChigooX
Made withRPG Maker
Tagspets, RPG Maker MZ
ContentNo generative AI was used

Purchase

Get this asset pack and 2 more for $10.00 USD
View bundle
Buy Now
On Sale!
10% Off
$10.00 $9.00 USD or more

In order to download this asset pack you must purchase it at or above the minimum price of $9 USD. You will get access to the following files:

ED5_Pets.js 110 kB
ED5_Pets1.1.js 122 kB

Download demo

Download
ED5_Pets_Lite.js 81 kB

Development log

Comments

Log in with itch.io to leave a comment.

Is there any documentation or something for this? Or tutorial? I follow everything in the plug-in text, but can’t get it to work. Even in the demo, the best you can do is get the capture device pop-up to appear, but then nothing else. The events continue to move, but the character is frozen and can’t do anything with the device. What am I missing?

I believe I have a tutorial on my youtube. Let me find it for you

Yes please. And is it all vibe-coded?

No, I would say 30% of it was. This is was made when i first started making plugins. But most of my new stuff is more like 80% and I'm just fixing bugs

(1 edit)

Strike all that…wtf…is it dependent on using the mouse? Not the keyboard?

From the last time I used this plugin it worked and I haven't gotten any complaints so far so I do apologies. I'll work on an update for you. I know I made an update to the plugin but IDK if i released that if I did that might be the cause. But regardless I will fix it for you been meaning to update it anyways with fixes and updates.

Deleted 4 days ago

was using auto complete and asking it for code snippets, but the more I used it the more I realized… ok well this is doing better than me.

I can’t find any notice on any of your plug-ins that mention AI was used to create these. If I had known that, I wouldn’t have bought them. You need to be up front and honest with your customers.

This it? https://www.youtube.com/watch?v=gkb0pDZbsSk&list=PLjzqi-Uj6saXZrCA-vRjPLVbgWfIAM-gM&index=10

also I can help on discord join the server 

I’m already part of too many servers. Can’t you just post the tutorial?

I mean, voice chat to help fix the issue or set it up. But no worries also what version do you have? paid or free?

I paid for it.

ok, no worries give me a few and i'll take a look for you.

I see the issue in my end, I updated the plugin and the name is mismatching I changed it to pets plugin 1.1 instead of just ed5 pets updating now 

Is this compatible with PKD-ABSZ?

no clue, but it is with alpha abs so I don’t think you’ll have an issue