Added comprehensive v0.3.0 feature demonstration: Characters (5 total): - Martha & Jane (married lesbian couple, co-owners of bakery) - Emma (their daughter, apprentice baker) - Henry (loyal customer, retired teacher) - Roland (competing baker) New declarations: - 6 relationships with asymmetric perspectives (Marriage, ParentChild×2, BusinessPartnership, CustomerRelationship, Competition) - Locations with prose (MarthasBakery, MainStreet) - Institution (BakersGuild) - Life arcs (MarriageQuality, BusinessGrowth) Features demonstrated: - Concept comparison usage (skill_tier: Master/Journeyman) - Life arc applied to relationship - Asymmetric participant perspectives - Family coherence across files
45 lines
1.4 KiB
Plaintext
45 lines
1.4 KiB
Plaintext
//! Martha - Master baker and family matriarch
|
|
//!
|
|
//! Demonstrates:
|
|
//! - Character inheriting from template with resources
|
|
//! - Template provides both behaviors and schedule
|
|
//! - Field overrides from template
|
|
|
|
use schema::templates::Baker;
|
|
|
|
character Martha from Baker {
|
|
// Personal details
|
|
age: 34
|
|
|
|
// Baker-specific traits
|
|
specialty: "sourdough"
|
|
baking_skill: 0.9
|
|
customer_relations: 0.95
|
|
skill_tier: Master
|
|
|
|
// General traits (inherited from Person template)
|
|
energy: 0.7
|
|
mood: 0.8
|
|
|
|
// Work ethic (from Worker template)
|
|
work_ethic: 0.95
|
|
occupation: "master baker"
|
|
|
|
---backstory
|
|
Martha learned to bake from her grandmother and has perfected
|
|
the art of sourdough over fifteen years. She wakes at 4 AM every
|
|
day to prepare the morning bread, and her bakery is known throughout
|
|
the region for its exceptional quality.
|
|
|
|
She manages the business side as well, keeping meticulous records
|
|
and maintaining warm relationships with all her customers. The bakery
|
|
is not just a shop - it's the heart of the community.
|
|
---
|
|
}
|
|
|
|
// Note: Martha inherits from Baker template which:
|
|
// - uses behaviors: BakingSkills, CustomerService (from Baker)
|
|
// - uses behaviors: BasicNeeds, SocialInteraction (from Person via Worker)
|
|
// - uses schedule: BakerSchedule (from Baker)
|
|
// - uses schedule: WorkWeek (base for BakerSchedule)
|