To understand how they work, we must distinguish between the two origins of these codes.
The confusion stems from two specific features in the game's history:
Currently (2024/2025 builds), these exploits have been patched.
The syntax for using a pet code is tied to the game's broader Wish system.
This is where the system becomes uniquely "Qud." The game generates history dynamically. When you perform the Water Ritual with a legendary character (like a Pariah, a legendary warrior, or a village elder), you are tapping into their psychic imprint.
No. There are no official "pet codes" or "console commands" that function like cheat codes in Pokémon or GTA to spawn exclusive vanity pets in the base version of Caves of Qud.
However, there is significant nuance. While universal "press X for dog" codes do not exist, players frequently confuse three separate mechanics:
Let’s break down why you are seeing searches for "pet codes" and how to actually get a permanent companion.