view demos/rpg/maps/quests.xml @ 568:bfbf329e1da8

Forgot to add the simplexml.py file in my last commit.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Mon, 28 Jun 2010 18:43:03 +0000
parents 69d50e751c9a
children
line wrap: on
line source

<?xml version='1.0' encoding='UTF-8'?>
<Settings>
  <Module name="QuestGivers">
    <Setting name="list" type="list"> Quiller </Setting>
  </Module>
  <Module name="Quiller">
   	<Setting name="questlist" type="list"> test_quest1 ; test_quest2 </Setting>
   	<Setting name="test_quest1" type="dict"> type : RETURN_ITEM ; quest_incomplete_dialog : Come back with 5000 gold! ; quest_complete_dialog : Thank you for finding me 5000 gold. ; name : I need some money! ; desc : Greetings traveler!  I have a quest for you should you choose to accept it.   Go and find me 5000 gold pieces! </Setting>
   	<Setting name="test_quest2" type="dict"> type : RETURN_ITEM ; quest_incomplete_dialog : Bah! Come back with 5000 gold! ; quest_complete_dialog : Thank you for finding me ANOTHER 5000 gold. ; name : More money! ; desc : Welcome back!  I have a quest for you should you choose to accept it.   Go and find me another 5000 gold pieces! I bet you will find the gold in that temple over there. </Setting>
  </Module>
  <Module name="test_quest1_items">
  	<Setting name="itemlist" type="list"> gold1 </Setting>
  	<Setting name="gold1" type="dict"> name : GOLD_COINS ; value : 5000 </Setting>
  </Module>
  <Module name="test_quest2_items">
  	<Setting name="itemlist" type="list"> gold1 </Setting>
  	<Setting name="gold1" type="dict"> name : GOLD_COINS ; value : 5000 </Setting>
  </Module>
</Settings>