- This also tweaks the scenario schemas for consistency between schemas and code, adds some unique key restraints, and makes some attributes required.
51 lines
1.1 KiB
XML
51 lines
1.1 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>lit</lighting>
|
|
|
|
<!-- 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 monsters; optional -->
|
|
<wandering>
|
|
<monster>21</monster>
|
|
</wandering>
|
|
|
|
<sign id="0">This is a sample sign!</sign>
|
|
|
|
<!-- preset items -->
|
|
<item id='17'>
|
|
<type>17</type>
|
|
<property>true</property>
|
|
<charges>3</charges>
|
|
</item>
|
|
|
|
<!-- preset creatures -->
|
|
<creature id='12'>
|
|
<type>12</type>
|
|
<personality>0</personality>
|
|
<attitude>0</attitude>
|
|
<mobility>1</mobility>
|
|
</creature>
|
|
|
|
<!-- town description rects -->
|
|
<area top="32" left="32" bottom="36" right="36">This is an area description!</area>
|
|
|
|
</town>
|