Pet Activities
Addon module for Pet Shop. Adds interactive activities with your pet: Hide and Seek mini-game (find hiding pet, costs forest turns), random forest events (pet finds food/toys), automatic pet commentary in village/locations, custom pet messages during battles/newday/gardens/inn. Requires hunger and attention stats from Pet Shop.
Hide and Seek Game
How It Works:
- While in forest, choose "Play Hide and Seek" (requires petturns > 0)
- Pet hides in random location (gardens, stables, gypsy, inn, village)
- Location stored in hidelocation pref
- You must go to that location and "find" your pet
- Costs 1 forest turn to play
Finding Your Pet:
- Visit different locations until you find hiding pet
- If you return to forest before finding pet, pet emerges automatically (annoyed)
- At newday, pet returns automatically if still hiding
Random Forest Events
Pet Finds Food (50% chance when event triggers):
- Pet darts into bush, emerges with food packet
- If inventory space (petfood < maxfood): Add food to inventory
- If no space: Pet devours food (+50 hunger)
Pet Finds Toy (50% chance):
- Pet finds beat-up old toy
- If inventory space (pettoys < maxtoys): Add toy to inventory, +100 attention
- If no space: Pretend to keep toy, secretly kick it aside
Event Weight: 50 (moderately common forest event)
Pet Commentary (Village)
If allowcomments = 1 and in correct location, pet randomly posts commentary:
7 Random Commentary Types:
- "laughs as [pet] growls at [random player]"
- "chuckles as [pet] bites [random player]"
- "comments that [pet] is better looking than [random player]"
- "brags about owning a [pet type]"
- "is bored and sics [pet] on [random player]"
- "says [random player] just stepped in [pet type] poop"
- "sneaks up on [random player] and scares them with [pet]"
Automatically posted to village commentary with random player selected as "victim".
Pet Messages in Different Contexts
Battle Messages:
- Dragon fight: "[Pet] seems visibly nervous at the sight of the Dark Lord!"
- PVP: "[Pet] waits to one side while you do battle with a fellow warrior."
- Graveyard: "[Pet] seems paralyzed at the sight of the undead fiend before you."
- Forest: Custom battlemsg from pet database
Newday Message: Custom newdaymsg from pet database
Village Messages (random 1-3):
- Custom villagemsg from database
- "[Pet] looks about in a state of boredom."
- "Students give [Pet] a smile as they pass on by."
Gardens Messages (random 1-5):
- "[Pet] plays among the flowers."
- "[Pet] tries to chase down a fairy but fails!"
- "[Pet] makes a meal out of a poor fairy!"
- "Your pet flushes out a small white rabbit from the flower patches and gives chase."
- Custom gardenmsg from database
Inn Messages (random 1-3):
- "[Pet] seems somewhat unnerved by all the noise."
- "[Pet] eats something off the dirty floor."
- "[Pet] draws a few bemused glances from the patrons and [lover]." (20% chance: +1 charm!)
Forest Messages (random 1-3):
- "[Pet] looks about the forest with some apprehension."
- "[Pet] seems to hear something in the distance."
- "[Pet] takes off to a nearby bush for a bathroom break."
Pet Stats Warnings
Village Descriptions:
- If hunger < 100: "Attention! Your pet is starving!" + quick-feed link
- If attention < 50 (and not starving): "[Pet] is looking bored. Maybe you should play with them or buy toys?"
- Otherwise: Random pet message or boredom message
Requirements
- Pet Shop module
- Pet Editor module
- Must own a pet (haspet = 1)
Strategy
Hide and Seek: Only play if you have spare forest turns and want to interact with pet. No mechanical benefit.
Forest Events: Free food/toys when they trigger. Always beneficial.
Commentary: Passive system, no player action needed. Adds flavor to village.
Inn Charm Bonus: 20% chance of +1 charm when pet draws glances at inn. Visit inn regularly if you want charm boosts.
Pet Maintenance: Keep pet fed (hunger > 100) and entertained (attention > 50) to avoid starvation warnings.
Pet Activities: where your magical companion plays hide-and-seek, finds random garbage in the forest that you pretend is treasure, and posts embarrassing commentary about other players stepping in its poop. Truly enriching gameplay.