Files
storybook/examples/baker-family/characters/jane.sb
Sienna Meridian Satterwhite b042f81aeb 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
2026-02-14 15:54:43 +00:00

44 lines
1.2 KiB
Plaintext

//! Jane - Pastry specialist and Martha's wife
//!
//! Demonstrates:
//! - Another character using the same Baker template
//! - Different field values showcasing template flexibility
//! - Resource inheritance working across multiple characters
use schema::templates::Baker;
character Jane from Baker {
// Personal details
age: 36
// Baker-specific traits
specialty: "pastries"
baking_skill: 0.85
customer_relations: 0.80
skill_tier: Journeyman
// General traits
energy: 0.75
mood: 0.85
// Work ethic
work_ethic: 0.90
occupation: "pastry chef"
---backstory
Jane trained at a culinary school in the capital before returning
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.
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.
---
}
// Note: Jane also inherits:
// - All behaviors from Baker template chain
// - BakerSchedule (same early mornings as Martha)
// - All fields with ranges have specific values