Mercurial > fife-parpg
view demos/rpg/maps/quests.xml @ 550:d0282579668c
Added QuestManager. The player can now move from map to map and the state of the quests remains persistent. Both quests the NPC gives you are now completable. Still have to clean up the quest loading code.
Started adding more comments.
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Tue, 15 Jun 2010 17:53:20 +0000 |
parents | 8fee2d2286e9 |
children | 3b933753cba8 |
line wrap: on
line source
<?xml version='1.0' encoding='UTF-8'?> <Settings> <Module name="Quiller"> <Setting name="questlist" type="list"> test_quest1 ; test_quest2 </Setting> <Setting name="test_quest1" type="dict"> type : RETURN_ITEM ; name : Test quest ; desc : This is the first quest you will get </Setting> <Setting name="test_quest2" type="dict"> type : RETURN_ITEM ; name : Second quest ; desc : This is the second quest you will get ; items : GoldStack ; value : 5000 </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>