diff demos/rpg/maps/town_objects.xml @ 524:6037f79b0dcf

Multiple quests now work. Added the item layer. Made movement more like diablo by allowing you to hold and drag the left mouse button. All objects are now loaded from a separate "allobjects" file. Specific item attributes are loaded from the map objects file (like position). This allows for the possibility of multiple instances using the same FIFE model.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Thu, 27 May 2010 21:11:37 +0000
parents 494c60cf61cf
children d0bce896a526
line wrap: on
line diff
--- a/demos/rpg/maps/town_objects.xml	Thu May 27 18:29:20 2010 +0000
+++ b/demos/rpg/maps/town_objects.xml	Thu May 27 21:11:37 2010 +0000
@@ -1,11 +1,11 @@
 <?xml version='1.0' encoding='UTF-8'?>
 <Settings>
-  <Module name="town">
-    <Setting name="npclist" type="list"> Quiller </Setting>
-    <Setting name="Quiller" type="list"> QUESTGIVER ; warrior ; 1.0 ; 1.0 </Setting>
+  <Module name="items">
+  	<Setting name="itemlist" type="list"> gstack1 </Setting>
+    <Setting name="gstack1" type="dict"> typename : GoldStack ; value : 5000 ; posx : 1.0 ; posy : 1.0 </Setting>
   </Module>
-  <Module name="Quiller">
-  	<Setting name="questcount" type="int"> 1 </Setting>
-  	<Setting name="quest1" type="list"> Test quest ; This is the first quest you will get </Setting>
+  <Module name="npcs">
+  	<Setting name="npclist" type="list"> Quiller </Setting>
+    <Setting name="Quiller" type="dict"> typename : Quiller ; stat1 : 20 ; stat2 : 343 ; posx : 1.0 ; posy : 1.0 </Setting>
   </Module>
 </Settings>