1 | namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0"
|
---|
2 |
|
---|
3 | start = Terrains
|
---|
4 |
|
---|
5 | Terrains = element Terrains {
|
---|
6 | Terrain
|
---|
7 | }
|
---|
8 |
|
---|
9 | Terrain = element Terrain {
|
---|
10 | Passable*,
|
---|
11 | Doodad*,
|
---|
12 | Event*,
|
---|
13 |
|
---|
14 | attribute mmap { text }?,
|
---|
15 | [ a:defaultValue = "" ]
|
---|
16 | attribute groups { text }?,
|
---|
17 | [ a:defaultValue = "" ]
|
---|
18 | attribute properties { text }?
|
---|
19 | }
|
---|
20 |
|
---|
21 | Passable = element Passable {
|
---|
22 | attribute type { text },
|
---|
23 | [ a:defaultValue = "100" ]
|
---|
24 | attribute speed { text }?,
|
---|
25 | [ a:defaultValue = "" ]
|
---|
26 | attribute effect { text }?
|
---|
27 | }
|
---|
28 |
|
---|
29 | Doodad = element Doodad {
|
---|
30 | attribute name { text },
|
---|
31 | attribute max { text }
|
---|
32 | }
|
---|
33 |
|
---|
34 | Event = element Event {
|
---|
35 | text,
|
---|
36 |
|
---|
37 | attribute on { text }
|
---|
38 | }
|
---|
39 |
|
---|