aboutsummaryrefslogtreecommitdiffstats
path: root/xml/!town2.xml
blob: cc1953ff66f92e96bb8255c021f5f68e017271e2 (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
<?xml version="1.0"?>
<World>
	<style bgm="assets/music/ozone.ogg" folder="assets/style/classic/">
		<layer path="bg/bg.png"/>
		<layer path="bg/bgFarMountain.png"/>
		<layer path="bg/forestTileFar.png"/>
		<layer path="bg/forestTileBack.png"/>
		<layer path="bg/forestTileMid.png"/>
		<layer path="bg/forestTileFront.png"/>
		<layer path="bg/dirt.png"/>
		<layer path="bg/grass.png"/>
	</style>
	<generation>
		x = 0

		ground = function()
			if (x == 600) then
				height = -1
			else
				height = 60 + math.random(0,6) / 2
			end

			x = x + 1
		end

		grass = function()
			height = math.random(2, 5)
		end
	</generation>
	<time>6000</time>
	<link left="!town.xml"/>
</World>