-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmap.graphml
107 lines (87 loc) · 3.34 KB
/
map.graphml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<?xml version="1.0" encoding="UTF-8"?>
<graphml xmlns="http://graphml.graphdrawing.org/xmlns"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns
http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
<key attr.name="Name" attr.type="string" for="node" id="name"/>
<key attr.name="Description" attr.type="string" for="node" id="desc"/>
<key attr.name="ID" attr.type="int" for="node" id="id"/>
<key attr.name="Type" attr.type="string" for="node" id="type"/>
<key attr.name="Chars" attr.type="complex" for="node" id="chars"/>
<key attr.name="Doors" attr.type="complex" for="node" id="doors"/>
<key attr.name="Windows" attr.type="complex" for="node" id="windows"/>
<key attr.name="Objects" attr.type="complex" for="node" id="objects"/>
<graph id="G" edgedefault="undirected">
<node id="room_intro">
<data key="name"><![CDATA[Intro]]></data>
<data key="desc"><![CDATA[The intro cutscene]]></data>
<data key="id">4</data>
<data key="type">intro</data>
</node>
<edge id="4:0:1" source="room_intro" target="room_01"/>
<node id="room_01">
<data key="name"><![CDATA[Main Hall]]></data>
<data key="desc"><![CDATA[When the game starts]]></data>
<data key="id">1</data>
<data key="type">normal</data>
<data key="chars">
<char id="Firulais" state="normal"></char>
</data>
<data key="doors">
<door id="1" position="left" type="FullOpen"/>
<door id="2" position="right" type="Closed"/>
<door id="3" position="front" type="Open"/>
</data>
<data key="windows">
<window id="1" position="front" x="50" y="10" bg="false"/>
</data>
</node>
<edge id="1:1:2" source="room_01" target="room_02"/>
<edge id="1:3:3" source="room_01" target="room_03"/>
<node id="room_02">
<data key="name"><![CDATA[Long One]]></data>
<data key="desc"><![CDATA[The long room]]></data>
<data key="id">2</data>
<data key="type">normal</data>
<data key="chars">
<char id="Calcetines" state="idle"></char>
</data>
<data key="doors">
<door id="1" position="right" type="FullOpen"/>
</data>
<data key="windows">
<window id="1" position="left" bg="true" hotspot="true"/>
</data>
<data key="objects">
<plantbig x="100" y="100" hotspot="true"/>
<radiator x="200" y="100"/>
</data>
</node>
<node id="room_03">
<data key="name"><![CDATA[Goal]]></data>
<data key="desc"><![CDATA[The goal]]></data>
<data key="id">3</data>
<data key="type">normal</data>
<data key="chars">
<char id="Trufa" state="idle"></char>
<char id="Miki" state="idle"></char>
</data>
<data key="doors">
<door id="1" position="left" type="Closed"/>
</data>
<data key="windows">
<window id="1" position="right" bg="true" hotspot="true"/>
</data>
</node>
<!-- demos for graphML -->
<node id="n3"/>
<node id="n4">
<graph id="n4:" edgedefault="undirected">
<node id="n4::n0"/>
<node id="n4::n1"/>
<node id="n4::n2"/>
<edge id="n4::e0" source="n4::n0" target="n4::n2"/>
<edge id="n4::e1" source="n4::n1" target="n4::n2"/>
</graph>
</node>
</graph>
</graphml>