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).
33 lines
1.2 KiB
Plaintext
33 lines
1.2 KiB
Plaintext
//! Baker's Guild institution
|
|
//!
|
|
//! Demonstrates:
|
|
//! - Institution declaration with fields
|
|
//! - Organizational structure for the baking trade
|
|
//! - Connection to characters through membership
|
|
|
|
institution BakersGuild {
|
|
type: TradeGuild
|
|
founded: 1823
|
|
members: 12
|
|
meeting_day: "first Monday"
|
|
|
|
---description
|
|
The regional Baker's Guild oversees standards and practices for all
|
|
bakers in the area. Martha is a senior member and has served on the
|
|
quality committee for five years. Roland is also a member, though
|
|
he frequently clashes with Martha over proposed changes to the
|
|
guild's standards.
|
|
|
|
The guild organizes the annual Harvest Baking Competition — this
|
|
year marks the forty-seventh. Competitors enter in three categories:
|
|
Signature, FreeStyle, and Traditional. The guild meets monthly at
|
|
the town hall to discuss flour prices, apprenticeship standards, and
|
|
preparations for the competition.
|
|
|
|
This year, the guild invited Henry to join the judging panel, citing
|
|
his deep knowledge of the competition's history. It is the first time
|
|
a non-baker has been asked to judge, and it raised a few eyebrows —
|
|
Roland's among them.
|
|
---
|
|
}
|