Files
storybook/examples/baker-family/relationships/family_relationships.sb
Sienna Meridian Satterwhite abd54e4c33 feat(examples): rewrite baker-family as coherent Competition Week narrative
Rewrote the baker-family example around a unified story: the annual Harvest
Baking Competition is Saturday. Martha's sourdough starter Old Maggie is
sluggish from a cold snap, Jane is secretly entering the FreeStyle category,
Emma's science fair project is "The Chemistry of Fermentation", Henry is
judging for the first time and worried about impartiality, and Roland is
defending last year's title.

The week's schedules (Mon guild meeting → Tue test bakes → Wed sourcing →
Thu dough prep → Fri science fair → Sat competition → Sun recovery) are
now fully populated with narrative-specific actions.

Files split for composability:
- behaviors/baker_behaviors.sb → 5 focused files by character/domain
- schema/types.sb → 4 files (core, baking, world, social)
- schedules/work_schedules.sb → 4 files (one per schedule)
- relationships/baker_family_relationships.sb → family + bakery

Strong typing: replaced all enumerable string fields with concepts
(BakerSpecialty, Occupation, LocationType, InstitutionType, ParentingStyle,
Intensity, BakeryDomain, BakingDiscipline, ManagementDomain,
CompetitiveAdvantage).

Remove new-syntax-demo.sb (superseded by baker-family example).
2026-02-23 21:51:01 +00:00

44 lines
885 B
Plaintext

//! Family relationships — marriage and parent/child bonds
// Marriage between Martha and Jane
relationship Marriage {
Martha as wife {
commitment: 0.95
role_in_bakery: BusinessAndBread
}
Jane as wife {
commitment: 0.95
role_in_bakery: PastriesAndCakes
}
years_together: 14
relationship_quality: 0.90
}
// Martha and Emma - parent/child
relationship ParentChild_MarthaEmma {
Martha as parent {
parenting_style: Encouraging
teaches: BakingFundamentals
}
Emma as child {
admiration: 0.9
learns_from: BakingScience
}
}
// Jane and Emma - parent/child
relationship ParentChild_JaneEmma {
Jane as parent {
parenting_style: Creative
teaches: PastryDecoration
}
Emma as child {
admiration: 0.85
learns_from: ArtisticExpression
}
}