summaryrefslogtreecommitdiff
path: root/content/maps/basement.json
blob: 99a75de921b3ed8e2a5b225477dd9a0cf37e5940 (plain)
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
{
	"width": 24,
	"height": 11,
	"spawn": [17, 8],
	"places": {
		"stairup": [17, 8]
	},
	
	"field": [
		"      ###############   ",
		"      #++++++++a++++#   ",
		"      #+++++++++++++#   ",
		"      #+a+++++++++++#   ",
		"      #+++++++++++++#   ",
		"      #+++++a+++++++#   ",
		"      ##D######D#####   ",
		"      #++++++#++++++#   ",
		"      #+a++:+#++++<+#   ",
		"      #++++++#++++++#   ",
		"      ###############   "
	],
	"mapping": {
		",": "grass",
		"~": "water",
		"#": "wall",
		"X": "rock",
		".": "ground",
		"+": "floor",
		"^": ["spiketrap"],
		"D": ["ground", "closeddoor"],
		"<": [
			{":template": "portal", "destination": "begin", "destpos": "stairdown"},
			{":template": "img", "sprite": "stairup"},
			"floor"
		],
		"a": [
			"floor",
			{":template": "spawner","template": {":template": "rat"}, "delay": 300, "initial_spawn": true}
		],
		":": [
			"floor",
			{":template": "spawner","template": {":template": "carrotseed"}, "delay": 1200, "initial_spawn": false}
		],
		" ": []
	}
}