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.
146 lines
1.8 KiB
Plaintext
146 lines
1.8 KiB
Plaintext
//! Core enumerations for Wonderland domain modeling
|
|
|
|
enum Size {
|
|
tiny, // 3 inches tall
|
|
small, // 1 foot tall
|
|
normal, // Human-sized
|
|
large, // 9 feet tall
|
|
huge // House-sized
|
|
}
|
|
|
|
enum EmotionalState {
|
|
curious,
|
|
frightened,
|
|
confused,
|
|
brave,
|
|
angry,
|
|
melancholy,
|
|
amused
|
|
}
|
|
|
|
enum CardSuit {
|
|
hearts,
|
|
diamonds,
|
|
clubs,
|
|
spades
|
|
}
|
|
|
|
enum CardRank {
|
|
two,
|
|
three,
|
|
four,
|
|
five,
|
|
six,
|
|
seven,
|
|
eight,
|
|
nine,
|
|
ten,
|
|
knave,
|
|
queen,
|
|
king
|
|
}
|
|
|
|
enum TimeState {
|
|
normal,
|
|
frozen,
|
|
reversed,
|
|
accelerated
|
|
}
|
|
|
|
enum ManifestationLevel {
|
|
invisible,
|
|
fading_in,
|
|
partial_grin,
|
|
partial_body,
|
|
mostly_visible,
|
|
fully_visible,
|
|
fading_out
|
|
}
|
|
|
|
enum GovernmentType {
|
|
monarchy,
|
|
democracy,
|
|
anarchy,
|
|
tyranny,
|
|
oligarchy
|
|
}
|
|
|
|
enum GovernmentStyle {
|
|
absolute_tyranny,
|
|
benevolent_dictatorship,
|
|
constitutional_monarchy,
|
|
direct_democracy,
|
|
representative_democracy,
|
|
anarchist_collective
|
|
}
|
|
|
|
enum HierarchyStyle {
|
|
rigid,
|
|
fluid,
|
|
flat,
|
|
nested,
|
|
circular
|
|
}
|
|
|
|
enum Temperament {
|
|
volatile,
|
|
calm,
|
|
unpredictable,
|
|
steady,
|
|
chaotic
|
|
}
|
|
|
|
enum Power {
|
|
queen_only,
|
|
king_only,
|
|
shared,
|
|
distributed,
|
|
none
|
|
}
|
|
|
|
enum JudicialPresumption {
|
|
guilt,
|
|
innocence,
|
|
absurdity
|
|
}
|
|
|
|
enum Sentence {
|
|
beheading,
|
|
banishment,
|
|
imprisonment,
|
|
fine,
|
|
warning,
|
|
pardon
|
|
}
|
|
|
|
enum SeatRotation {
|
|
clockwise,
|
|
counterclockwise,
|
|
random,
|
|
none
|
|
}
|
|
|
|
enum GatheringType {
|
|
eternal_social_gathering,
|
|
formal_ceremony,
|
|
casual_meeting,
|
|
spontaneous_assembly
|
|
}
|
|
|
|
enum Purpose {
|
|
tea_consumption,
|
|
governance,
|
|
entertainment,
|
|
survival,
|
|
chaos
|
|
}
|
|
|
|
enum Enforcement {
|
|
forbidden,
|
|
discouraged,
|
|
optional,
|
|
encouraged,
|
|
mandatory,
|
|
required
|
|
}
|