ED5 Pets Plugin
๐พ 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
โ๏ธ 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
