feat(examples): expand baker-family with relationships and world context

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
This commit is contained in:
2026-02-14 15:49:17 +00:00
parent 45fd3b52cb
commit b042f81aeb
13 changed files with 427 additions and 42 deletions

View File

@@ -20,16 +20,17 @@ character Emma from Child {
mood: 0.85
---backstory
Emma is the bright, energetic daughter of Martha and John. She loves
Emma is the bright, energetic daughter of Martha and Jane. She loves
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
asks her parents endless questions about why dough rises, how yeast
asks her mothers endless questions about why dough rises, how yeast
works, and what makes bread crusty.
At school, she excels in science and math, and dreams of one day
creating her own innovative recipes. For now, she's content to help
package goods and chat with the regular customers who've watched her
grow up.
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.
---
}

View File

@@ -0,0 +1,29 @@
//! Henry - Loyal customer and retired teacher
//!
//! Demonstrates:
//! - Non-family character in the community
//! - Minimal template usage (Person, no work schedule)
//! - Community connection through the bakery
use schema::templates::Person;
character Henry from Person {
// Personal details
age: 68
// General traits
energy: 0.5
mood: 0.75
---backstory
Henry taught history at the local school for over forty years before
retiring. He has been a daily customer at the bakery since Martha
first opened its doors. Every morning at precisely seven o'clock,
he arrives for a sourdough loaf and a chat.
He watched Emma grow up and occasionally helps her with her homework
when he stops by. The bakery is his anchor to the community now that
he no longer teaches. Martha always sets aside his favorite loaf,
and Jane saves him a croissant on Saturdays.
---
}

View File

@@ -15,6 +15,7 @@ character Jane from Baker {
specialty: "pastries"
baking_skill: 0.85
customer_relations: 0.80
skill_tier: Journeyman
// General traits
energy: 0.75
@@ -26,13 +27,13 @@ character Jane from Baker {
---backstory
Jane trained at a culinary school in the capital before returning
to his hometown and meeting Martha. His specialty is delicate
to her hometown and meeting Martha. Her specialty is delicate
pastries and elaborate wedding cakes. While Martha handles the
bread and business, Jane focuses on the artistic creations that
draw customers from neighboring towns.
He's more of a night owl by nature, but has adapted to the baker's
early schedule over the years. His croissants are legendary.
She is more of a night owl by nature, but has adapted to the baker's
early schedule over the years. Her croissants are legendary.
---
}

View File

@@ -15,6 +15,7 @@ character Martha from Baker {
specialty: "sourdough"
baking_skill: 0.9
customer_relations: 0.95
skill_tier: Master
// General traits (inherited from Person template)
energy: 0.7

View File

@@ -0,0 +1,40 @@
//! Roland - Competing baker from the next town
//!
//! Demonstrates:
//! - Rival/competitor character
//! - Same template (Baker) with different values
//! - Concept comparison usage with skill_tier
use schema::templates::Baker;
character Roland from Baker {
// Personal details
age: 42
// Baker-specific traits
specialty: "rye bread"
baking_skill: 0.75
customer_relations: 0.60
skill_tier: Journeyman
// General traits
energy: 0.80
mood: 0.65
// Work ethic
work_ethic: 0.80
occupation: "baker"
---backstory
Roland runs a bakery in the neighboring town. He learned baking from
his father and considers himself the rightful best baker in the region.
His rye bread is excellent, but he lacks Martha's warmth with customers
and Jane's artistic flair.
He sees Martha's bakery as his chief competition and often tries to
undercut her prices at the market. Despite the rivalry, there is a
grudging respect between them. Roland once admitted, after too much
ale at the harvest festival, that Martha's sourdough was better than
his own.
---
}