Mercurial > fife-parpg
view demos/rpg/maps/allobjects.xml @ 543:cb7ec12214a9
Items can now be serialized/deserialized to/from disk. I haven't finished actors yet. This allows for persistent states when you enter/leave maps.
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Wed, 02 Jun 2010 21:43:03 +0000 |
parents | 67f6f3538e88 |
children | 8fee2d2286e9 |
line wrap: on
line source
<?xml version='1.0' encoding='UTF-8'?> <Settings> <Module name="models"> <Setting name="Player" type="dict"> type : ITEM ; file : objects/actors/player/warrior/object.xml ; model : goldstack </Setting> <Setting name="GoldStack" type="dict"> type : GOLD ; file : objects/items/goldstack/object.xml ; model : goldstack </Setting> <Setting name="Quiller" type="dict"> type : QUESTGIVER ; file : objects/actors/player/warrior/object.xml ; model : warrior </Setting> <Setting name="TempleEntrance" type="dict"> type : PORTAL ; file : objects/ground/temple_entrance/object.xml ; model : temple_entrance </Setting> </Module> <Module name="Quiller"> <Setting name="questcount" type="int"> 2 </Setting> <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> <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> </Module> </Settings>