comparison demos/rpg/maps/allobjects.xml @ 529:d0bce896a526

Changed the quest format in the object xml file. Quests can now required gold or items to complete.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Fri, 28 May 2010 16:25:00 +0000
parents 796d49ab9380
children 2e739ae9a8bc
comparison
equal deleted inserted replaced
528:796d49ab9380 529:d0bce896a526
4 <Setting name="Player" type="dict"> type : ITEM ; file : objects/actors/player/warrior/object.xml ; model : goldstack </Setting> 4 <Setting name="Player" type="dict"> type : ITEM ; file : objects/actors/player/warrior/object.xml ; model : goldstack </Setting>
5 <Setting name="GoldStack" type="dict"> type : ITEM ; file : objects/items/goldstack/object.xml ; model : goldstack </Setting> 5 <Setting name="GoldStack" type="dict"> type : ITEM ; file : objects/items/goldstack/object.xml ; model : goldstack </Setting>
6 <Setting name="Quiller" type="dict"> type : QUESTGIVER ; file : objects/actors/player/warrior/object.xml ; model : warrior </Setting> 6 <Setting name="Quiller" type="dict"> type : QUESTGIVER ; file : objects/actors/player/warrior/object.xml ; model : warrior </Setting>
7 </Module> 7 </Module>
8 8
9 <Module name="Quiller"> 9 <Module name="Quiller">
10 <Setting name="questcount" type="int"> 2 </Setting> 10 <Setting name="questcount" type="int"> 2 </Setting>
11 <Setting name="quest1" type="list"> Test quest ; This is the first quest you will get </Setting> 11 <Setting name="quest1" type="dict"> name : Test quest ; desc : This is the first quest you will get ; items : GoldStack ; value : 5000 </Setting>
12 <Setting name="quest2" type="list"> Second quest ; This is the second quest you will get </Setting> 12 <Setting name="quest2" type="dict"> name : Second quest ; desc : This is the second quest you will get ; items : GoldStack ; value : 5000 </Setting>
13 </Module> 13 </Module>
14 </Settings> 14 </Settings>