Files
storybook/examples/alice-in-wonderland/schema/beings.sb
Sienna Meridian Satterwhite ae5e9fdcd8 docs: add Alice in Wonderland example storybook
Add comprehensive example demonstrating all major features of the
Storybook DSL through Lewis Carroll's Alice in Wonderland.

Contents:
- 12 characters (Alice, WhiteRabbit, CheshireCat, MadHatter, etc.)
- 7 relationships with named participant blocks
- 3 institutions (tea parties, royal court)
- 1 schedule (Mad Tea Party eternal rotation)
- 12 behavior trees using new syntax features
- 1 life arc (Alice's journey)

Demonstrates:
- Cross-file template resolution (schema/templates.sb)
- Template inheritance and includes
- Strict template validation
- Action parameters and repeater decorators
- Named participant relationship blocks
- Species-based character typing
- Rich prose blocks throughout

All content validates successfully.
2026-02-08 15:46:52 +00:00

74 lines
1.7 KiB
Plaintext

//! Species definitions for Wonderland inhabitants
species Human {
lifespan: 70
---description
Visitors from the normal world above. Rare in Wonderland.
Subject to size-changing effects of local flora.
---
}
species Rabbit {
lifespan: 10
---description
Wonderland rabbits often wear waistcoats, carry pocket watches,
and exhibit extreme punctuality anxiety. May be anthropomorphic.
---
}
species Cat {
lifespan: 15
---description
Cheshire variety can vanish at will, leaving only a grin.
Ordinary cats (like Dinah) remain in the world above.
---
}
species Hare {
lifespan: 8
---description
March Hares display heightened madness, especially during
breeding season. Often found at eternal tea parties.
---
}
species Dormouse {
lifespan: 5
---description
Extremely somnolent. Can sleep through tea parties, pinching,
and being used as a cushion. Occasionally recites tales in sleep.
---
}
species Caterpillar {
lifespan: 1
---description
Large, blue, hookah-smoking variety. Philosophically inclined.
Offers cryptic advice about size-changing mushrooms.
---
}
species PlayingCardPerson {
lifespan: 100
---description
Animated playing cards forming the Court of Hearts hierarchy.
Flat, rectangular bodies. Gardeners, soldiers, and royalty.
---
}
species Flamingo {
lifespan: 40
---description
Unwilling participants in croquet as live mallets.
Tendency to look back at player with puzzled expressions.
---
}
species Hedgehog {
lifespan: 6
---description
Pressed into service as croquet balls. Frequently unroll
and wander away mid-game, frustrating players.
---
}