source: trunk/PARPG/maps/map_objects.xml @ 225

Revision 225, 1.5 KB checked in by bretzel_parpg, 10 years ago (diff)

Objects now use name and text without desc. Fixes #69.

  • Property svn:eol-style set to native
Line 
1<?xml version="1.0" encoding="ascii"?>
2<!-- PC, NPC and objects initial data for PARPG maps -->
3<!-- All data that is subject to change by the engine during game time
4     should be stored in this file -->
5<objects format="1.0">
6    <!-- There must be one and one only PC character -->
7    <object id="PC" gfx="PC" type="PlayerCharacter" xpos="0.0" ypos="0.0"></object>
8
9    <!-- There can be any number of NPC characters -->
10    <object type="NonPlayerCharacter" gfx="npc-woman" xpos="-4.0" ypos="-7.0" id="woman01"
11         text="A friendly woman"></object>
12
13    <!-- There can be any number of objects -->
14    <!-- Object blocking is set in the objects own xml file -->
15    <object type="WoodenCrate" xpos="-4.0" ypos="-6.0" id="crate02"
16            is_open="False" locked="False" name="A dirty old crate"
17            text="A crate that is covered in grime and dirt. There doesn't seem to be anything remarkable about it"></object>
18                       
19        <object type="WoodenCrate" id="crate01" xpos="-3.0" ypos="-4.0" 
20                is_open="False" locked="False" name="asdf"
21                text="A crate that is covered in grime and dirt. There doesn't seem to be anything remarkable about it"></object>
22
23    <!-- There can be a number of doors, which serve as transition triggers -->
24    <!--door display="True" gfx="shanty-door" xpos="-2.0" ypos="6.0"
25        id="sh-door" text="Enter building" map="maps/shanty.xml"
26        txpos="-1" typos="1"></door>
27    <door display="True" gfx="snow02" xpos="-14" ypos="10"
28        id="tt01" text="New Map" map="maps/map2.xml"
29                txpos="-14" typos="-16"></door-->
30</objects>
31
Note: See TracBrowser for help on using the repository browser.