diff options
Diffstat (limited to 'xml')
-rw-r--r-- | xml/!town.xml | 9 | ||||
-rw-r--r-- | xml/entities.xml | 19 |
2 files changed, 25 insertions, 3 deletions
diff --git a/xml/!town.xml b/xml/!town.xml index 69441f3..4a64ee0 100644 --- a/xml/!town.xml +++ b/xml/!town.xml @@ -1,4 +1,7 @@ <?xml version="1.0"?> + +<include file="entities.xml" /> + <World> <style background="0" bgm="assets/music/embark.wav" folder="assets/style/classic/"/> <generation width="1600"/> @@ -6,9 +9,9 @@ <link right="!town2.xml" /> <spawnx>-300</spawnx> <npc name="Sanc" hasDialog="true"/> - <npc name="Bob" hasDialog="true" spawnx="30"/> - <structure type="1" spawnx="300"/> - <structure inside="bobshouse.xml" type="1" spawnx="10"/> + <npc name="Bob" hasDialog="true" position="50.0,100.0"/> + <structure type="1" position="300.0,100.0"/> + <structure inside="bobshouse.xml" type="1" position="10.0,100.0"/> <chest/> </World> diff --git a/xml/entities.xml b/xml/entities.xml new file mode 100644 index 0000000..d955e38 --- /dev/null +++ b/xml/entities.xml @@ -0,0 +1,19 @@ +<spawnx/> + +<npc> + <Position value="0.0,100.0" /> + <Visible value="0.2" /> + <Sprite image="assets/NPC.png" /> +</npc> + +<structure> + <Position value="0.0,100.0" /> + <Visible value="0.25" /> + <Sprite image="assets/style/classic/house1.png" /> +</structure> + +<chest> + <Position value="0.0,100.0" /> + <Visible value="0.15" /> + <Sprite image="assets/chest.png" /> +</chest> |