summaryrefslogtreecommitdiff
path: root/content/maps/basement.json
blob: d5f941b612f9d8cb4fb6667c608db20503066f4c (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"],
		"<": [
			{"type": "portal", "kwargs": {"destination": "begin", "destpos": "stairdown"}},
			{"type": "img", "kwargs": {"sprite": "stairup"}},
			"floor"
		],
		"a": ["floor", {
			"type": "spawner",
			"kwargs": {"template": {"type": "rat"}, "delay": 300, "initial_spawn": true}
		}],
		":": ["floor", {
			"type": "spawner",
			"kwargs": {"template": {"type": "carrotseed"}, "delay": 1200, "initial_spawn": false}
		}],
		" ": []
	}
}