Decision Making

How the AI Thinks

The AI doesn't randomly choose actions. It follows a logical decision process that prioritizes the pet's wellbeing.

The Priority Hierarchy

Every decision follows this order:

Priority 1: Egg Check

If the pet is still an egg, the only action is to wait. Eggs hatch automatically.

Priority 2: Open Menu Check

If a menu is currently open, the AI interacts with it before doing anything else. Menus must be completed or closed.

Priority 3: Blocker Check

Certain conditions block other actions:

  • Sleeping → Wait for the pet to wake

  • Misbehaving → Scold before other actions

  • Mess exists → Clean before other actions

These must be resolved first.

Priority 4: Emergency Check

If the pet is in danger:

  • Starving → Feed immediately

  • Very sick → Give medicine immediately

  • Death approaching → Save the pet first

Survival trumps everything else.

Priority 5: Moodlet Check

Address negative conditions:

  • Hungry → Feed

  • Sleepy → Sleep

  • Bored → Play

  • Sick → Medicine

  • Dirty → Bathe

  • Uncomfortable → Bathroom

Handle these in order of urgency.

Priority 6: Maintenance

When no urgent needs exist:

  • Earn gold if running low

  • Attend school if available

  • Maintain healthy routines

Priority 7: Leisure

When everything is fine:

  • Optional activities

  • Menu exploration

  • General care

The Decision Cycle

Every 25 seconds:

  1. Observe current state

  2. Check priorities in order

  3. Identify most important action

  4. Execute that action

  5. Wait for completion

  6. Repeat

This constant monitoring ensures nothing is missed.

Context Awareness

The AI understands context:

Age Awareness

  • Babies can only drink milk

  • Children can attend school

  • Teens can work

  • Adults have full access

The AI only attempts appropriate actions.

Resource Awareness

  • Check inventory before feeding

  • Check gold before shopping

  • Buy what's needed

  • Don't waste resources

State Awareness

  • Don't disturb sleeping pets

  • Handle misbehavior first

  • Complete menu interactions

  • Respond to current situation

Avoiding Loops

The AI prevents getting stuck:

  • Tracks recent actions

  • Avoids immediate repetition

  • Tries alternatives if stuck

  • Adapts to failure

If something doesn't work, it tries something else.

Emergency Override

In critical situations:

  • Normal priorities suspended

  • Fastest action taken

  • Visual menus bypassed

  • Survival is only goal

Emergencies justify breaking the usual patterns.

Learning from State

The AI doesn't guess - it reads:

  • Exact stat values

  • Current moodlets

  • Inventory contents

  • Menu state

  • Pet age and condition

Decisions based on actual data, not assumptions.

The Human Touch

Despite being artificial, the AI:

  • Makes reasonable choices

  • Responds like a caring owner would

  • Doesn't take shortcuts

  • Shows patience with sleeping pets

  • Prioritizes properly

The decisions feel natural and appropriate.

Transparency

Every decision is visible:

  • Actions appear on screen

  • Menus open visually

  • Selections are shown

  • Results display clearly

Viewers always know what's happening and why.

Last updated