Files
oboe/rsrc/boes/scenario.xml
Celtic Minstrel 1894b31e20 Implement loading of scenarios
- This also tweaks the scenario schemas for consistency between schemas and code, adds some unique key restraints, and makes some attributes required.
2015-02-11 14:03:03 -05:00

171 lines
3.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<scenario boes="1.0">
<!-- boes == blades of exile scenario -->
<title>The File Test Scenario</title>
<!-- Human-readable -->
<icon>8</icon>
<!-- For a custom icon, use
<icon custom="true" col="0" row="0">scenicon.png</icon>
where col=x and row=y are tile offsets to the TL corner of the icon
The icon is assumed to be 32x32 pixels on a graphics sheet containing
only 32x32 icons, and the row and col count tiles, not pixels.
Set split="true" if you want to put the scenario icon on your main
graphics sheet (of 28x36 icons), where it would need to be split in half
and take two slots like a talking graphics.
-->
<id>1359072240-14121234</id>
<!-- Unix time of creation, plus random number.
used to help sort stuff. Doesn't change after creation.
-->
<version>1.0.0-a</version>
<language>en-US</language>
<!-- For any future i18n support, maybe -->
<author>
<name>Sylae Jiendra Corell</name><!-- Human-readable -->
<email>sylae@calref.net</email><!-- Human-readable -->
</author>
<text>
<teaser>Who wrote 1</teaser><!-- Human-readable -->
<teaser>Who wrote 2</teaser><!-- Human-readable -->
</text>
<ratings>
<content>g</content>
<!-- g,pg,r,nc17 -->
<difficulty>1</difficulty>
<!-- 1,2,3,4
low,medium,high,very high, repectively
-->
</ratings>
<flags>
<adjust-difficulty>true</adjust-difficulty>
<legacy>none</legacy>
<!-- Options:
spidweb: original boe
none: goes off of cboe version
-->
<custom-graphics>false</custom-graphics>
</flags>
<creator>
<type>cboe</type>
<version>1.2.0a</version>
<os>win7-x64</os>
</creator>
<game>
<!-- Number of towns in the scenario -->
<num-towns>1</num-towns>
<!-- Number of outdoor sections in the scenario -->
<out-width>1</out-width>
<out-height>1</out-height>
<!-- Number of the starting town -->
<start-town>0</start-town>
<!-- Where in town you start -->
<town-start x="20" y="20"/>
<!-- Which outdoor section you start in -->
<outdoor-start x="0" y="0"/>
<!-- Where in that outdoor section you start -->
<sector-start x="20" y="20"/>
<!-- Definitions of special items, if any -->
<special-item start-with='true'>
<name>My Special Item</name>
<description>It's so useful!</description>
</special-item>
<!-- Define quests here -->
<quest start-with='false'>
<!-- Quests can have a deadline, and an event that waives the deadline -->
<deadline relative='true' waive-if='5'>12</deadline>
<!-- Quests can have an automatic reward -->
<reward xp='12000' gold='250'/>
<name>Sample Quest</name>
<description>Your mission, if you choose to accept it, is...!!??</description>
</quest>
<!-- And shops -->
<shop>
<name>A Few Spells</name>
<type>live</type>
<prompt>spell</prompt>
<face>43</face>
<entries>
<mage-spell>30</mage-spell>
<mage-spell>31</mage-spell>
<priest-spell>30</priest-spell>
<priest-spell>31</priest-spell>
</entries>
</shop>
</game>
<editor>
<!-- Default ground terrain used by the editor for new towns -->
<default-ground>0</default-ground>
<!-- Last outdoor section edited -->
<last-out-section x="0" y="0"/>
<!-- Last town edited -->
<last-town>0</last-town>
<!-- This is a way to specify what type of graphics are in the custom graphics sheet
For example, this states that the fourth graphic is an item. -->
<graphics><pic index='3'>7</pic></graphics>
</editor>
</scenario>