aboutsummaryrefslogtreecommitdiffstats
path: root/xml/bobshouse.xml
blob: 9160ef06d46a3699cd5fe6776c772402a83efac2 (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
47
48
49
50
51
<?xml version="1.0"?>
<include file="entities.xml"/>

<IndoorWorld>
	<style bgm="assets/music/theme_jazz.wav" folder="assets/style/indoors/">
		<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/carpet.png"/>
	</style>
	<house width="800" texture="assets/style/classic/bg/insideWoodHouse.png"/>
	<generation>
		x = 0

		ground = function()
			if (x == 320) then
				height = -1
			else
				height = 60
			end

			x = x + 1
		end

		grass = function()
			height = 2
		end
	</generation>
	<time>6000</time>
	<!--<link outside="town.xml"/>-->
	<npc name="Bob" hasDialog="true" spawnx="30"/>
</IndoorWorld>

<Dialog name="Bob">
	<text id="0" nextid="1">
		<content>
			Hey there lil' guy! Someone lookin' for some stuff?
		</content>
	</text>
	<text id="1">
		<give name="Debug" count="5"/>
		<content>
			Here ya' go boy!
		</content>
	</text>
</Dialog>