MZ How to implement a pet system? (Tamagotchi/Neopets-like(?))

I was wondering if there is any way to implement a pet system into the game.
I want it to be just for "decoration-only" since all the ones I could find were for battle only.
I also want to try and implement it in a "virtual pet/Tamagotchi-like" sort of style(?)
(Sorry if it was worded confusingly...)
Further explination is below.

Here is a screenshot of what I have so far of the system.
1000500518.jpg

This can only be viewed/active when the player is in the [My Room] map.
Up to 2 pets can be put in the room at the same time, but can be swapped out with other pets the player has in reserve.
There will also be an option to give the pet a nickname upon first obtaining them. (Not shown in picture.) <- Not sure if this is possible though.

The pet has three statuses that can be viewed. (Hunger / Tiredness / Affection)
[Hunger] Down <- Hungry / Up -> Full | [Tiredness] Down <- Tired / Up -> Energetic | [Affection] Down <- Less affectionate / Up -> More affectionate
Stats will decrease over time.
There are 4 types of actions shown here:
Feed: Feed your pet various foods. (labeled as pet-only items.)
There are two types of pet-only foods, Standard (Increases "Hunger" stat [Up -> Full]), and Treat (Slightly increases "Hunger" and "Affection" stats)
Nap: Simply put, the pet takes a nap. (Increases "Tiredness" stat. [Up -> Energetic])
Play: Play with your pet. Haven't decided on what options to put for these yet... (Increases "Affection" stat, but also slightly decreases "Hunger" and "Tiredness" stats.)
Swap Pets: Swap with another pet that is in reserve. (The pet's statuses will be paused when in reserve.)

I just want to know if a system like this is possible by any chance...
the answer completely depends on what features you want that pet system to have.

if you describe a feature we can tell you if that is possible or how to do this.

but we can't answer the question without knowing what exactly you want.
the answer completely depends on what features you want that pet system to have.

if you describe a feature we can tell you if that is possible or how to do this.

but we can't answer the question without knowing what exactly you want.
Sorry... The post should be updated with further clarifications.
I still don't think that is enough information. You'll need to provide an explanation for what systems you want and how you expect them to work.

Broadly speaking, a "pet" is just going to be an event. To track things you'd just use variables, such as a pets hunger, affection needs, etc each being a separate variable.
If the player can only have 1 pet ever, then it's pretty simple to track using what I described above. But as you increase the number of possible pets, you may reach a point where you'd likely want something like an array to track multiple pets, which would likely require some script knowledge or a plugin.
I was wondering if there is any way to implement a pet system into the game.
I want it to be just for "decoration-only" since all the ones I could find were for battle only.
I also want to try and implement it in a "virtual pet/Tamagotchi-like" sort of style(?)
(Sorry if it was worded confusingly...)
Here's more of a further clarification w/screenshots. (Credit to whtdragon for the pet sprite.)
bandicam 2026-04-21 11-09-24-275.jpg

This can only be viewed when the player is in the [My Room] map.
Up to 2 pets can be put in the room at the same time, but can be swapped out with other pets the player has.
The pet has three statuses that can be viewed. (Hunger / Tiredness / Affection)
I think the rest of the screenshot can explain the rest. (Sorry if it still confusing for some.)
still incomplete, although much better than previously.

we were asking for what the player should be able to do with the pat (which can be seen on the screenshot) and what should happen on any of those commands (which isn't mentioned anywhere yet)

we can tell you now that this is done best by pure events, it has nothing to do with any of the various pet plugins available, those all have other intentions like including the pet in the caterpillar without making it a full actor and so on.

so for the above you basically make a pet event that on interaction displays the text window and lists show choices, and have each choice change what you intend to happen when that command is given.
Here's more of a further clarification w/screenshots. (Credit to whtdragon for the pet sprite.)
View attachment 364810
This can only be viewed when the player is in the [My Room] map.
Up to 2 pets can be put in the room at the same time, but can be swapped out with other pets the player has.
The pet has three statuses that can be viewed. (Hunger / Tiredness / Affection)
I think the rest of the screenshot can explain the rest. (Sorry if it still confusing for some.)
| More info |
[Hunger] Down <- Hungry / Up -> Full
[Tiredness] Down <- Tired / Up -> Energetic
[Affection] Down <- Less affectionate / Up -> More affectionate
Stats will decrease over time.

There will also be an option to give the pet a nickname upon first obtaining them. (Not shown)

Feed: Feed your pet various foods. (labeled as pet-only items.)
There are two types of pet-only foods, Standard (Increases "Hunger" stat [Up -> Full]), and Treat (Slightly increases "Hunger" and "Affection" stats)
Nap: Simply put, the pet takes a nap. (Increases "Tiredness" stat. [Up -> Energetic])
Play: Play with your pet. Haven't decided on what options to put for these yet... (Increases "Affection" stat, but also slightly decreases "Hunger" and "Tiredness" stats.)
Pet [Not shown]: Pet your pet. [because why not? 🙂] (Slightly increases "Affection" stat. May also give something extra depending on the current pet.)
Swap Pets: Swap with another pet that is in reserve.
I was wondering if there is any way to implement a pet system into the game.
I want it to be just for "decoration-only" since all the ones I could find were for battle only.
I also want to try and implement it in a "virtual pet/Tamagotchi-like" sort of style(?)
(Sorry if it was worded confusingly...)

Here's more of a further clarification w/screenshots. (Credit to whtdragon for the pet sprite.)
View attachment 364810
This can only be viewed when the player is in the [My Room] map.
Up to 2 pets can be put in the room at the same time, but can be swapped out with other pets the player has.
The pet has three statuses that can be viewed. (Hunger / Tiredness / Affection)
I think the rest of the screenshot can explain the rest. (Sorry if it still confusing for some.)
updated it with more info.
that is actually super doable, but it depends if you want to use plugins and your eventing/coding experience level.
I will give an example using only variables of how I would do the number of pets and stats decrease:
the pets are set, but you can get them at any order, so we have 5 dogs, we will track their stats in variables, dog 1 goes in variable 10-13, 10 will hold the name, 11-13 will track the stats. the same for the other dogs, dog 2 variable 14 etc
then you use a variable to track wich dog you have (you mentioned wanting 2 pets so you can just use 2 trackers), lets say var 9, when you select "switch pet" you also switch var 9.
then in a common event you add a wait, lets say 5 seconds, and decreases 1 of each stat, comparing the variables: if var 9 is equal 10 (dog 1) then decreases by 1 variable 11, 12 and 13.
when using the action you increase how much you want.
(this is the easiest and most basic way I can think of)

If you can implement this then the other parts will be easy too, nothing you described is difficult to do, you just need to test things and see what works.
that is actually super doable, but it depends if you want to use plugins and your eventing/coding experience level.
I will give an example using only variables of how I would do the number of pets and stats decrease:
the pets are set, but you can get them at any order, so we have 5 dogs, we will track their stats in variables, dog 1 goes in variable 10-13, 10 will hold the name, 11-13 will track the stats. the same for the other dogs, dog 2 variable 14 etc
then you use a variable to track wich dog you have (you mentioned wanting 2 pets so you can just use 2 trackers), lets say var 9, when you select "switch pet" you also switch var 9.
then in a common event you add a wait, lets say 5 seconds, and decreases 1 of each stat, comparing the variables: if var 9 is equal 10 (dog 1) then decreases by 1 variable 11, 12 and 13.
when using the action you increase how much you want.
(this is the easiest and most basic way I can think of)

If you can implement this then the other parts will be easy too, nothing you described is difficult to do, you just need to test things and see what works.
This looks easy enough to do.
But there is one problem since the "Name Input" command only applies to actors and can not be attached to a variable.
But there is one problem since the "Name Input" command only applies to actors and can not be attached to a variable.
but you can use an actor that is not used anywhere else as a placeholder for the pet name
This looks easy enough to do.
But there is one problem since the "Name Input" command only applies to actors and can not be attached to a variable.
correct, but always think onwards! define a name for a actor, then attach it to a variable:

$gameVariables.setValue(namevariable, $gameActors.actor(1).name());

you only need one placeholder actor for all the names
correct, but always think onwards! define a name for a actor, then attach it to a variable:

$gameVariables.setValue(namevariable, $gameActors.actor(1).name());

you only need one placeholder actor for all the names
I see. But wouldn't there be an issue where changing the name for one pet will affect both?
I see. But wouldn't there be an issue where changing the name for one pet will affect both?
nope! the pets names are kept in the variables, so actor 1 name -> pet 1 (variable 10), new actor 1 name -> pet 2( variable 14), pet 1 still keeps the name as the actor name doesn't interfere anymore
I tried to test it out myself, but for some reason, the event on Action Button does not work.
Is there any way to fix this?

bandicam 2026-04-22 16-36-29-230.jpg
bandicam 2026-04-22 16-36-14-461.jpg
bandicam 2026-04-22 16-36-17-144.jpg

bandicam 2026-04-22 16-41-34-872.jpg
wow great job on the event setup, but the second page shouldnt exist, the common event has to run in paralel, activated by a switch

also for the name, will you use one actor for each? because that can work just fine too, but then you don't need the script to set a variable name
wow great job on the event setup, but the second page shouldnt exist, the common event has to run in paralel, activated by a switch

also for the name, will you use one actor for each? because that can work just fine too, but then you don't need the script to set a variable name
Thanks. It wasn't specified anywhere in your reply, so that's the reason why it was initially put here.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-implement-a-pet-system-tamagotchi-neopets-like.183318/