Social Memory System: Pets record player interactions, trust/fear deltas, and location sentiment (safe vs. danger zones) with LRU limits and scheduled snapshots.
Event Timeline: Key moments (battles, celebrations, reinforcing actions) are stored per pet with configurable limits and retention policies.
Reinforcement Learning: Positive/negative feedback and owner preferences now bias the BehaviorEngine, visibly altering AI decisions over time.
Dynamic Personality Evolution: Archetypes evolve based on memory and learning inputs; /pet personality surfaces traits, history, and latest adjustments.
️ Player & Admin Experience
Memories Dashboard: /pet memories UI consolidates social contacts, pinned locations, event log, and direct reinforcement controls.
Command Upgrades: /pet personality, /petadmin debug learning, and enhanced /pet info provide immediate insight into behavioral changes.
Actionable Admin Debug: New /petadmin debug integrations summarises runtime status of ModelEngine/MythicMobs bridges, mappings, and adapters.
External Integrations (Optional)
ModelEngine 4 Adapter: Attaches custom models, emotion-driven animations, and trigger-based states with automatic fallback to vanilla entities.
MythicMobs Adapter: Applies Mythic profiles or triggers configured skills in response to SmartPets events (summon, level-up, feedback signals).
Config-Driven & Safe: Integrations are opt-in, degrade gracefully when dependencies are missing, and expose granular logging categories.
Configuration & Tooling
config.yml now includes integrations.modelengine.models and integrations.mythicmobs.profiles maps for per-type setup of models, animations, mob IDs, and skill triggers.
Sample configuration (per type):
Code (YAML):
integrations:
modelengine:
enable: true
auto-fallback: true
# Gracefully revert to vanilla entities if something fails models:
WOLF:
model-id: "smartpets:wolf_guardian"# ModelEngine asset namespace:id idle-state: "idle"# Looping state when calm walk-state: "walk"# State while following the owner emotion-animations:
HAPPY: "tail_wag"# Emotion → animation mapping ANGRY: "battle_ready" SCARED: "cower" trigger-animations:
summon: "summon_pop"# Triggered after SmartPets spawns the pet event.levelup: "celebrate"# Triggered on level-up feedback.feeding_success: "eat_treat"# Triggered after positive feeding feedback mythicmobs:
enable: true
profiles:
WOLF:
mob-id: "SmartPetsGuardian"# MythicMob ID defined in MythicMobs configs mob-level: 10.0
# Optional level value passed to MythicMobs apply-to-entity: true
# Replace vanilla AI/attributes with Mythic profile trigger-skills:
summon: "SP_GuardianSpawn"# Activates the custom spawn skill event.levelup: "SP_GuardianCelebrate"# Celebratory ability on level-up feedback.petting_happy: "SP_GuardianPurr"# Fired when the owner pets the companion
README features integration quick-start and release verification checklists (diagnostics, bStats monitoring, fallback advice).
All new debug outputs are fully localised via lang.yml, ensuring translation completeness.