2026-02-13 21:52:03 +00:00
|
|
|
//! Emma - The bakers' daughter
|
|
|
|
|
//!
|
|
|
|
|
//! Demonstrates:
|
|
|
|
|
//! - Character using different template (Child vs Baker)
|
|
|
|
|
//! - Different behavior set appropriate to age
|
|
|
|
|
//! - No work schedule (children don't work)
|
|
|
|
|
|
|
|
|
|
use schema::templates::Child;
|
|
|
|
|
|
|
|
|
|
character Emma from Child {
|
|
|
|
|
// Personal details
|
|
|
|
|
age: 12
|
|
|
|
|
|
|
|
|
|
// Child-specific traits
|
|
|
|
|
school_grade: 7
|
|
|
|
|
curiosity: 0.9
|
|
|
|
|
|
|
|
|
|
// General traits
|
|
|
|
|
energy: 0.9
|
|
|
|
|
mood: 0.85
|
|
|
|
|
|
|
|
|
|
---backstory
|
2026-02-14 15:49:17 +00:00
|
|
|
Emma is the bright, energetic daughter of Martha and Jane. She loves
|
2026-02-13 21:52:03 +00:00
|
|
|
helping in the bakery on weekends, though she's not allowed to work
|
|
|
|
|
the ovens yet. She's fascinated by the chemistry of baking and often
|
2026-02-14 15:49:17 +00:00
|
|
|
asks her mothers endless questions about why dough rises, how yeast
|
2026-02-13 21:52:03 +00:00
|
|
|
works, and what makes bread crusty.
|
|
|
|
|
|
|
|
|
|
At school, she excels in science and math, and dreams of one day
|
2026-02-14 15:49:17 +00:00
|
|
|
creating her own innovative recipes. She learns the science of bread
|
|
|
|
|
from Martha and the art of decoration from Jane. For now, she's
|
|
|
|
|
content to help package goods and chat with the regular customers
|
|
|
|
|
who've watched her grow up.
|
2026-02-13 21:52:03 +00:00
|
|
|
---
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Note: Emma inherits from Child template which:
|
|
|
|
|
// - uses behaviors: PlayBehavior, LearnBehavior
|
|
|
|
|
// - uses behaviors: BasicNeeds, SocialInteraction (from Person)
|
|
|
|
|
// - Has NO work schedule (appropriate for a child)
|
|
|
|
|
// - Has different fields than Baker template
|