From 66c99350e63ab6b32ec7fcda45e2e6b8c9f658da Mon Sep 17 00:00:00 2001
From: Clyne Sullivan <tullivan99@gmail.com>
Date: Sun, 10 Jan 2016 14:53:08 -0500
Subject: xml: more npc functionality

---
 xml/playerSpawnHill1.xml | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

(limited to 'xml')

diff --git a/xml/playerSpawnHill1.xml b/xml/playerSpawnHill1.xml
index 94292ab..f3036a5 100644
--- a/xml/playerSpawnHill1.xml
+++ b/xml/playerSpawnHill1.xml
@@ -3,9 +3,10 @@
 	<style background="0" bgm="assets/music/embark.wav" />
 	<generation type="Random" width="500" />
 	
-	<!--<mob type="1" x="250" y="100" />-->
+	<mob type="1" />
 	
-	<npc name="Ralph" x="0" y="100" hasDialog="true"/>
+	<npc name="Ralph" hasDialog="true" />
+	<npc name="Johnny" hasDialog="true" />
 
 </World>
 
@@ -21,8 +22,18 @@
 		gg.
 	</text>
 	
-	<text id="2">
-		Frrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
+	<text id="2" call="Johnny" callid="1">
+		what you have done it to trick Microsoft
 	</text>
 	
 </Dialog>
+
+<Dialog name="Johnny">
+	<text id="0" nextid="1" stop="true">
+		Sup bro!
+	</text>
+	
+	<text id="1" >
+		My name's Johnny.
+	</text>
+</Dialog>
-- 
cgit v1.2.3