42 lines
597 B
Plaintext
42 lines
597 B
Plaintext
|
|
// Test file for Zed Storybook extension
|
||
|
|
|
||
|
|
use schema::core::TestType;
|
||
|
|
|
||
|
|
character TestCharacter: Human {
|
||
|
|
name: "Test"
|
||
|
|
age: 25
|
||
|
|
active: true
|
||
|
|
|
||
|
|
---backstory
|
||
|
|
This is a **test character** with some markdown:
|
||
|
|
- Item 1
|
||
|
|
- Item 2
|
||
|
|
|
||
|
|
*Italic text* for testing.
|
||
|
|
---
|
||
|
|
}
|
||
|
|
|
||
|
|
template TestTemplate {
|
||
|
|
field1: "value"
|
||
|
|
field2: 42
|
||
|
|
}
|
||
|
|
|
||
|
|
relationship TestRelationship {
|
||
|
|
TestCharacter {
|
||
|
|
role: "primary"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
life_arc TestArc {
|
||
|
|
state initial {
|
||
|
|
on enter {
|
||
|
|
status: "active"
|
||
|
|
}
|
||
|
|
|
||
|
|
on age > 21 -> adult
|
||
|
|
}
|
||
|
|
|
||
|
|
state adult {
|
||
|
|
}
|
||
|
|
}
|