Mercurial > fife-parpg
annotate demos/rpg/objects/items/goldstack/object.xml @ 546:8fee2d2286e9
Rewrote the object serializing routines to use a "template" idea for loading an object from disk. This allows for multiple objects to load the same base object template but be unique on the scene AND have different values. Useful for say more than one gold stack on the ground with different gold values. TODO: fix the "spawn" console command.
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Thu, 03 Jun 2010 21:35:06 +0000 |
parents | c916d7b7de1c |
children |
rev | line source |
---|---|
526
c916d7b7de1c
Added the goldstack image as I forgot to add it before.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
1 <?fife type="object"?> |
c916d7b7de1c
Added the goldstack image as I forgot to add it before.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
2 <object id="goldstack" namespace="http://www.fifengine.de/xml/rpg" blocking="0" static="1"> |
c916d7b7de1c
Added the goldstack image as I forgot to add it before.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
3 <image source="000.png" direction="0" /> |
c916d7b7de1c
Added the goldstack image as I forgot to add it before.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
4 </object> |