]> git.localhorst.tv Git - alttp.git/blob - resources/js/components/aos-tracker/UndergroundReservoir.js
add basic map
[alttp.git] / resources / js / components / aos-tracker / UndergroundReservoir.js
1 import PropTypes from 'prop-types';
2 import React from 'react';
3
4 import Cell from './Cell';
5 import Region from './Region';
6 import Room from './Room';
7
8 const UndergroundReservoir = ({ x, y }) =>
9         <Region name="underground-reservoir" x={x} y={y}>
10                 <Room x={0} y={2}>
11                         <Cell x={0} y={0} left="solid" right="door" top="solid" />
12                         <Cell x={0} y={1} bottom="solid" left="solid" right="door" />
13                 </Room>
14                 <Room type="transition right" x={1} y={2}>
15                         <Cell bottom="solid" left="door" right="door" top="solid" />
16                 </Room>
17                 <Room x={1} y={3}>
18                         <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
19                         <Cell x={1} y={0} bottom="solid" top="solid" />
20                         <Cell x={2} y={0} bottom="solid" top="solid" />
21                         <Cell x={3} y={0} bottom="solid" top="solid" />
22                         <Cell x={4} y={0} bottom="solid" top="solid" />
23                         <Cell x={5} y={0} bottom="solid" top="solid" />
24                         <Cell x={6} y={0} bottom="solid" top="solid" />
25                         <Cell x={7} y={0} bottom="solid" top="door" />
26                         <Cell x={8} y={0} bottom="solid" top="solid" />
27                         <Cell x={9} y={0} bottom="door" right="solid" top="solid" />
28                 </Room>
29                 <Room x={7} y={2}>
30                         <Cell x={0} y={0} bottom="solid" left="solid" top="solid" />
31                         <Cell x={1} y={0} bottom="door" right="solid" top="solid" />
32                 </Room>
33                 <Room x={9} y={5}>
34                         <Cell bottom="solid" left="solid" right="door" top="solid" />
35                 </Room>
36                 <Room x={10} y={4}>
37                         <Cell x={0} y={0} left="solid" top="door" />
38                         <Cell x={1} y={0} right="door" top="solid" />
39                         <Cell x={0} y={1} bottom="solid" left="door" />
40                         <Cell x={1} y={1} bottom="solid" right="solid" />
41                 </Room>
42                 <Room x={12} y={4}>
43                         <Cell x={0} y={0} left="door" right="door" top="solid" />
44                         <Cell x={0} y={1} left="solid" right="solid" />
45                         <Cell x={0} y={2} left="solid" right="solid" />
46                         <Cell x={0} y={3} left="solid" right="door" />
47                         <Cell x={0} y={4} left="door" right="solid" />
48                         <Cell x={0} y={5} left="solid" right="solid" />
49                         <Cell x={0} y={6} bottom="door" left="solid" right="door" />
50                 </Room>
51                 <Room type="save" x={13} y={7}>
52                         <Cell bottom="solid" left="door" right="solid" top="solid" />
53                 </Room>
54                 <Room x={11} y={8}>
55                         <Cell bottom="solid" left="solid" right="door" top="solid" />
56                 </Room>
57                 <Room x={13} y={10}>
58                         <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
59                         <Cell x={1} y={0} bottom="solid" top="solid" />
60                         <Cell x={2} y={0} bottom="solid" top="solid" />
61                         <Cell x={3} y={0} bottom="solid" right="door" top="solid" />
62                 </Room>
63                 <Room x={12} y={11}>
64                         <Cell x={0} y={0} bottom="solid" left="door" top="door" />
65                         <Cell x={1} y={0} bottom="solid" top="solid" />
66                         <Cell x={2} y={0} bottom="solid" top="solid" />
67                         <Cell x={3} y={0} bottom="solid" top="solid" />
68                         <Cell x={4} y={0} bottom="solid" top="solid" />
69                         <Cell x={5} y={0} bottom="solid" top="solid" />
70                         <Cell x={6} y={0} bottom="solid" top="solid" />
71                         <Cell x={7} y={0} bottom="solid" right="door" top="solid" />
72                 </Room>
73                 <Room x={11} y={11}>
74                         <Cell x={0} y={0} left="door" right="door" top="solid" />
75                         <Cell x={0} y={1} left="solid" right="solid" />
76                         <Cell x={0} y={2} left="solid" right="solid" />
77                         <Cell x={0} y={3} bottom="solid" left="door" right="door" />
78                 </Room>
79                 <Room x={10} y={11}>
80                         <Cell bottom="solid" left="door" right="door" top="solid" />
81                 </Room>
82                 <Room x={9} y={11}>
83                         <Cell x={0} y={0} left="door" right="door" top="solid" />
84                         <Cell x={0} y={1} bottom="solid" left="solid" right="door" />
85                 </Room>
86                 <Room x={10} y={12}>
87                         <Cell bottom="solid" left="door" right="solid" top="solid" />
88                 </Room>
89                 <Room type="transition left" x={8} y={11}>
90                         <Cell bottom="solid" left="door" right="door" top="solid" />
91                 </Room>
92                 <Room type="secret" x={10} y={14}>
93                         <Cell bottom="solid" left="solid" right="door" top="solid" />
94                 </Room>
95                 <Room type="transition right" x={12} y={14}>
96                         <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
97                         <Cell x={1} y={0} bottom="solid" right="door" top="solid" />
98                 </Room>
99                 <Room x={13} y={4}>
100                         <Cell x={0} y={0} left="door" top="solid" />
101                         <Cell x={1} y={0} top="solid" />
102                         <Cell x={2} y={0} top="solid" />
103                         <Cell x={3} y={0} top="solid" />
104                         <Cell x={4} y={0} right="solid" top="solid" />
105                         <Cell x={0} y={1} bottom="solid" left="solid" />
106                         <Cell x={1} y={1} bottom="solid" />
107                         <Cell x={2} y={1} bottom="solid" />
108                         <Cell x={3} y={1} bottom="solid" />
109                         <Cell x={4} y={1} bottom="solid" right="door" />
110                 </Room>
111                 <Room x={18} y={5}>
112                         <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
113                         <Cell x={1} y={0} bottom="solid" right="solid" top="door" />
114                 </Room>
115                 <Room x={18} y={2}>
116                         <Cell x={0} y={0} left="door" top="solid" />
117                         <Cell x={1} y={0} top="solid" />
118                         <Cell x={2} y={0} top="solid" />
119                         <Cell x={3} y={0} top="solid" />
120                         <Cell x={4} y={0} right="door" top="solid" />
121                         <Cell x={0} y={1} left="solid" />
122                         <Cell x={1} y={1} />
123                         <Cell x={2} y={1} />
124                         <Cell x={3} y={1} />
125                         <Cell x={4} y={1} right="solid" />
126                         <Cell x={0} y={2} bottom="solid" left="solid" />
127                         <Cell x={1} y={2} bottom="door" />
128                         <Cell x={2} y={2} bottom="solid" />
129                         <Cell x={3} y={2} bottom="solid" />
130                         <Cell x={4} y={2} bottom="solid" right="solid" />
131                 </Room>
132                 <Room type="transition left" x={17} y={2}>
133                         <Cell bottom="solid" left="door" right="door" top="solid" />
134                 </Room>
135                 <Room x={20} y={5}>
136                         <Cell bottom="solid" left="door" right="door" top="solid" />
137                 </Room>
138                 <Room x={21} y={5}>
139                         <Cell x={0} y={0} left="door" right="solid" top="solid" />
140                         <Cell x={0} y={1} left="solid" right="door" />
141                         <Cell x={0} y={2} left="solid" right="solid" />
142                         <Cell x={0} y={3} bottom="solid" left="door" right="door" />
143                 </Room>
144                 <Room x={22} y={6}>
145                         <Cell bottom="solid" left="door" right="solid" top="solid" />
146                 </Room>
147                 <Room type="save" x={22} y={8}>
148                         <Cell bottom="solid" left="door" right="solid" top="solid" />
149                 </Room>
150                 <Room x={19} y={8}>
151                         <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
152                         <Cell x={1} y={0} bottom="solid" right="door" top="solid" />
153                 </Room>
154                 <Room x={23} y={2}>
155                         <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
156                         <Cell x={1} y={0} bottom="solid" right="door" top="solid" />
157                 </Room>
158                 <Room x={25} y={1}>
159                         <Cell x={0} y={0} left="solid" top="solid" />
160                         <Cell x={1} y={0} right="solid" top="solid" />
161                         <Cell x={0} y={1} left="door" />
162                         <Cell x={1} y={1} right="door" />
163                         <Cell x={0} y={2} left="solid" />
164                         <Cell x={1} y={2} right="solid" />
165                         <Cell x={0} y={3} bottom="solid" left="solid" />
166                         <Cell x={1} y={3} bottom="door" right="solid" />
167                 </Room>
168                 <Room x={27} y={2}>
169                         <Cell bottom="solid" left="door" right="door" top="solid" />
170                 </Room>
171                 <Room x={28} y={2}>
172                         <Cell x={0} y={0} left="door" top="solid" />
173                         <Cell x={1} y={0} top="door" />
174                         <Cell x={2} y={0} right="door" top="solid" />
175                         <Cell x={0} y={1} left="solid" />
176                         <Cell x={1} y={1} />
177                         <Cell x={2} y={1} right="solid" />
178                         <Cell x={0} y={2} bottom="door" left="solid" />
179                         <Cell x={1} y={2} bottom="solid" />
180                         <Cell x={2} y={2} bottom="door" right="solid" />
181                 </Room>
182                 <Room x={29} y={0}>
183                         <Cell x={0} y={0} left="solid" right="solid" top="solid" />
184                         <Cell x={0} y={1} bottom="door" left="solid" right="solid" />
185                 </Room>
186                 <Room x={31} y={2}>
187                         <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
188                         <Cell x={1} y={0} bottom="solid" right="solid" top="solid" />
189                 </Room>
190                 <Room x={30} y={5}>
191                         <Cell x={0} y={0} left="solid" right="solid" top="door" />
192                         <Cell x={0} y={1} bottom="solid" left="solid" right="door" />
193                 </Room>
194                 <Room type="secret" x={31} y={6}>
195                         <Cell bottom="solid" left="door" right="solid" top="solid" />
196                 </Room>
197                 <Room x={27} y={5}>
198                         <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
199                         <Cell x={1} y={0} bottom="solid" right="solid" top="door" />
200                 </Room>
201                 <Room x={25} y={5}>
202                         <Cell x={0} y={0} left="door" top="solid" />
203                         <Cell x={1} y={0} right="door" top="door" />
204                         <Cell x={0} y={1} left="solid" />
205                         <Cell x={1} y={1} right="solid" />
206                         <Cell x={0} y={2} left="solid" />
207                         <Cell x={1} y={2} right="door" />
208                         <Cell x={0} y={3} left="solid" />
209                         <Cell x={1} y={3} right="solid" />
210                         <Cell x={0} y={4} bottom="solid" left="door" />
211                         <Cell x={1} y={4} bottom="door" right="door" />
212                 </Room>
213                 <Room x={24} y={5}>
214                         <Cell bottom="solid" left="solid" right="door" top="solid" />
215                 </Room>
216                 <Room x={27} y={7}>
217                         <Cell bottom="solid" left="door" right="solid" top="solid" />
218                 </Room>
219                 <Room x={27} y={9}>
220                         <Cell bottom="solid" left="door" right="door" top="solid" />
221                 </Room>
222                 <Room type="transition right" x={28} y={9}>
223                         <Cell bottom="solid" left="door" right="door" top="solid" />
224                 </Room>
225                 <Room x={22} y={9}>
226                         <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
227                         <Cell x={1} y={0} bottom="solid" top="solid" />
228                         <Cell x={2} y={0} bottom="solid" right="door" top="solid" />
229                 </Room>
230                 <Room x={20} y={9}>
231                         <Cell x={0} y={0} left="door" top="solid" />
232                         <Cell x={1} y={0} right="door" top="solid" />
233                         <Cell x={0} y={1} left="door" />
234                         <Cell x={1} y={1} right="solid" />
235                         <Cell x={0} y={2} bottom="solid" left="door" />
236                         <Cell x={1} y={2} bottom="solid" right="door" />
237                 </Room>
238                 <Room x={22} y={11}>
239                         <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
240                         <Cell x={1} y={0} bottom="solid" top="solid" />
241                         <Cell x={2} y={0} bottom="solid" right="solid" top="solid" />
242                 </Room>
243                 <Room type="teleporter" x={19} y={9}>
244                         <Cell bottom="solid" left="solid" right="door" top="solid" />
245                 </Room>
246                 <Room x={19} y={10}>
247                         <Cell bottom="solid" left="door" right="door" top="solid" />
248                 </Room>
249                 <Room x={17} y={8}>
250                         <Cell x={0} y={0} left="solid" top="solid" />
251                         <Cell x={1} y={0} right="door" top="solid" />
252                         <Cell x={0} y={1} left="solid" />
253                         <Cell x={1} y={1} right="solid" />
254                         <Cell x={0} y={2} bottom="solid" left="door" />
255                         <Cell x={1} y={2} bottom="solid" right="door" />
256                 </Room>
257         </Region>;
258
259 UndergroundReservoir.propTypes = {
260         x: PropTypes.number,
261         y: PropTypes.number,
262 };
263
264 export default UndergroundReservoir;