User Tools

Site Tools


rpd:pet

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

rpd:pet [2025/12/20 20:33] – Create pet.txt page to document pet mechanics mikerpd:pet [2025/12/20 20:39] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Pet ======
  
 +==== Description ====
 +A pet in Remixed Pixel Dungeon is a mob that has been converted to fight alongside the player. Pets behave similarly to regular mobs but are friendly to the player and will attack enemies.
 +
 +==== Mechanics ====
 +  * Pets follow the player around the dungeon
 +  * Pets will attack enemies that come into range
 +  * Pets have the same stats and abilities as their original mob form
 +  * Pets do not take up inventory space
 +  * Pets remain in the dungeon when the player teleports away or ascends/descends stairs
 +
 +==== Creation ====
 +Pets can be created through various means:
 +  * Using the [[rpd:sacrificial_sword|Sacrificial Sword]] to convert enemies
 +  * Using spells like [[rpd:summon_beast_spell|Summon Beast]]
 +  * Through specific items or level mechanisms
 +
 +==== Behavior ====
 +  * Pets will prioritize attacking enemies over following the player
 +  * Pets are affected by area of effect attacks (AOE)
 +  * Pets can die if their HP reaches zero
 +  * Pets cannot be directly controlled by the player
 +
 +==== Limitations ====
 +  * Bosses cannot be converted to pets
 +  * NPCs cannot be converted to pets
 +  * Some special enemies cannot become pets
 +  * The player can only have a limited number of pets at once
 +
 +==== Related ====
 +  * [[rpd:sacrificial_sword|Sacrificial Sword]] - Weapon that can create pets
 +  * [[rpd:summon_beast_spell|Summon Beast Spell]] - Spell that creates temporary pets
 +  * [[rpd:mobs|Mobs]] - Information about enemy creatures that can become pets
 +
 +==== Source Code ====
 +  * Pet creation: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/mobs/Mob.java#L442-L448|Mob.makePet()]]
 +  * General Mob class: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/mobs/Mob.java|Mob.java]]
 +
 +{{tag> rpd mechanics mobs}}
rpd/pet.txt · Last modified: by 127.0.0.1