comparison demos/rpg/maps/allobjects.xml @ 542:67f6f3538e88

Refactored the Quest class a bit. Made it a base class for other possible quest types. Added the RETURN_ITEM quest type.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Tue, 01 Jun 2010 21:38:14 +0000
parents 2e739ae9a8bc
children 8fee2d2286e9
comparison
equal deleted inserted replaced
541:eb1963084657 542:67f6f3538e88
7 <Setting name="TempleEntrance" type="dict"> type : PORTAL ; file : objects/ground/temple_entrance/object.xml ; model : temple_entrance </Setting> 7 <Setting name="TempleEntrance" type="dict"> type : PORTAL ; file : objects/ground/temple_entrance/object.xml ; model : temple_entrance </Setting>
8 </Module> 8 </Module>
9 9
10 <Module name="Quiller"> 10 <Module name="Quiller">
11 <Setting name="questcount" type="int"> 2 </Setting> 11 <Setting name="questcount" type="int"> 2 </Setting>
12 <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="quest1" type="dict"> type : RETURN_ITEM ; name : Test quest ; desc : This is the first quest you will get ; items : GoldStack ; value : 5000 </Setting>
13 <Setting name="quest2" type="dict"> name : Second quest ; desc : This is the second quest you will get ; items : GoldStack ; value : 5000 </Setting> 13 <Setting name="quest2" type="dict"> type : RETURN_ITEM ; name : Second quest ; desc : This is the second quest you will get ; items : GoldStack ; value : 5000 </Setting>
14 </Module> 14 </Module>
15 </Settings> 15 </Settings>