63 lines
1.5 KiB
XML
63 lines
1.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<town boes="1.0">
|
|
<size>48</size>
|
|
<name>Town name</name>
|
|
<bounds top="4" left="4" bottom="44" right="44"/>
|
|
|
|
<!-- Town's difficulty rating -->
|
|
<difficulty>1</difficulty>
|
|
|
|
<!-- Town's lighting type -->
|
|
<lighting>0</lighting>
|
|
|
|
<!-- Town entry locations -->
|
|
<enter dir="n" x="22" y="4"/>
|
|
<enter dir="s" x="22" y="44"/>
|
|
<enter dir="w" x="4" y="22"/>
|
|
<enter dir="e" x="22" y="22"/>
|
|
|
|
<!-- Entry specials; omitting condition is equivalent to ="alive" -->
|
|
<onenter>12</onenter>
|
|
<onenter condition="dead">13</onenter>
|
|
|
|
<!-- Town exit location/special -->
|
|
<onexit dir="n">5</onexit>
|
|
|
|
<!-- Various optional flags; <flags/> is perfectly valid here -->
|
|
<flags>
|
|
|
|
</flags>
|
|
|
|
<!-- Wandering locs and monsters -->
|
|
<wandering>
|
|
<!-- Need exactly four locs -->
|
|
<loc x="5" y="12"/>
|
|
<loc x="5" y="12"/>
|
|
<loc x="5" y="12"/>
|
|
<loc x="5" y="12"/>
|
|
<!-- Monsters are optional -->
|
|
<monster group="0">21</monster>
|
|
</wandering>
|
|
|
|
<sign id="0">This is a sample sign!</sign>
|
|
|
|
<!-- these code both fields and sfx -->
|
|
<fields x="25" y="17">128</fields><!-- fields.h, bitmask thing -->
|
|
|
|
<!-- preset items -->
|
|
<item x="12" y="13">
|
|
<id>17</id>
|
|
<property>true</property>
|
|
<charges>3</charges>
|
|
</item>
|
|
|
|
<!-- preset creatures -->
|
|
<creature x="15" y="32">
|
|
<id>12</id>
|
|
<personality>0</personality>
|
|
<attitude>0</attitude>
|
|
<mobility>1</mobility>
|
|
</creature>
|
|
|
|
</town>
|