ADAmpD2 / Mine

Klooge Files

This is the current def file we are using as of Jun 29 08

New changes as of 2018 06 17 from TMO


<?xml version="1.0" encoding="UTF-8"?>
<!--
    This is a game system definition file for kLoOge.Werks v2.0.

    If you don't know what you're doing, or you're not willing to render your
    installation of kLoOge.Werks completely inoperable, LEAVE NOW!!!

    For those brave souls remaining, some rules:

	1.  NEVER modify a game definition file that you received as part of
	    the program distribution or downloaded yourself.  Instead, make
	    a copy of such a file and modify THAT.  In this way if you mess
	    something up, you'll have a starting point to return to.

	2.  If you create a modified (or from scratch) game definition file
	    that you think will enhance the program or be of some benefit to
	    others, then, please, let us know about it!  Post a message on
	    the kLoOge.inc forum, upload it to a public group, email it to
	    us so we can have a look at it, whatever.  Just don't keep it
	    to yourself.  Build the community and the community could end up
	    improving your gaming as well.

	    http://www.kloogeinc.com/cgi-bin/ikonboard/ikonboard.cgi
	    kLoOge.Werks@kloogeinc.com

    Those are the rules.  Obey them and prosper, disregard them at your own
    peril.

    What is a "game definition file?"  A "game definition file" is a file
    (big surprise) that defines the rules of play and data organization of
    character sheets.  Additionally, it governs how character sheets are
    arranged for display and what kinds of user interface elements are used
    to store the sheet's data.

    Every game system is different and we've tried to make our game definition
    system flexible enough to handle almost all of them.  How this flexibility
    is realized depends on the code below.  Some of it will make sense, but
    a lot of it won't at first.  If you have questions, ask them on the forum
    and we will try to answer them quickly and accurately.

    Since there will never likely be formal documentation of this data format,
    the only way to clear up questions is to ask.  We hope to put answers into
    a FAQ, but that will take time.


Version History
		1.0 original 2nd Edition Def fil that ships with Klooge
		2.0 Major modification by Fritz to include several things from the 
			1st Ed Def file created on the klooge boards by Eric
			-includes split stats, consumable magic items, etc. 
		2.0.1 minor changes to container section, 
				additional REM commenting in areas
				added tag to total coins in container section

		2.0.2 added calander modifications
		2.0.3 added weapon listing and corrected Description File corrections for skills and 			weapons
		2.0.4 added in Open Locked doors
		2.0.5 added in Group & Subgroup for Skills to make it easier for character creation
		2.0.6 
		2.1.0 Marco's changes
		2.1.1 correct Icon sizes, add in min light radius, remove ravenloft fields from character sheet
		2.1.2 add in default minimums to level, saves, init, armor
		2.1.3 first attempt at improved weapon section
		2.1.4 add in casting subtley and more weapon detail, defaults to atk and dmg adjustments
            2.1.5 Fixed attack and damage modifiers to weapon section
		2.1.6 minor Init fix, add Knockdown target, fix data file locations

This version is 2.1.6 last modified on 06/29/2008



-->
<character-sheet-definition>
    <id>2nd Edition D&D(tm)2.mine sand4</id>
    <tag>char-sheet-2nd-ed</tag>
    <base-rules>
	<no-special-initiative-handling/>
	<init-def>
	    <!-- Round duration in seconds -->
	    <round-duration>60</round-duration>
	    <!-- Identical initiatives are weighted by the value in this field -->
	    <resolve-init-conflict>INIT_MOD</resolve-init-conflict>
	    <init-low-to-high/>
	    <lower-than-ac-to-hit/>
	    <combat-start-sound>sounds/combat_start.wav</combat-start-sound>
	    <init-sound>sounds/init.wav</init-sound>
	    <round-sound>sounds/round.wav</round-sound>
	</init-def>
	<critical-hit>20</critical-hit>
	<critical-multiplier>x2</critical-multiplier>
	<allow-randomize-hp/>
	<!-- For randomizing hit points, let the program know where to look
	     for some information about what default to use -->
	<hd-field>HIT_DICE</hd-field>
	<temporary-modifier-table>TEMP_MOD_TABLE</temporary-modifier-table>
	<disabled-point>
	    <field>CUR_HIT_POINTS</field>
	    <value>0</value>
	</disabled-point>
	<dead-point>
	    <field>CUR_HIT_POINTS</field>
	    <value>-1</value>
	    <modifiers>
		<modifier>CON</modifier>
	    </modifiers>
	</dead-point>
	<icon-size>
		<!-- Standard Icon sizes are
			T =   .75
			S =  1.75
			M =  2.5
			L =  5.0
			H = 10.0
			G = 20.0

		This number is also used in the Knockdown rules

		 -->
	    <field>ICON-SIZE</field>
	    <default>2.5</default>
	</icon-size>

	<icon-altitude>
	    <field>ALTITUDE</field>
	</icon-altitude>
	<light-radius>
	    <field>LIGHT</field>
	    <default>1.0</default>
	</light-radius>
	<sound-file-field>SOUND</sound-file-field>
	<effects-file>kw_effects</effects-file>
	<desc-file>docs/desc2nd.xml</desc-file>
	<cur-xp-field>EXPERIENCE</cur-xp-field>
	<next-xp-field>NEXT-LEVEL</next-xp-field>
    </base-rules>
    <calendar>
	<minutes-per-hour>60</minutes-per-hour>
	<hours-per-day>24</hours-per-day>
	<days>
	    <day>Day 1 Trall</day>
	    <day>Day 2 Trall ___ de</day>
	    <day>Day 3 Lad ___ de</day>
	    <day>Day 4 Ced ___ de</day>
	    <day>Day 5 Be ___ de</day>
	    <day>Day 6 Pen ___ de</day>
	    <day>Day 7 Mid ___ de</day>
	    <day>Day 8 Ko ___ de</day>
	    <day>Day 9 See ___ de</day>
	    <day>Day 10 Fin ___ de</day>
	    <day>Day 11 Trall ___ tre</day>
	    <day>Day 12 Lad ___ tre</day>
	    <day>Day 13 Ced ___ tre</day>
	    <day>Day 14 Be ___ tre</day>
	    <day>Day 15 Pen ___ tre</day>
	    <day>Day 16 Mid ___ tre</day>
	    <day>Day 17 Ko ___ tre</day>
	    <day>Day 18 See ___ tre</day>
	    <day>Day 19 Fin ___ tre</day>
	    <day>Day 20 Trall ___ se</day>
	    <day>Day 21 Lad ___ se</day>
	    <day>Day 22 Ced ___ se</day>
	    <day>Day 23 Be ___ se</day>
	    <day>Day 24 Pen ___ se</day>
	    <day>Day 25 Mid ___ se</day>
	    <day>Day 26 Ko ___ se</day>
	    <day>Day 27 See ___ se</day>
	    <day>Day 28 Fin ___ se</day>
	</days>
	<months>
	    <month>
		<name>Din {Mid Spring}</name>
		<num-days>28</num-days>
	    </month>
	    <month>
		<name>Sow {Late Spring}</name>
		<num-days>28</num-days>
	    </month>
	    <month>
		<name>Lec {Early Summer}</name>
		<num-days>28</num-days>
	    </month>
	    <month>
		<name>Ze {Mid Summer}</name>
		<num-days>28</num-days>
	    </month>
	    <month>
		<name>Sin {Late Summer}</name>
		<num-days>28</num-days>
	    </month>
	    <month>
		<name>Spe {Early Fall}</name>
		<num-days>28</num-days>
	    </month>
	    <month>
		<name>Bel {Mid Fall}</name>
		<num-days>28</num-days>
	    </month>
	    <month>
		<name>Eap {Late Fall}</name>
		<num-days>28</num-days>
	    </month>
	    <month>
		<name>Ohm {Early Winter}</name>
		<num-days>28</num-days>
	    </month>
	    <month>
		<name>Fey {Mid Winter}</name>
		<num-days>28</num-days>
	    </month>
	    <month>
		<name>Kye {Late Winter}</name>
		<num-days>28</num-days>
	    </month>
	    <month>
		<name>Man {Early Spring}</name>
		<num-days>28</num-days>
	    </month>
	</months>
    </calendar>

    <tool-tips>
	<!-- The following represents what the GM sees at all times and what
	     players see when "Show full detail" has been turned on.  Some
	     fields, however, will not appear to a client if the "Show
	     condition" flag has been turned off.  Which is which should be
	     apparent based on the tags used.  Feel free to modify/restrict
	     fields as you see fit, of course.
	-->
		<button>
		    <button-label>Init</button-label>
		    <type>init</type>
		    <raw-label>INIT</raw-label>
		    <exclude-value/>
		    <ignore-targets/>
		    <pre-roll>Initiative: {d10$INIT}</pre-roll>
		</button>
	<full-detail>
	    <format>p</format>
	    <format>b</format>
	    <field>NAME</field>
	    <format>/b</format>
	    <format>p</format>
	    <text>Altitude:&nbsp;</text>
	    <format>b</format>
	    <field>ALTITUDE</field>
	    <format>/b</format>
	    <format>p</format>
	    <text>Race:&nbsp;</text>
	    <format>b</format>
	    <field>RACE</field>
	    <format>/b</format>
	    <text>&nbsp;Class:&nbsp;</text>
	    <format>b</format>
	    <field>CLASS</field>
	    <format>/b</format>
	    <text>&nbsp;Level:&nbsp;</text>
	    <format>b</format>
	    <field>LEVEL</field>
	    <format>/b</format>
	    <format>p</format>
	    <text-if-show-cond>HPs:&nbsp;</text-if-show-cond>
	    <format-if-show-cond>b</format-if-show-cond>
	    <field-if-show-cond>CUR_HIT_POINTS</field-if-show-cond>
	    <format-if-show-cond>/b</format-if-show-cond>
	    <text-if-show-cond>/</text-if-show-cond>
	    <format-if-show-cond>b</format-if-show-cond>
	    <field-if-show-cond>MAX_HIT_POINTS</field-if-show-cond>
	    <format-if-show-cond>/b</format-if-show-cond>
	    <format-if-show-cond>p</format-if-show-cond>
	    <text>AC:&nbsp;</text>
	    <format>b</format>
	    <field>AC_FINAL</field>
	    <format>/b</format>
	    <format>p</format>
	    <text>NEXT-LEVELC1:&nbsp;</text>
	    <format>b</format>
	    <field>NEXT-LEVELC1</field>
	<cur-c1xp-field>EXPERIENCEC1</cur-c1xp-field>
	<next-c1xp-field>NEXT-LEVELC1</next-c1xp-field>
	    <format>/b</format>
	    <format>p</format>
	    <text>NEXT-LEVELC2:&nbsp;</text>
	    <format>b</format>
	    <field>NEXT-LEVELC2</field>
	<cur-c2xp-field>EXPERIENCEC2</cur-c2xp-field>
	<next-c2xp-field>NEXT-LEVELC2</next-c2xp-field>
	    <format>/b</format>
	    <format>p</format>
	    <text>NEXT-LEVELC3:&nbsp;</text>
	    <format>b</format>
	    <field>NEXT-LEVELC3</field>
	<cur-c3xp-field>EXPERIENCEC3</cur-c3xp-field>
	<next-c3xp-field>NEXT-LEVELC3</next-c3xp-field>
	    <format>/b</format>
	</full-detail>
	<!--  If you'd like some information to be available to players when
	      "Show Full Detail" is turned off, then uncomment the following
	      block and add the fields you'd them to see.
	<partial-detail>
	    <field>NAME</field>
	</partial-detail>
	-->
    </tool-tips>
    <dice>
	<die>
	    <id>d4</id>
	    <sides>4</sides>
	    <how-many>1</how-many>
	</die>
	<die>
	    <id>d6</id>
	    <sides>6</sides>
	    <how-many>1</how-many>
	</die>
	<die>
	    <id>d8</id>
	    <sides>8</sides>
	    <how-many>1</how-many>
	</die>
	<die>
	    <id>d10</id>
	    <sides>10</sides>
	    <how-many>1</how-many>
	</die>
	<die>
	    <id>d20</id>
	    <sides>20</sides>
	    <how-many>1</how-many>
	</die>
	<die>
	    <id>d100</id>
	    <sides>100</sides>
	    <how-many>1</how-many>
	</die>
    </dice>
    <conditions>
	<apply-to>
	    <current-field>CUR_HIT_POINTS</current-field>
	    <maximum-field>MAX_HIT_POINTS</maximum-field>
	</apply-to>
	<condition>
	    <greater-or-equal-value>1.0</greater-or-equal-value>
	    <label>Unharmed</label>
	</condition>
	<condition>
	    <greater-or-equal-value>0.75</greater-or-equal-value>
	    <label>Lightly Wounded</label>
	</condition>
	<condition>
	    <greater-or-equal-value>0.50</greater-or-equal-value>
	    <label>Moderately Wounded</label>
	</condition>
	<condition>
	    <greater-or-equal-value>0.25</greater-or-equal-value>
	    <label>Heavily Wounded</label>
	</condition>
	<condition>
	    <greater-value>0.00</greater-value>
	    <label>Massively Wounded</label>
	</condition>
	<condition>
	    <current-equals>0</current-equals>
	    <label>Disabled</label>
	</condition>
	<condition>
	    <current-greater-or-equal>-9</current-greater-or-equal>
	    <label>Dying</label>
	</condition>
	<condition>
	    <current-less-or-equal>-10</current-less-or-equal>
	    <label>Dead</label>
	</condition>
    </conditions>
    <expression-tabs>
	<expression-tab>
	    <source-id>COMBAT</source-id>
	    <source-id>WEAPONS</source-id>
	    <name>Attack/Damage</name>
	    <icon>attack.gif</icon>
	    <tooltip>Attack / Damage</tooltip>
            <!--  It seems that this button is almost never used.  If you miss
                  it, feel free to uncomment this block and put it back.
	    <button>
		<button-label>Attack of Opportunity</button-label>
		<type>toggle</type>
		<pre-roll>[Attack of Opportunity]&nbsp;</pre-roll>
	    </button>
            -->
	    <!--
	    <button>
		<button-label>Max Roll</button-label>
		<type>toggle</type>
		<raw-label>maxRoll</raw-label>
		<exclude-value/>
		<ignore-targets/>
		<max-roll/>
		<pre-roll><b>[MAX ROLL] </b></pre-roll>
		<tooltip>Maximize the result in the roll.</tooltip>
	    </button>
	    -->
	    <button>
		<button-label>+2</button-label>
		<type>toggle</type>
		<raw-label>plus2</raw-label>
		<!-- There *is* no value, so it must be excluded -->
		<exclude-value/>
		<ignore-targets/>
		<pre-roll><b>[+2] </b></pre-roll>
		<add-to-roll>2</add-to-roll>
		<tooltip>Add a "+2" to the next roll.</tooltip>
	    </button>
	    <button>
		<button-label>-2</button-label>
		<type>toggle</type>
		<raw-label>minus2</raw-label>
		<!-- There *is* no value, so it must be excluded -->
		<exclude-value/>
		<ignore-targets/>
		<pre-roll><b>[-2] </b></pre-roll>
		<add-to-roll>-2</add-to-roll>
		<tooltip>Add a "-2" to the next roll.</tooltip>
	    </button>
	    <button>
		<button-label>1/2</button-label>
		<type>toggle</type>
		<raw-label>half</raw-label>
		<!-- There *is* no value, so it must be excluded -->
		<exclude-value/>
		<ignore-targets/>
		<pre-roll><b>[Half] </b></pre-roll>
		<add-to-roll>*0.5</add-to-roll>
		<tooltip>Halve the next roll.</tooltip>
	    </button>
	    <button>
		<button-label>*2</button-label>
		<type>toggle</type>
		<raw-label>double</raw-label>
		<!-- There *is* no value, so it must be excluded -->
		<exclude-value/>
		<ignore-targets/>
		<pre-roll><b>[Double] </b></pre-roll>
		<add-to-roll>*2</add-to-roll>
		<tooltip>Double the result of the next roll.</tooltip>
	    </button>
            <combo>
                <first-label>Pick</first-label>
		<button>
		    <button-label>Init</button-label>
		    <type>init</type>
		    <raw-label>INIT</raw-label>
		    <exclude-value/>
		    <ignore-targets/>
		    <pre-roll>Initiative: {d10$INIT}</pre-roll>
		</button>
		<button>
		    <button-label>Stabilize</button-label>
		    <type>button</type>
		    <raw-label>stabilize</raw-label>
		    <!-- There *is* no value, so it must be excluded -->
		    <exclude-value/>
		    <ignore-targets/>
		    <parse-script>3rdEdition/stabilization_check.kws</parse-script>
		</button>
		<button>
		    <!-- This creates a button in the dice panel that does not
			 have a corresponding interface element on the character
			 sheet.  We use these for special-purpose situations, like
			 attacks of opportunity. -->
		    <button-label>Grapple</button-label>
		    <type>button</type>
		    <pre-roll>Grapple: {d20$GM}</pre-roll>
		    <raw-label>Grapple</raw-label>
		    <exclude-value/>
		</button>
                <button>
                    <button-label>d4</button-label>
                    <type>button</type>
                    <raw-label>d4</raw-label>
                    <pre-roll>{d4}</pre-roll>
                    <ignore-targets/>
                    <exclude-value/>
                </button>
                <button>
                    <button-label>d6</button-label>
                    <type>button</type>
                    <raw-label>d6</raw-label>
                    <pre-roll>{d6}</pre-roll>
                    <ignore-targets/>
                    <exclude-value/>
                </button>
                <button>
                    <button-label>d8</button-label>
                    <type>button</type>
                    <raw-label>d8</raw-label>
                    <pre-roll>{d8}</pre-roll>
                    <ignore-targets/>
                    <exclude-value/>
                </button>
                <button>
                    <button-label>d10</button-label>
                    <type>button</type>
                    <raw-label>d10</raw-label>
                    <pre-roll>{d10}</pre-roll>
                    <ignore-targets/>
                    <exclude-value/>
                </button>
                <button>
                    <button-label>d12</button-label>
                    <type>button</type>
                    <raw-label>d12</raw-label>
                    <pre-roll>{d12}</pre-roll>
                    <ignore-targets/>
                    <exclude-value/>
                </button>
                <button>
                    <button-label>d20</button-label>
                    <type>button</type>
                    <raw-label>d20</raw-label>
                    <pre-roll>{d20}</pre-roll>
                    <ignore-targets/>
                    <exclude-value/>
                </button>
                <button>
                    <button-label>d100</button-label>
                    <type>button</type>
                    <raw-label>d100</raw-label>
                    <pre-roll>{d100}</pre-roll>
                    <ignore-targets/>
                    <exclude-value/>
                </button>
            </combo>
	    <check-hit>
		<ac-type>AC_FINAL</ac-type>
	    </check-hit>
	    <apply-damage>
		<hp-type>CUR_HIT_POINTS</hp-type>
	    </apply-damage>
	</expression-tab>
	<expression-tab>
	    <source-id>ABILITY_CHECKS</source-id>
	    <name>Ability Checks</name>
	    <icon>acheck.gif</icon>
	    <tooltip>Ability Checks</tooltip>
	</expression-tab>
		<expression-tab>
		<source-id>die100SKILLS</source-id>
	    <name>Skills/Detections</name>
	    <icon>defs/skills.gif</icon>
	    <tooltip>Skills</tooltip>
	</expression-tab>
	<expression-tab>
	    <source-id>SAVING_THROWS</source-id>
	    <name>Saving Throws</name>
	    <icon>saves.gif</icon>
	    <tooltip>Saving Throws</tooltip>
	</expression-tab>
	<expression-tab>
	    <source-id>PROFS</source-id>
	    <name>Proficiencies</name>
	    <icon>skill.gif</icon>
	    <tooltip>Proficiency checks</tooltip>
	</expression-tab>
	<expression-tab>
	    <name>Spells</name>
	    <icon>spells.gif</icon>
	    <tooltip>Spells</tooltip>
	    <check-hit>
		<ac-type>MAGIC_RESISTANCE</ac-type>
	    </check-hit>
	    <source-id>SPELLS</source-id>
		<apply-damage>
		<hp-type>CUR_HIT_POINTS</hp-type>
	    </apply-damage>
	</expression-tab>
	<expression-tab>
	    <name>Magic Items</name>
	    <icon>stafflazerus.gif</icon>
	    <tooltip>Magic Items</tooltip>
	    <source-id>MAGIC-ITEMS</source-id>
	    <apply-damage>
		<hp-type>CUR_HIT_POINTS</hp-type>
	    </apply-damage>
	</expression-tab>
	<expression-tab>
	    <name>Custom</name>
	    <tool-tip>Custom Expressions</tool-tip>
	    <use-name-in-tab/>
	    <source-id>CUSTOM_EXPRS</source-id>
	</expression-tab>
    </expression-tabs>
    <page>
	<name>Attributes</name>
	<tab-icon>acheck.gif</tab-icon>
	<section>
	    <layout>half</layout>
	    <portrait/>
	    <list-pair>
		<name>Personal Information</name>
		<table-tag>personal-info</table-tag>
		<first-column-size>30</first-column-size>
		<second-column-size>100</second-column-size>
		<table-row>
		    <name>Name:</name>
		    <tag>name</tag>
		    <id>NAME</id>
		</table-row>
		<table-row>
		    <name>Player:</name>
		    <tag>player</tag>
		</table-row>
		<table-row>
		    <name>Class:</name>
		    <tag>class</tag>
		    <id>CLASS</id>
		</table-row>
		<table-row>
		    <name>Kit:</name>
		    <tag>Kit</tag>
		    <id>KIT</id>
		</table-row>
		<table-row>
		    <name>Hometown:</name>
		    <tag>Hometown</tag>
		    <id>HOMETOWN</id>
		</table-row>
		<table-row>
		    <name>Date of Birth:</name>
		    <tag>dob</tag>
		    <id>DOB</id>
		</table-row>
		<table-row>
		    <name>Race:</name>
		    <tag>race</tag>
		    <id>RACE</id>
		</table-row>

		<table-row>
		    <name>Size:</name>
		    <tag>size</tag>
		    <id>SIZE</id>
		</table-row>
		<table-row>
		    <name>Alignment:</name>
		    <tag>alignment</tag>
		    <id>ALIGNMENT</id>
		</table-row>
		<table-row>
		    <name>Age/Sex:</name>
		    <tag>age-sex</tag>
		    <id>AGE-SEX</id>
		</table-row>
		<table-row>
		    <name>Height/Weight:</name>
		    <tag>height-weight</tag>
		    <id>HEIGHT-WEIGHT</id>
		</table-row>
		<table-row>
		    <name>Hair/Eyes:</name>
		    <tag>hair-eyes</tag>
		    <id>HAIR-EYES</id>
		</table-row>
		<table-row>
		    <name>Speed:</name>
		    <tag>speed</tag>
		    <id>SPEED</id>
		</table-row>
		<table-row>
		    <name>Hit Dice:</name>
		    <id>HIT_DICE</id>
		    <tag>hit-dice</tag>
		</table-row>
		<table-row>
		    <name>Experience:</name>
		    <tag>experience</tag>
		    <id>EXPERIENCE</id>
		</table-row>
		<table-row>
		    <name>ExperienceC1:</name>
		    <tag>experienceC1</tag>
		    <id>EXPERIENCEC1</id>
		</table-row>
		<table-row>
		    <name>ExperienceC2:</name>
		    <tag>experienceC2</tag>
		    <id>EXPERIENCEC2</id>
		</table-row>
		<table-row>
		    <name>ExperienceC3:</name>
		    <tag>experienceC3</tag>
		    <id>EXPERIENCEC3</id>
		</table-row>
		<table-row>
		    <name>Next Level:</name>
		    <tag>next-level</tag>
		    <id>NEXT-LEVEL</id>
		</table-row>
		<table-row>
		    <name>Next LevelC1:</name>
		    <tag>next-levelC1</tag>
		    <id>NEXT-LEVELC1</id>
		</table-row>
		<table-row>
		    <name>Next LevelC2:</name>
		    <tag>next-levelC2</tag>
		    <id>NEXT-LEVELC2</id>
		</table-row>
		<table-row>
		    <name>Next LevelC3:</name>
		    <tag>next-levelC3</tag>
		    <id>NEXT-LEVELC3</id>
		</table-row>

	    </list-pair>
	</section>
	<section>
	    <layout>half</layout>
	    <list-pair>
		<name>Class Levels</name>
		<table-tag>level-info</table-tag>
		<first-column-size>40</first-column-size>
		<second-column-size>100</second-column-size>
		<table-row>
		    <name>Character Level:</name>
		    <tag>level</tag>
		    <token-name>L</token-name>
		    <id>LEVEL</id>
		    <default>1</default>
		    <modifiers>
			<modifier>LEVELtempMod</modifier>
		    </modifiers>
		</table-row>
		<table-row>
		    <name>Bard:</name>
		    <tag>bard-level</tag>
		    <token-name>BAL</token-name>
		    <id>BARD-LEVEL</id>
		</table-row>
		<table-row>
		    <name>Cleric:</name>
		    <tag>cleric-level</tag>
		    <token-name>CL</token-name>
		    <id>CLERIC-LEVEL</id>
		</table-row>
		<table-row>
		    <name>Druid:</name>
		    <tag>druid-level</tag>
		    <token-name>DL</token-name>
		    <id>DRUID-LEVEL</id>
		</table-row>
		<table-row>
		    <name>Warrior:</name>
		    <tag>warrior-level</tag>
		    <token-name>WARL</token-name>
		    <id>WARRIOR-LEVEL</id>
		</table-row>
		<table-row>
		    <name>Paladin:</name>
		    <tag>paladin-level</tag>
		    <token-name>PL</token-name>
		    <id>PALADIN-LEVEL</id>
		</table-row>
		<table-row>
		    <name>Ranger:</name>
		    <tag>ranger-level</tag>
		    <token-name>RL</token-name>
		    <id>RANGER-LEVEL</id>
		</table-row>
		<table-row>
		    <name>Thief:</name>
		    <tag>rogue-level</tag>
		    <token-name>RGL</token-name>
		    <id>ROGUE-LEVEL</id>
		</table-row>
		<table-row>
		    <name>Wizard:</name>
		    <tag>wizard-level</tag>
		    <token-name>WL</token-name>
		    <id>WIZARD-LEVEL</id>
		</table-row>
	    </list-pair>
	</section>
	<section>
	    <layout>full</layout>
	    <list-pair>
		<name>Ability Scores</name>
		<id>ABILITY_CHECKS</id>
		<table-tag>abilities</table-tag>
		<first-column-size>30</first-column-size>
		<second-column-size>40</second-column-size>
		<table-row>
		    <name>STR:</name>
		    <tag>str</tag>
		    <id>STR</id>
		    <default>10</default>
		    <token-name>S</token-name>
		    <modifiers>
			<modifier>STRtempMod</modifier>
		    </modifiers>
		    <expression>
			<type>attrib</type>
			<target-value>${V}</target-value>
			<low-to-succeed/>
			<exclude-value/>
			<raw-label>STR</raw-label>
			<button-label>STR (${V})</button-label>
			<pre-roll>STR check:&nbsp;</pre-roll>
			<die-to-use>d20</die-to-use>
		    </expression>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;&nbsp;&nbsp;Exceptional STR:</name>
		    <tag>x-str</tag>
		    <id>X-STR</id>
		    <token-name>XSTR</token-name>
		</table-row>
		<table-row>
			<name>&nbsp;&nbsp;STAM:</name>
			<tag>stam</tag>
			<id>STAM</id>
		    <default>10</default>
			<token-name>ST</token-name>
			<modifiers>
				<modifier>STRtempMod</modifier>
			</modifiers>
			<expression>
				<type>attrib</type>
				<target-value>${V}</target-value>
				<low-to-succeed/>
				<exclude-value/>
				<raw-label>STAM</raw-label>
				<button-label>STAM (${V})</button-label>
				<pre-roll>STAM check:&nbsp;</pre-roll>
				<die-to-use>d20</die-to-use>
			</expression>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;&nbsp;&nbsp;Weight Allowance:</name>
		    <tag>weight-allowance</tag>
		    <id>WEIGHT-ALLOWANCE</id>
		</table-row>
		<table-row>
			<name>&nbsp;&nbsp;MUSC:</name>
			<tag>musc</tag>
			<id>musc</id>
		    <default>10</default>
			<token-name>MU</token-name>
			<modifiers>
				<modifier>STRtempMod</modifier>
			</modifiers>
			<expression>
				<type>attrib</type>
				<target-value>${V}</target-value>
				<low-to-succeed/>
				<exclude-value/>
				<raw-label>MUSC</raw-label>
				<button-label>MUSC (${V})</button-label>
				<pre-roll>MUSC check:&nbsp;</pre-roll>
				<die-to-use>d20</die-to-use>
			</expression>
		</table-row>		
		<table-row>
		    <name>&nbsp;&nbsp;&nbsp;&nbsp;Attack Adjust:</name>
		    <tag>atk-adj</tag>
		    <id>ATK-ADJ</id>
		    <default>+0</default>
		    <token-name>ATK</token-name>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;&nbsp;&nbsp;Damage Adjust:</name>
		    <tag>dmg-adj</tag>
		    <id>DMG-ADJ</id>
		    <default>+0</default>
		    <token-name>DMG</token-name>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;&nbsp;&nbsp;Max Press:</name>
		    <tag>max-press</tag>
		    <id>MAX-PRESS</id>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;&nbsp;&nbsp;Open Doors:</name>
		    <tag>open-doors</tag>
		    <id>OPEN-DOORS</id>
		    <expression>
			<type>attrib</type>
			<target-value>${V}</target-value>
			<low-to-succeed/>
			<exclude-value/>
			<raw-label>Open Doors</raw-label>
			<button-label>Open Doors (${V})</button-label>
			<pre-roll>Open Doors check:&nbsp;</pre-roll>
			<die-to-use>d20</die-to-use>
		    </expression>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;&nbsp;&nbsp;Open Locked Doors:</name>
		    <tag>open-locked-doors</tag>
		    <id>OPEN-LOCKED-DOORS</id>
		    <expression>
			<type>attrib</type>
			<target-value>${V}</target-value>
			<low-to-succeed/>
			<exclude-value/>
			<raw-label>Open Locked Doors</raw-label>
			<button-label>Open Locked Doors (${V})</button-label>
			<pre-roll>Open Locked Doors check:&nbsp;</pre-roll>
			<die-to-use>d20</die-to-use>
		    </expression>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;&nbsp;&nbsp;Bend Bars/Lift Gate:</name>
		    <tag>bb-lg</tag>
		    <id>BB-LG</id>
		    <expression>
			<type>attrib</type>
			<target-value>${V}</target-value>
			<low-to-succeed/>
			<exclude-value/>
			<raw-label>Bend Bars/Lift Gate</raw-label>
			<button-label>Bend Bars/Lift Gate (${V})</button-label>
			<pre-roll>Bend Bars/Lift Gate check:&nbsp;</pre-roll>
			<die-to-use>d100</die-to-use>
		    </expression>
		</table-row>
		<table-row>
		    <name>DEX:</name>
		    <tag>dex</tag>
		    <id>DEX</id>
		    <default>10</default>
		    <token-name>D</token-name>
		    <modifiers>
			<modifier>DEXtempMod</modifier>
		    </modifiers>
		    <expression>
			<type>attrib</type>
			<target-value>${V}</target-value>
			<low-to-succeed/>
			<exclude-value/>
			<raw-label>DEX</raw-label>
			<button-label>DEX (${V})</button-label>
			<pre-roll>DEX check:&nbsp;</pre-roll>
			<die-to-use>d20</die-to-use>
		    </expression>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;AIM:</name>
		    <tag>aim</tag>
		    <id>AIM</id>
		    <default>10</default>
		    <token-name>AI</token-name>
		    <modifiers>
			<modifier>DEXtempMod</modifier>
		    </modifiers>
		    <expression>
			<type>attrib</type>
			<target-value>${V}</target-value>
			<low-to-succeed/>
			<exclude-value/>
			<raw-label>AIM</raw-label>
			<button-label>AIM (${V})</button-label>
			<pre-roll>AIM check:&nbsp;</pre-roll>
			<die-to-use>d20</die-to-use>
		    </expression>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;&nbsp;&nbsp;Missile Attack Adjust:</name>
		    <tag>missile-atk-adjust</tag>
		    <id>MISSILE-ATK-ADJUST</id>
		    <token-name>MATK</token-name>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;Balance:</name>
		    <tag>bal</tag>
		    <id>BAL</id>
		    <default>10</default>
		    <token-name>BA</token-name>
		    <modifiers>
			<modifier>DEXtempMod</modifier>
		    </modifiers>
		    <expression>
			<type>attrib</type>
			<target-value>${V}</target-value>
			<low-to-succeed/>
			<exclude-value/>
			<raw-label>BAL</raw-label>
			<button-label>BAL (${V})</button-label>
			<pre-roll>BAL check:&nbsp;</pre-roll>
			<die-to-use>d20</die-to-use>
		    </expression>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;&nbsp;&nbsp;Reaction Adjust:</name>
		    <tag>reaction-adjust</tag>
		    <id>REACTION-ADJUST</id>
		    <token-name>RA</token-name>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;&nbsp;&nbsp;Defensive Adjust:</name>
		    <tag>defense-adjust</tag>
		    <id>DEFENSE-ADJUST</id>
		    <token-name>DEF</token-name>
		</table-row>
		<table-row>
		    <name>CON:</name>
		    <tag>con</tag>
		    <id>CON</id>
		    <default>10</default>
		    <token-name>C</token-name>
		    <modifiers>
			<modifier>CONtempMod</modifier>
		    </modifiers>
		    <expression>
			<type>attrib</type>
			<target-value>${V}</target-value>
			<low-to-succeed/>
			<exclude-value/>
			<raw-label>CON</raw-label>
			<button-label>CON (${V})</button-label>
			<pre-roll>CON check:&nbsp;</pre-roll>
			<die-to-use>d20</die-to-use>
		    </expression>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;Health:</name>
		    <tag>hel</tag>
		    <id>HEL</id>
		    <default>10</default>
		    <token-name>HE</token-name>
		    <modifiers>
			<modifier>CONtempMod</modifier>
		    </modifiers>
		    <expression>
			<type>attrib</type>
			<target-value>${V}</target-value>
			<low-to-succeed/>
			<exclude-value/>
			<raw-label>HEL</raw-label>
			<button-label>HEL (${V})</button-label>
			<pre-roll>HEL check:&nbsp;</pre-roll>
			<die-to-use>d20</die-to-use>
		    </expression>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;&nbsp;&nbsp;System Shock:</name>
		    <tag>system-shock</tag>
		    <id>SYSTEM-SHOCK</id>
		    <expression>
			<type>attrib</type>
			<target-value>${V}</target-value>
			<low-to-succeed/>
			<exclude-value/>
			<raw-label>System Shock</raw-label>
			<button-label>System Shock (${V})</button-label>
			<pre-roll>System Shock check:&nbsp;</pre-roll>
			<die-to-use>d100</die-to-use>
		    </expression>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;&nbsp;&nbsp;Poison Save:</name>
		    <tag>poison-save</tag>
		    <id>POISON-SAVE</id>
		    <token-name>PS</token-name>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;Fitness:</name>
		    <tag>fit</tag>
		    <id>FIT</id>
		    <default>10</default>
		    <token-name>FI</token-name>
		    <modifiers>
			<modifier>CONtempMod</modifier>
		    </modifiers>
		    <expression>
			<type>attrib</type>
			<target-value>${V}</target-value>
			<low-to-succeed/>
			<exclude-value/>
			<raw-label>FIT</raw-label>
			<button-label>FIT (${V})</button-label>
			<pre-roll>FIT check:&nbsp;</pre-roll>
			<die-to-use>d20</die-to-use>
		    </expression>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;&nbsp;&nbsp;Hit Point Adjust:</name>
		    <tag>hp-adjust</tag>
		    <id>HP-ADJUST</id>
		    <token-name>HPADJ</token-name>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;&nbsp;&nbsp;Resurrection Survival:</name>
		    <tag>res-survive</tag>
		    <id>RES-SURVIVE</id>
		    <expression>
			<type>attrib</type>
			<target-value>${V}</target-value>
			<low-to-succeed/>
			<exclude-value/>
			<raw-label>Resurrection Survival</raw-label>
			<button-label>Resurrection Survival (${V})</button-label>
			<pre-roll>Resurrection Survival check:&nbsp;</pre-roll>
			<die-to-use>d100</die-to-use>
		    </expression>
		</table-row>
		<table-row>
		    <name>INT:</name>
		    <tag>int</tag>
		    <id>INT</id>
		    <default>10</default>
		    <token-name>I</token-name>
		    <modifiers>
			<modifier>INTtempMod</modifier>
		    </modifiers>
		    <expression>
			<type>attrib</type>
			<target-value>${V}</target-value>
			<low-to-succeed/>
			<exclude-value/>
			<raw-label>INT</raw-label>
			<button-label>INT (${V})</button-label>
			<pre-roll>INT check:&nbsp;</pre-roll>
			<die-to-use>d20</die-to-use>
		    </expression>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;Reason:</name>
		    <tag>rea</tag>
		    <id>REA</id>
		    <default>10</default>
		    <token-name>RE</token-name>
		    <modifiers>
			<modifier>INTtempMod</modifier>
		    </modifiers>
		    <expression>
			<type>attrib</type>
			<target-value>${V}</target-value>
			<low-to-succeed/>
			<exclude-value/>
			<raw-label>REA</raw-label>
			<button-label>REA (${V})</button-label>
			<pre-roll>REA check:&nbsp;</pre-roll>
			<die-to-use>d20</die-to-use>
		    </expression>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;&nbsp;&nbsp;Max Spell Level:</name>
		    <tag>max-spell-level</tag>
		    <id>MAX-SPELL-LEVEL</id>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;&nbsp;&nbsp;Max Spells/Level:</name>
		    <tag>max-spells-per-level</tag>
		    <id>MAX-SPELLS-PER-LEVEL</id>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;&nbsp;&nbsp;Illusion Immunity:</name>
		    <tag>illusion-immunity</tag>
		    <id>ILLUSION-IMMUNITY</id>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;Knowledge:</name>
		    <tag>kno</tag>
		    <id>KNO</id>
		    <default>10</default>
		    <token-name>KN</token-name>
		    <modifiers>
			<modifier>INTtempMod</modifier>
		    </modifiers>
		    <expression>
			<type>attrib</type>
			<target-value>${V}</target-value>
			<low-to-succeed/>
			<exclude-value/>
			<raw-label>KNO</raw-label>
			<button-label>KNO (${V})</button-label>
			<pre-roll>KNO check:&nbsp;</pre-roll>
			<die-to-use>d20</die-to-use>
		    </expression>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;&nbsp;&nbsp;Add'l Languages:</name>
		    <tag>addl-lang</tag>
		    <id>ADDL-LANG</id>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;&nbsp;&nbsp;% Chance Learn Spell:</name>
		    <tag>chance-to-learn-spell</tag>
		    <id>CHANCE-TO-LEARN-SPELL</id>
		    <expression>
			<type>attrib</type>
			<target-value>${V}</target-value>
			<low-to-succeed/>
			<exclude-value/>
			<raw-label>% Chance Learn Spell</raw-label>
			<button-label>% Learn Spell (${V})</button-label>
			<pre-roll>Learn Spell check:&nbsp;</pre-roll>
			<die-to-use>d100</die-to-use>
		    </expression>
		</table-row>
		<table-row>
		    <name>WIS:</name>
		    <tag>wis</tag>
		    <id>WIS</id>
		    <default>10</default>
		    <token-name>W</token-name>
		    <modifiers>
			<modifier>WIStempMod</modifier>
		    </modifiers>
		    <expression>
			<type>attrib</type>
			<target-value>${V}</target-value>
			<low-to-succeed/>
			<exclude-value/>
			<raw-label>WIS</raw-label>
			<button-label>WIS (${V})</button-label>
			<pre-roll>WIS check:&nbsp;</pre-roll>
			<die-to-use>d20</die-to-use>
		    </expression>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;Intuition:</name>
		    <tag>inu</tag>
		    <id>INU</id>
		    <default>10</default>
		    <token-name>IU</token-name>
		    <modifiers>
			<modifier>WIStempMod</modifier>
		    </modifiers>
		    <expression>
			<type>attrib</type>
			<target-value>${V}</target-value>
			<low-to-succeed/>
			<exclude-value/>
			<raw-label>INU</raw-label>
			<button-label>INU (${V})</button-label>
			<pre-roll>INU check:&nbsp;</pre-roll>
			<die-to-use>d20</die-to-use>
		    </expression>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;&nbsp;&nbsp;Bonus Spells:</name>
		    <tag>bonus-spells</tag>
		    <id>BONUS-SPELLS</id>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;&nbsp;&nbsp;Chance of Spell Failure:</name>
		    <tag>spell-failure</tag>
		    <id>SPELL-FAILURE</id>
		    <expression>
			<type>attrib</type>
			<target-value>${V}</target-value>
			<low-to-succeed/>
			<exclude-value/>
			<raw-label>Spell Failure</raw-label>
			<button-label>Spell Failure (${V})</button-label>
			<pre-roll>Spell Failure check:&nbsp;</pre-roll>
			<die-to-use>d100</die-to-use>
		    </expression>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;Willpower:</name>
		    <tag>wil</tag>
		    <id>WIL</id>
		    <default>10</default>
		    <token-name>WI</token-name>
		    <modifiers>
			<modifier>WIStempMod</modifier>
		    </modifiers>
		    <expression>
			<type>attrib</type>
			<target-value>${V}</target-value>
			<low-to-succeed/>
			<exclude-value/>
			<raw-label>WIL</raw-label>
			<button-label>WIL (${V})</button-label>
			<pre-roll>WIL check:&nbsp;</pre-roll>
			<die-to-use>d20</die-to-use>
		    </expression>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;&nbsp;&nbsp;Magical Defense Adjust:</name>
		    <tag>magic-def-adj</tag>
		    <id>MAGIC-DEF-ADJ</id>
		    <token-name>MDADJ</token-name>
		</table-row>
		<table-row>

		    <name>&nbsp;&nbsp;&nbsp;&nbsp;Spell Immunity:</name>
		    <tag>spell-immunity</tag>
		    <id>SPELL-IMMUNITY</id>
		</table-row>
		<table-row>
		    <name>CHR:</name>
		    <tag>chr</tag>
		    <id>CHR</id>
		    <default>10</default>
		    <token-name>CH</token-name>
		    <modifiers>
			<modifier>CHRtempMod</modifier>
		    </modifiers>
		    <expression>
			<type>attrib</type>
			<target-value>${V}</target-value>
			<low-to-succeed/>
			<exclude-value/>
			<raw-label>CHR</raw-label>
			<button-label>CHR (${V})</button-label>
			<pre-roll>CHR check:&nbsp;</pre-roll>
			<die-to-use>d20</die-to-use>
		    </expression>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;Leadership:</name>
		    <tag>led</tag>
		    <id>LED</id>
		    <default>10</default>
		    <token-name>LD</token-name>
		    <modifiers>
			<modifier>CHRtempMod</modifier>
		    </modifiers>
		    <expression>
			<type>attrib</type>
			<target-value>${V}</target-value>
			<low-to-succeed/>
			<exclude-value/>
			<raw-label>LED</raw-label>
			<button-label>LED (${V})</button-label>
			<pre-roll>LED check:&nbsp;</pre-roll>
			<die-to-use>d20</die-to-use>
		    </expression>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;&nbsp;&nbsp;Loyalty Adjust:</name>
		    <tag>loyalty-adjust</tag>
		    <id>LOYALTY-ADJUST</id>
		    <token-name>LADJ</token-name>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;&nbsp;&nbsp;Max # of Henchmen:</name>
		    <tag>max-henchmen</tag>
		    <id>MAX-HENCHMEN</id>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;Appearance:</name>
		    <tag>apr</tag>
		    <id>APR</id>
		    <default>10</default>
		    <token-name>AP</token-name>
		    <modifiers>
			<modifier>CHRtempMod</modifier>
		    </modifiers>
		    <expression>
			<type>attrib</type>
			<target-value>${V}</target-value>
			<low-to-succeed/>
			<exclude-value/>
			<raw-label>APR</raw-label>
			<button-label>APR (${V})</button-label>
			<pre-roll>APR check:&nbsp;</pre-roll>
			<die-to-use>d20</die-to-use>
		    </expression>
		</table-row>
		<table-row>
		    <name>&nbsp;&nbsp;&nbsp;&nbsp;Reaction Adjust:</name>
		    <tag>reaction-adj</tag>
		    <id>REACTION-ADJ</id>
		    <token-name>RADJ</token-name>
		</table-row>
	    </list-pair>
	    <list-pair>
		<id>TEMP_MOD_TABLE</id>
		<name>Temporary Modifiers</name>
		<table-tag>temp-mods</table-tag>
		<first-column-size>40</first-column-size>
		<second-column-size>90</second-column-size>
		<table-row>
		    <name>Level:</name>
		    <token-name>LTM</token-name>
		    <tag>level-temp-mod</tag>
		    <id>LEVELtempMod</id>
		</table-row>
		<table-row>
		    <name>Attack:</name>
		    <token-name>ATM</token-name>
		    <tag>atk-temp-mod</tag>
		    <id>ATTACKtempMod</id>
		</table-row>
		<table-row>
		    <name>Damage:</name>
		    <token-name>DTM</token-name>
		    <tag>dmg-temp-mod</tag>
		    <id>DAMAGEtempMod</id>
		</table-row>
		<table-row>
		    <name>Armor Class:</name>
		    <token-name>ACTM</token-name>
		    <tag>ac-temp-mod</tag>
		    <id>ACtempMod</id>
		</table-row>
		<table-row>
		    <name>Current Hit Points:</name>
		    <token-name>CHPTM</token-name>
		    <tag>cur-hp-temp-mod</tag>
		    <id>CurHPtempMod</id>
		</table-row>
		<table-row>
		    <name>Max Hit Points:</name>
		    <token-name>MHPTM</token-name>
		    <tag>max-hp-temp-mod</tag>
		    <id>MaxHPtempMod</id>
		</table-row>
		<table-row>
		    <name>Altitude:</name>
		    <tag>alt-temp-mod</tag>
		    <id>ALTtempMod</id>
		    <token-name>ALT</token-name>
		</table-row>
		<table-row>
		    <name>Size:</name>
		    <token-name>SZTM</token-name>
		    <tag>size-temp-mod</tag>
		    <id>SIZEtempMod</id>
		</table-row>
		<table-row>
		    <name>STR:</name>
		    <token-name>STM</token-name>
		    <tag>str-temp-mod</tag>
		    <id>STRtempMod</id>
		</table-row>
		<table-row>
		    <name>DEX:</name>
		    <token-name>DXTM</token-name>
		    <tag>dex-temp-mod</tag>
		    <id>DEXtempMod</id>
		</table-row>
		<table-row>
		    <name>CON:</name>
		    <token-name>CTM</token-name>
		    <tag>con-temp-mod</tag>
		    <id>CONtempMod</id>
		</table-row>
		<table-row>
		    <name>INT:</name>
		    <token-name>ITM</token-name>
		    <tag>int-temp-mod</tag>
		    <id>INTtempMod</id>
		</table-row>
		<table-row>
		    <name>WIS:</name>
		    <token-name>WTM</token-name>
		    <tag>wis-temp-mod</tag>
		    <id>WIStempMod</id>
		</table-row>
		<table-row>
		    <name>CHR:</name>
		    <token-name>CHTM</token-name>
		    <tag>chr-temp-mod</tag>
		    <id>CHRtempMod</id>
		</table-row>
		<table-row>
		    <name>Paralysis, Poison or Death Save:</name>
		    <token-name>PPDTM</token-name>
		    <tag>ppd-temp-mod</tag>
		    <id>PPDtempMod</id>
		</table-row>
		<table-row>
		    <name>Rod, Staff or Wand Save:</name>
		    <token-name>RSWTM</token-name>
		    <tag>rsw-temp-mod</tag>
		    <id>RSWtempMod</id>
		</table-row>
		<table-row>
		    <name>Petrification/Polymorph Save:</name>
		    <token-name>PPTM</token-name>
		    <tag>pp-temp-mod</tag>
		    <id>PPtempMod</id>
		</table-row>
		<table-row>
		    <name>Breath Weapon Save:</name>
		    <token-name>BWTM</token-name>
		    <tag>bw-temp-mod</tag>
		    <id>BWtempMod</id>
		</table-row>
		<table-row>
		    <name>Magical Spell Save:</name>
		    <token-name>MSTM</token-name>
		    <tag>spell-temp-mod</tag>
		    <id>SPELLtempMod</id>
		</table-row>


		<table-row>
		    <name>Initiative:</name>
		    <token-name>INTM</token-name>
		    <tag>init-temp-mod</tag>
		    <id>INITtempMod</id>
		</table-row>
		<table-row>
		    <name>Magic Resistance:</name>
		    <token-name>MRTM</token-name>
		    <tag>mr-temp-mod</tag>
		    <id>MRtempMod</id>
		</table-row>
		<table-row>
		    <name>Proficiencies:</name>
		    <token-name>PTM</token-name>
		    <tag>prof-temp-mod</tag>
		    <id>PROFtempMod</id>
		</table-row>
	    </list-pair>
	</section>
	<section>
	    <layout>half</layout>
	    <list-pair>
		<name>Saving Throws</name>
		<id>SAVING_THROWS</id>
		<table-tag>saving-throws</table-tag>
		<first-column-size>50</first-column-size>
		<second-column-size>80</second-column-size>
		<table-row>
		    <name>Paralysis, Poison or Death:</name>
		    <tag>ppd</tag>
		    <id>PPD</id>
		    <default>16</default>
		    <modifiers>
			<modifier>PPDtempMod</modifier>
		    </modifiers>
		    <expression>
			<type>save</type>
			<target-value>${V}</target-value>

			<exclude-value/>			<raw-label>Paralysis, Poison or Death</raw-label>
			<button-label>Paralysis, Poison or Death (${V})</button-label>
			<pre-roll>Paralysis, Poison or Death save:&nbsp;</pre-roll>
			<die-to-use>d20</die-to-use>
		    </expression>
		</table-row>

		<table-row>
		    <name>Rod, Staff or Wand:</name>
		    <tag>rsw</tag>
		    <id>RSW</id>
		    <default>18</default>
		    <modifiers>
			<modifier>RSWtempMod</modifier>
		    </modifiers>
		    <expression>
			<type>save</type>
			<target-value>${V}</target-value>

			<exclude-value/>			<raw-label>Rod, Staff or Wand</raw-label>
			<button-label>Rod, Staff or Wand (${V})</button-label>
			<pre-roll>Rod, Staff or Wand save:&nbsp;</pre-roll>
			<die-to-use>d20</die-to-use>
		    </expression>
		</table-row>
		<table-row>
		    <name>Petrification or Polymorph:</name>
		    <tag>pp</tag>
		    <id>PP</id>
		    <default>17</default>
		    <modifiers>
			<modifier>PPtempMod</modifier>
		    </modifiers>
		    <expression>
			<type>save</type>
			<target-value>${V}</target-value>

			<exclude-value/>			<raw-label>Petrification or Polymorph</raw-label>
			<button-label>Petrification or Polymorph (${V})</button-label>
			<pre-roll>Petrification or Polymorph save:&nbsp;</pre-roll>
			<die-to-use>d20</die-to-use>
		    </expression>
		</table-row>
		<table-row>
		    <name>Breath Weapon:</name>
		    <tag>bw</tag>
		    <id>BW</id>
		    <default>20</default>
		    <modifiers>
			<modifier>BWtempMod</modifier>
		    </modifiers>
		    <expression>
			<type>save</type>
			<target-value>${V}</target-value>

			<exclude-value/>			<raw-label>Breath Weapon</raw-label>
			<button-label>Breath Weapon (${V})</button-label>
			<pre-roll>Breath Weapon save:&nbsp;</pre-roll>
			<die-to-use>d20</die-to-use>
		    </expression>
		</table-row>
		<table-row>
		    <name>Magical Spell:</name>
		    <tag>ms</tag>
		    <id>MS</id>
		    <default>19</default>
		    <modifiers>
			<modifier>SPELLtempMod</modifier>
		    </modifiers>
		    <expression>
			<type>save</type>
			<target-value>${V}</target-value>

			<exclude-value/>			<raw-label>Magical Spell</raw-label>
			<button-label>Magical Spell (${V})</button-label>
			<pre-roll>Magical Spell save:&nbsp;</pre-roll>
			<die-to-use>d20</die-to-use>
		    </expression>
		</table-row>

	    </list-pair>
	</section>


	<section>
	    <layout>half</layout>
	    <orientation>vertical</orientation>
	    <list-pair>
		<name>Misc. Attributes</name>
		<table-tag>misc-attributes</table-tag>
		<first-column-size>40</first-column-size>
		<second-column-size>90</second-column-size>
		<table-row>
		    <name>Altitude:</name>
		    <id>ALTITUDE</id>
		    <tag>altitude</tag>
		    <modifiers>
			<modifier>ALTtempMod</modifier>
		    </modifiers>
		</table-row>
		<table-row>
		    <name>Icon Size:</name>
		    <id>ICON-SIZE</id>
		    <tag>icon-size</tag>
		    <modifiers>
			<modifier>SIZEtempMod</modifier>
		    </modifiers>
		</table-row>
		<table-row>
		    <name>Light Radius:</name>
		    <id>LIGHT</id>
		    <tag>light-radius</tag>
		</table-row>
	    </list-pair>
	    <file-field>
		<name>Sound File:</name>
		<id>SOUND</id>
		<file-filter>
		    <name>Audio Files</name>
		    <filter>au</filter>
		    <filter>ogg</filter>
		    <filter>wav</filter>
		</file-filter>
		<tag>sound-file</tag>
		<size>20</size>
	    </file-field>
	</section>
	<section>
	    <layout>half</layout>
	    <list-pair>
		<name>Combat</name>
		<id>COMBAT</id>
		<table-tag>combat</table-tag>
		<first-column-size>50</first-column-size>
		<second-column-size>90</second-column-size>
		<table-row>
		    <name>Current Hit Points:</name>
		    <tag>cur-hit-points</tag>
		    <id>CUR_HIT_POINTS</id>
		    <modifiers>
			<modifier>CurHPtempMod</modifier>
		    </modifiers>
		</table-row>
		<table-row>
		    <name>Max Hit Points:</name>
		    <tag>max-hit-points</tag>
		    <id>MAX_HIT_POINTS</id>
		    <modifiers>
			<modifier>MaxHPtempMod</modifier>
		    </modifiers>
		</table-row>
		<table-row>
		    <name>Melee THAC0:</name>
		    <tag>melee-thac0</tag>
		    <id>THAC0</id>
		    <default>20</default>
		    <token-name>THAC0</token-name>
		</table-row>



		<table-row>
		    <name>Knockdown Roll:</name>
		    <tag>knockdown-roll</tag>
		    <id>KNOCKDOWN_ROLL</id>
		    <default>7</default>
		    <token-name>KNOCKDOWN_ROLL</token-name>
		</table-row>


		<table-row>


		    <name>Initiative {not sure why this is here}:</name>

		    <tag>init</tag>

		    <id>INITIATIVE</id>

		    <token-name>INIT</token-name>

		    <default>+0</default>

		    <modifiers>

			<modifier>INITtempMod</modifier>

		    </modifiers>




		    <!--

		    <expression>

			<type>init</type>

			<raw-label>INIT</raw-label>

			<button-label>Initiative (${V})</button-label>

			<pre-roll>Initiative:</pre-roll>

			<die-to-use>d10</die-to-use>

                        <ignore-targets/>

		    </expression>

		    -->

		</table-row>


		<table-row>

		    <name>Initiative (modifier):</name>
		    <tag>init-mod</tag>
		    <id>INIT_MOD</id>
		    <tag>init</tag>
		    <token-name>INIT</token-name>
		    <default>+10+$RA</default>
		    <modifiers>
			<modifier>INITtempMod</modifier>
		    </modifiers>

			 <expression>
			<type>init</type>
			<raw-label>INIT</raw-label>
			<desc-label>initiative</desc-label>
			<button-label>Initiative (${V})</button-label>
			<pre-roll>Initiative:&nbsp;</pre-roll>
			<die-to-use>d10</die-to-use>
                        <ignore-targets/>
		    </expression>

		</table-row>




</list-pair>



	</section>
	<section>
	    <layout>half</layout>
	    <list-pair>
		<name>Armor</name>
		<table-tag>armor</table-tag>
		<first-column-size>40</first-column-size>
		<second-column-size>90</second-column-size>
		<table-row>
		    <name>Natural AC:</name>
		    <tag>natural-ac</tag>
		    <id>NATURAL-AC</id>
		    <default>10</default>
		</table-row>
		<table-row>
		    <name>&nbsp;Armor Bonus:</name>
		    <tag>armor-bonus</tag>
		    <id>ARMOR-BONUS</id>
		</table-row>
		<table-row>
		    <name>&nbsp;Shield Bonus:</name>
		    <tag>shield-bonus</tag>
		    <id>SHIELD-BONUS</id>
		</table-row>
		<table-row>
		    <name>&nbsp;DEX Bonus:</name>
		    <tag>armor-dex-bonus</tag>
		    <id>ARMOR-DEX-BONUS</id>
		</table-row>
		<table-row>
		    <name>&nbsp;Magic Bonus:</name>
		    <tag>magic-bonus</tag>
		    <id>MAGIC-BONUS</id>
		</table-row>
		<table-row>
		    <name>AC FINAL:</name>
		    <tag>ac-final</tag>
		    <id>AC_FINAL</id>
		    <default>10</default>
		    <modifiers>
			<modifier>ACtempMod</modifier>
		    </modifiers>
		</table-row>
		<table-row>
		    <name>Magic Resistance:</name>
		    <tag>magic-res</tag>
		    <id>MAGIC_RESISTANCE</id>
		    <modifiers>
			<modifier>MRtempMod</modifier>
		    </modifiers>
		</table-row>
	    </list-pair>
	</section>
	<section>
	    <layout>half</layout>
	    <list-panel>
		<name>Racial Abilities</name>
		<table-tag>racial-traits</table-tag>
		<row-tag>racial-trait</row-tag>
		<data-tag>trait-name</data-tag>
	    </list-panel>
	</section>
	<section>
	    <layout>half</layout>
	    <list-panel>
		<name>Languages</name>
		<table-tag>languages</table-tag>
		<row-tag>language</row-tag>
		<data-tag>lang-name</data-tag>
	    </list-panel>
	</section>
    </page>
    <page>
	<name>Proficiencies</name>
	<tab-icon>skill.gif</tab-icon>
	<section>
	    <orientation>vertical</orientation>
	    <name>Weapon Proficiencies</name>
	    <layout>full</layout>
	    <list-pair>
		<table-tag>weapon-profs</table-tag>
		<first-column-size>40</first-column-size>
		<second-column-size>90</second-column-size>
		<table-row>
		    <name>Initial Slots:</name>
		    <tag>initial-slots</tag>
		    <id>INITIAL-SLOTS</id>
		</table-row>
		<table-row>
		    <name>Add'l Slots/Level:</name>
		    <tag>addl-slots-level</tag>
		    <id>ADDL-SLOTS-LEVEL</id>
		</table-row>
		<table-row>
		    <name>Non-proficient Penalty:</name>
		    <tag>non-prof-penalty</tag>
		    <id>NON-PROF-PENALTY</id>
		</table-row>
	    </list-pair>
	    <multi-list>
		<data-file>data/SingleWeapons.txt</data-file>
		<data-file>data/FightingStyles.txt</data-file>
		<data-file>data/SpecialTalents.txt</data-file>
		<data-file>data/WeaponGroups.txt</data-file>
		<data-file>data/DwarvenWeapons.txt</data-file>
		<table-tag>proficiencies</table-tag>
		<row-tag>proficiency</row-tag>
		<table-column>
		    <name>Proficiency Name</name>
		    <tag>prof-name</tag>
		    <size>30</size>
		</table-column>
		<table-column>
			<name>Slots</name>
			<tag>slots</tag>
			<size>5</size>
		</table-column>
	    </multi-list>
	</section>
		<section>
			<orientation>vertical</orientation>
			<name>Non-Weapon Proficiencies</name>
			<layout>full</layout>
			<list-pair>
				<table-tag>non-weapon-profs</table-tag>
				<first-column-size>40</first-column-size>
				<second-column-size>90</second-column-size>
				<table-row>
					<name>Add'l Slots/Level:</name>
					<tag>addl-slots-level</tag>
					<id>NW-ADDL-SLOTS-LEVEL</id>
				</table-row>
			</list-pair>
			<multi-list>
				<data-file>data/nw-proficiencies.txt</data-file>
				<data-file>data/DwarvenDetectionProficiencies.txt</data-file>
				<table-tag>nw-proficiencies</table-tag>
				<row-tag>nw-proficiency</row-tag>
				<id>PROFS</id>
				<table-column>
					<name>Name</name>
					<id>PROF_NAME</id>
					<tag>nw-prof-name</tag>
					<size>30</size>
				</table-column>
				<table-column>
					<name>Group</name>
					<id>GROUP</id>
					<tag>nw-prof-group</tag>
					<size>10</size>
				</table-column>
				<table-column>
					<name>Sub-Group</name>
					<id>SUB-GROUP</id>
					<tag>nw-prof-sub-group</tag>
					<size>20</size>
				</table-column>
				<table-column>
					<name>Slots</name>
					<tag>slots</tag>
					<size>5</size>
				</table-column>
				<table-column>
					<name>Attribute</name>
					<id>NW_ATTRIB</id>
					<tag>prof-attribute</tag>
					<size>5</size>
				</table-column>
				<table-column>
					<name>Modifier</name>
					<tag>prof-mod</tag>
					<size>5</size>
					<modifiers>
						<modifier>PROFtempMod</modifier>
					</modifiers>
					<expression>
						<type>skill</type>
						<target-value>${NW_ATTRIB}${V}</target-value>
						<low-to-succeed/>
						<exclude-value/>
						<raw-label>${PROF_NAME}</raw-label>
						<button-label>${PROF_NAME} (${NW_ATTRIB}${V})</button-label>
						<pre-roll>${PROF_NAME} check:&nbsp;</pre-roll>
						<die-to-use>d20</die-to-use>
					</expression>
				</table-column>
			</multi-list>
		</section>

	<section>
	    <name>Class Skills</name>
	    <layout>full</layout>
	    <multi-list>
		<data-file>data/ClassSkills/Fighter.txt</data-file>
		<data-file>data/ClassSkills/Paladin.txt</data-file>
		<data-file>data/ClassSkills/Ranger.txt</data-file>
		<data-file>data/ClassSkills/Thief.txt</data-file>
		<data-file>data/ClassSkills/Bard.txt</data-file>
		<data-file>data/ClassSkills/Priest.txt</data-file>
		<data-file>data/ClassSkills/Wizard.txt</data-file>
		<table-tag>classskills</table-tag>
		<id>CLASSSKILLS</id>
		<row-tag>classskill</row-tag>
		<table-column>
		    <id>CLASS_SKILL_NAME</id>
		    <name>Name</name>
		    <tag>class-skill-name</tag>
		</table-column>
		<table-column>
		    <name>Character Points</name>
		    <tag>characterpoints</tag>
		    <size>5</size>
		</table-column>
		<table-column>
		    <name>Note</name>
		    <tag>classskillnote</tag>
		</table-column>
	    </multi-list>
	</section>

	<section>
	    <name>Skills/Detections (d100/% based)</name>
	    <layout>full</layout>
	    <multi-list>
		<data-file>data/ThiefBaseScores.txt</data-file>
		<data-file>data/BardBaseScores.txt</data-file>
		<table-tag>d100skills</table-tag>
		<id>die100SKILLS</id>
		<row-tag>d100skill</row-tag>
		<table-column>
		    <id>d100SKILL_NAME</id>
		    <name>Name</name>
		    <tag>d100skill-name</tag>
		</table-column>
		<table-column>
		    <name>Total (% - w/modifier)</name>
		    <tag>d100total</tag>
		    <expression>
			<type>skill</type>
			<target-value>${V}</target-value>
			<low-to-succeed/>
			<exclude-value/>
			<raw-label>${d100SKILL_NAME}</raw-label>
			<button-label>${d100SKILL_NAME} (${V}%)</button-label>
			<pre-roll>${d100SKILL_NAME} check:</pre-roll>
			<die-to-use>d100</die-to-use>
		    </expression>

		</table-column>
		<table-column>
		    <name>Modifier</name>
		    <tag>d100modifier</tag>
		</table-column>

		<table-column>
		    <name>Note</name>
		    <tag>d100note</tag>
		</table-column>

	    </multi-list>


	</section>



    </page>



    <page>
	<name>Equipment</name>
	<tab-icon>attack.gif</tab-icon>
	<section>
	    <layout>full</layout>
	    <name>Weapons</name>
	    <multi-list>
		<id>WEAPONS</id>
		<data-file>data/equipment/weapons.txt</data-file>
		<table-tag>weapons</table-tag>
		<row-tag>weapon</row-tag>
		<table-column>
		    <id>W_NAME</id>
		    <name>Name</name>
		    <tag>name</tag>
		    <size>12</size>
		</table-column>

		<table-column>
		    <id>W_KIND</id>
		    <name>Kind of Weapon</name>
		    <tag>kind</tag>
		    <size>15</size>
		</table-column>

		<table-column>
		    <id>W_SIZE</id>
		    <name>Size</name>
		    <tag>size</tag>
		    <size>10</size>
		</table-column>

		<table-column>
		    <id>W_TYPE</id>
		    <name>Type</name>
		    <tag>type</tag>
		    <size>10</size>
		</table-column>

		<table-column>
		    <id>W_SPEED</id>
		    <name>Speed</name>
		    <tag>speed</tag>
		    <size>5</size>
		</table-column>
		<table-column>
		    <id>W_RANGE</id>
		    <name>Range S/M/L</name>
		    <tag>range</tag>
		    <size>10</size>
		</table-column>



		<table-column>
		    <id>W_NUM</id>
		    <name>#</name>
		    <tag>w-num</tag>
		    <default>--</default>
		</table-column>
		<table-column>
		    <id>W_ATKS</id>
		    <name># Atks</name>
		    <tag>num-atks</tag>
		    <size>5</size>
		</table-column>

		<table-column>
		    <id>ABL_ATK_ADJ</id>
		    <default>+0</default>
		    <name>Ability Adj</name>
		    <tag>abl-atk-adj</tag>
		    <size>5</size>
		</table-column>
		<table-column>
		    <id>RAC_ATK_ADJ</id>
		    <default>+0</default>
		    <name>Racial Adj</name>
		    <tag>rac-atk-adj</tag>
		    <size>5</size>
		</table-column>
		<table-column>
		    <id>SKL_ATK_ADJ</id>
		    <default>+0</default>
		    <name>Skill Adj</name>
		    <tag>skl-atk-adj</tag>
		    <size>5</size>
		</table-column>
		<table-column>
		    <id>PRO_ATK_ADJ</id>
		    <default>+0</default>		    
		    <name>Profic Adj</name>
		    <tag>pro-atk-adj</tag>
		    <size>5</size>
		</table-column>
		<table-column>
		    <id>MAG_ATK_ADJ</id>
		    <default>+0</default>
		    <name>Magical Adj</name>
		    <tag>mag-atk-adj</tag>
		    <size>5</size>
		</table-column>


		<table-column>
		    <name>Atk Adj</name>
		    <default>$ATK</default>
		    <tag>atk-adj</tag>
		    <size>7</size>
		    <modifiers>
			<modifier>ATTACKtempMod</modifier>
			<modifier>MAG_ATK_ADJ</modifier>
			<modifier>PRO_ATK_ADJ</modifier>
			<modifier>SKL_ATK_ADJ</modifier>
			<modifier>ABL_ATK_ADJ</modifier>
			<modifier>RAC_ATK_ADJ</modifier>
		    </modifiers>
		    <expression>
			<type>attack</type>
			<raw-label>Attack${#}: ${W_NAME}</raw-label>
			<static-label>Attack: ${W_NAME}:</static-label>
			<button-label>${#} (${V}) REM=${W_NUM}</button-label>
			<pre-roll>Attack${#}: ${W_NAME}:&nbsp;</pre-roll>
			<!-- When entering data into the character sheet,
			     the value of the "Type" field is used to
			     determine which THAC0 to use (either THAC0 or
			     MTHAC0) to calculate a hit.  This puts a lot
			     of dependency on the use to enter data correctly,
			     but since calculating hits in 2nd Edition is
			     basically flawed (in my opinion), there isn't
			     too much we can do about it.  So, the user must
			     specify "$THAC0" or "$MTHAC0" as the type for
			     hits to work.
			-->
			<pre-expr>$thac0-</pre-expr>
			<die-to-use>d20</die-to-use>
			<check-availability>
			    <memorized>W_NUM</memorized>

			    <cost-value>1</cost-value>
			</check-availability>
			<modify-on-roll>
			    <memorized>W_NUM</memorized>
			    <cost-value>1</cost-value>
			</modify-on-roll>
			<sound>${ATK_SOUND}</sound>
			<effect>${ATK_EFFECT}</effect>
			<hit-sound>sounds/hit.wav</hit-sound>
			<miss-sound>sounds/miss.wav</miss-sound>
			</expression>
		</table-column>



		<table-column>
		    <id>ABL_DMG_ADJ</id>
		    <default>$DMG</default>
		    <name>Ability Adj</name>
		    <tag>abl-dmg-adj</tag>
		    <size>5</size>
		</table-column>
		<table-column>
		    <id>RAC_DMG_ADJ</id>
		    <default>+0</default>
		    <name>Racial Adj</name>
		    <tag>rac-dmg-adj</tag>
		    <size>5</size>
		</table-column>
		<table-column>
		    <id>SKL_DMG_ADJ</id>
		    <default>+0</default>
		    <name>Skill Adj</name>
		    <tag>skl-dmg-adj</tag>
		    <size>5</size>
		</table-column>
		<table-column>
		    <id>PRO_DMG_ADJ</id>
		    <default>+0</default>		    
		    <name>Profic Adj</name>
		    <tag>pro-dmg-adj</tag>
		    <size>5</size>
		</table-column>
		<table-column>
		    <id>MAG_DMG_ADJ</id>
		    <default>+0</default>
		    <name>Magical Adj</name>
		    <tag>mag-dmg-adj</tag>
		    <size>5</size>
		</table-column>


		<table-column>
		    <name>Damage Adj</name>
		    <default>$DMG</default>
		    <tag>damage-adj</tag>
		    <size>7</size>
		    <id>DMG_ADJ</id>
		    <modifiers>
			<modifier>DAMAGEtempMod</modifier>
			<modifier>PRO_DMG_ADJ</modifier>
			<modifier>MAG_DMG_ADJ</modifier>
			<modifier>SKL_DMG_ADJ</modifier>
			<modifier>RAC_DMG_ADJ</modifier>
		    </modifiers>
		</table-column>


		<table-column>
		    <name>Damage v SM</name>
		    <tag>damage-v-sm</tag>
		    <size>7</size>
		    <modifiers>
			<modifier>DMG_ADJ</modifier>
			<modifier>DAMAGEtempMod</modifier>
			<modifier>PRO_DMG_ADJ</modifier>
			<modifier>MAG_DMG_ADJ</modifier>
			<modifier>SKL_DMG_ADJ</modifier>
			<modifier>RAC_DMG_ADJ</modifier>
		    </modifiers>
		    <expression>
			<type>damage</type>
			<raw-label>Damage${#} v SM: ${W_NAME}</raw-label>
			<static-label>Damage${#}: ${W_NAME}:&nbsp;</static-label>
			<button-label>Damage${#} v SM ${W_NAME}</button-label>
			<pre-roll>Damage${#} v SM: ${W_NAME}:&nbsp;</pre-roll>
			<sound>${DMG_SOUND}</sound>
			<effect>${DMG_EFFECT}</effect>
			<damage-sound>sounds/damage.wav</damage-sound>
		    </expression>
		</table-column>
		<table-column>
		    <name>Damage v L</name>
		    <tag>damage-v-l</tag>
		    <size>7</size>
		    <modifiers>
			<modifier>DMG_ADJ</modifier>
			<modifier>DAMAGEtempMod</modifier>
			<modifier>PRO_DMG_ADJ</modifier>
			<modifier>MAG_DMG_ADJ</modifier>
			<modifier>SKL_DMG_ADJ</modifier>
			<modifier>RAC_DMG_ADJ</modifier>
		    </modifiers>
		    <expression>
			<type>damage</type>
			<raw-label>Damage${#} v L: ${W_NAME}</raw-label>
			<static-label>Damage${#} v L: ${W_NAME}:&nbsp;</static-label>
			<button-label>Damage${#} v L ${W_NAME}</button-label>
			<pre-roll>Damage${#} v L: ${W_NAME}:&nbsp;</pre-roll>
			<sound>${DMG_SOUND}</sound>
			<effect>${DMG_EFFECT}</effect>
			<damage-sound>sounds/damage.wav</damage-sound>
		    </expression>
		</table-column>
		<table-column>
		    <name>Knockdown</name>
		    <tag>knockdown</tag>
		    <size>7</size>
		    <id>knockdown</id>
		</table-column>
		<table-column>
		    <name>Atk Snd</name>
		    <id>ATK_SOUND</id>
		    <tag>attack-sound</tag>
		    <size>5</size>
		</table-column>
		<table-column>
		    <name>Dmg Snd</name>
		    <id>DMG_SOUND</id>
		    <tag>damage-sound</tag>
		    <size>5</size>
		</table-column>
		<table-column>
		    <name>Atk FX</name>
		    <id>ATK_EFFECT</id>
		    <tag>attack-effect</tag>
		    <size>5</size>
		</table-column>
		<table-column>
		    <name>Dmg FX</name>
		    <id>DMG_EFFECT</id>
		    <tag>damage-effect</tag>
		    <size>5</size>
		</table-column>
	    </multi-list>
	</section>
	<section>
	    <name>Equipment</name>
	    <layout>full</layout>
	    <multi-list>
		<data-file>data/equipment/Clothing.txt</data-file>
		<data-file>data/equipment/Armor.txt</data-file>
		<data-file>data/equipment/DailyFoodandLodging.txt</data-file>
		<data-file>data/equipment/HouseholdProvisioning.txt</data-file>
		<data-file>data/equipment/Services.txt</data-file>
		<data-file>data/equipment/Transport.txt</data-file>
		<data-file>data/equipment/Animals.txt</data-file>
		<data-file>data/equipment/TackandHarness.txt</data-file>
		<data-file>data/equipment/MiscellaneousEquipment.txt</data-file>
		<data-file>data/equipment/MusicalInstruments.txt</data-file>
		<data-file>data/equipment/ThiefEquipment.txt</data-file>
		<table-tag>equipment</table-tag>
		<row-tag>item</row-tag>
		<table-column>
		    <name>Name</name>
		    <tag>equip-name</tag>
		    <size>15</size>
		</table-column>
		<table-column>
		    <name>Cost</name>
		    <tag>cost</tag>
		    <size>5</size>
		</table-column>
		<table-column>
		    <name>Weight</name>
		    <tag>Weight</tag>
		    <size>5</size>
		</table-column>
		<table-column>
		    <name>Description</name>
		    <tag>desc</tag>
		    <size>25</size>
		</table-column>
	    </multi-list>
	</section>
	<section>
	    <name>Magic Item Summary</name>
	    <layout>full</layout>
	    <multi-list>
		<data-file>data/magicitems/Rings.txt</data-file>
		<data-file>data/magicitems/BootsBracersGloves.txt</data-file>
		<data-file>data/magicitems/BagsBottlesPouchesContainers.txt</data-file>
		<data-file>data/magicitems/CloaksandRobes.txt</data-file>
		<data-file>data/magicitems/GirdlesHatsHelms.txt</data-file>
		<data-file>data/magicitems/JewelsJewelryPhylacteries.txt</data-file>
		<data-file>data/magicitems/HouseholdItemsandTools.txt</data-file>
		<data-file>data/magicitems/MusicalIntruments.txt</data-file>
		<data-file>data/magicitems/TheWeirdStuff.txt</data-file>
		<data-file>data/magicitems/SpecialArmors.txt</data-file>
		<data-file>data/magicitems/SpecialWeapons.txt</data-file>
		<table-tag>magic-items</table-tag>
		<row-tag>magic-item</row-tag>
		<table-column>
		    <name>Name</name>
		    <tag>mi-name</tag>
		    <size>15</size>
		</table-column>
		<table-column>
		    <name>Acquired</name>
		    <tag>acquired</tag>
		    <size>15</size>
		</table-column>
		<table-column>
		    <name>Location</name>
		    <tag>location</tag>
		    <size>15</size>
		</table-column>
	    </multi-list>
	</section>
	<section>
	    <name>Consumable Magic Items</name>
	    <layout>full</layout>
	    <multi-list>
		<data-file>data/magicitems/MagicalLiquids.txt</data-file>
		<data-file>data/magicitems/CandlesDustsOintmentsIncenseandStones.txt</data-file>
		<data-file>data/magicitems/BooksLibramsManualsTomes.txt</data-file>
		<data-file>data/magicitems/ProtectionScrolls.txt</data-file>
		<data-file>data/magicitems/Rods.txt</data-file>
		<data-file>data/magicitems/Staves.txt</data-file>
		<data-file>data/magicitems/Wands.txt</data-file>
		<id>MAGIC-ITEMS</id>
		<table-tag>consumable-magic-items</table-tag>
		<row-tag>consumable-magic-item</row-tag>
		<table-column>
		    <name>Name</name>
		    <id>MI_NAME</id>
		    <tag>c-mi-name</tag>
		    <size>15</size>
		</table-column>
		<table-column>
		    <name>Expression</name>
		    <tag>c-mi-expr</tag>
		    <size>15</size>
		    <expression>
			<type>spell</type>
			<raw-label>${MI_NAME}</raw-label>
			<check-availability>
			    <memorized>C_MI_INV</memorized>
			    <cost>C_MI_COST</cost>
			</check-availability>
			<button-label>${MI_NAME} (REM=${R})</button-label>
			<pre-roll>${MI_NAME}:&nbsp;</pre-roll>
			<modify-on-roll>
			    <memorized>C_MI_INV</memorized>
			    <cost>C_MI_COST</cost>
			</modify-on-roll>
			<!--
			<effect>${SPELL_EFFECT}</effect>
			<sound>${SPELL_SOUND}</sound>
			-->
			<spell-sound>sounds/spell.wav</spell-sound>
		    </expression>
		</table-column>
		<table-column>
		    <name>Inventory/Charges</name>
		    <id>C_MI_INV</id>
		    <tag>c-mi-inv</tag>
		    <size>5</size>
		</table-column>
		<table-column>
		    <name>Cost per Use</name>
		    <id>C_MI_COST</id>
		    <tag>c-mi-cost</tag>
		    <size>5</size>
		</table-column>
	    </multi-list>	</section>
	<section>
	    <name>Wealth</name>
	    <layout>full</layout>
	    <multi-list>
		<table-tag>wealth</table-tag>
		<row-tag>coin</row-tag>
		<table-column>
		    <name>Type</name>
		    <tag>type</tag>
		    <size>15</size>
		</table-column>
		<table-column>
		    <name>Carried</name>
		    <tag>carried</tag>
		    <size>15</size>
		</table-column>
		<table-column>
		    <name>Cached</name>
		    <tag>cached</tag>
		    <size>15</size>
		</table-column>
	    </multi-list>

	</section>

	<section>
	    <name>Carrying Capacity</name>
	    <layout>full</layout>
		<multi-list>
		<data-file>data/containers.txt</data-file>
		<table-tag>carryingcapacity</table-tag>
		<row-tag>container</row-tag>
		<table-column>
		    <name>Container</name>
		    <tag>container-name</tag>
		</table-column>
		<table-column>
		    <name>Max Weight/Volume</name>
		    <tag>container-maxvolume</tag>
		</table-column>
		<table-column>
		    <name>Load</name>
		    <tag>container-load</tag>
		</table-column>
	    </multi-list>
	</section>

	<section>
	    <layout>full</layout>
		<list-pair>
		<id>ENCUMBRANCE</id>
		<name>Encumbrance Totals</name>
		<table-tag>encumbrances</table-tag>
		<table-row>
		    <name>Armor:</name>
		    <tag>enc-armor</tag>
		    <id>ENC-ARMOR</id>
		</table-row>
		<table-row>
		    <name>Equipment:</name>
		    <tag>enc-equipment</tag>
		    <id>ENC-EQUIPMENT</id>
		</table-row>
		<table-row>
		    <name>Magic Items:</name>
		    <tag>enc-magicitems</tag>
		    <id>ENC-MAGICITEMS</id>

		</table-row>
		<table-row>
		    <name>Wealth:</name>
		    <tag>enc-wealth</tag>
		    <id>ENC-WEALTH</id>
		</table-row>
		<table-row>
		    <name>Total Weight:</name>
		    <tag>enc-total</tag>
		    <id>ENC-TOTAL</id>
		</table-row>
		<table-row>
		    <name>Base Weight Allowed:</name>
		    <tag>enc-baseallowed</tag>
		    <id>ENC-BASEALLOWED</id>
		</table-row>
		<table-row>
		    <name>Strength Adjustment:</name>
		    <tag>enc-strengthadjustment</tag>
		    <id>ENC-STRENGTHADJUSTMENT</id>
		</table-row>
		<table-row>
		    <name>Total Weight Allowed:</name>
		    <tag>enc-totalallowed</tag>
		    <id>ENC-TOTALALLOWED</id>
		</table-row>
		</list-pair>
	</section>
    </page>
    <page>
	<name>Spells</name>
	<tab-icon>spells.gif</tab-icon>
	<section>
	    <name>Magical Abilities</name>
	    <layout>full</layout>
	    <orientation>vertical</orientation>
	    <!--
		Setting up daily spells is one of the most tedious processes
		that you can do in the program.  As a result, there is now
		this section.  What this does is add a special UI element to
		the character sheet that opens a dialog that allows you to
		quickly set up a character's spells.
	    -->
	    <spell-setup>
		<label>Setup Spells</label>
		<!--
		    "spell-level-source" tells the program where to look for
		    spell level information.  You supply the ID of the table
		    to look in and the columns that contain the pertinent
		    information.  You need at least what is defined below, or

		    else totals will not be computed correctly.
		-->
		<spell-level-source>
		    <table-id>MAGIC_ABIL</table-id>
		    <name-id>MA_SPELL_LEVEL</name-id>
		    <max-id>SPELL_MAX</max-id>
		    <cur-id>SPELL_CUR</cur-id>
		</spell-level-source>
		<!--
		    "spell-source" is where the actual spells come from.
		    Everything is required for proper functioning.  Note that
		    the "desc-id" field is used as a tooltip in the program's
		    interface to tell you what the spell does, without taking
		    up unnecessary space on the screen.
		-->
		<spell-source>
		    <table-id>SPELLS</table-id>
		    <name-id>SPELL_NAME</name-id>
		    <desc-id>SPELL_EXPR</desc-id>
		    <level-id>SPELL_CAST_LEVEL</level-id>
		    <cost-id>SPELL_COST</cost-id>
		    <mem-id>NUM_MEMORIZED</mem-id>
		</spell-source>
	    </spell-setup>
	    <multi-list>
		<id>MAGIC_ABIL</id>
		<table-tag>magic-abilities</table-tag>
		<row-tag>spell-levels</row-tag>
		<table-column>
		    <id>MA_SPELL_LEVEL</id>
		    <name>Spell Level/Power</name>
		    <tag>level</tag>
		    <size>15</size>
		</table-column>
		<table-column>
		    <id>SPELL_MAX</id>
		    <tag>max</tag>
		    <name>Maximum</name>
		    <size>15</size>
		</table-column>
		<table-column>
		    <id>SPELL_CUR</id>
		    <tag>current</tag>
		    <name>Current</name>
		    <size>15</size>
		</table-column>
	    </multi-list>
	</section>
	<section>
	    <name>Spells</name>
	    <layout>full</layout>
	    <multi-list>
		<data-file>data/Spells/Wizard1.txt</data-file>
		<data-file>data/Spells/Wizard2.txt</data-file>
		<data-file>data/Spells/Wizard3.txt</data-file>
		<data-file>data/Spells/Wizard4.txt</data-file>
		<data-file>data/Spells/Wizard5.txt</data-file>
		<data-file>data/Spells/Wizard6.txt</data-file>
		<data-file>data/Spells/Wizard7.txt</data-file>
		<data-file>data/Spells/Wizard8.txt</data-file>
		<data-file>data/Spells/Wizard9.txt</data-file>
		<data-file>data/Spells/All.txt</data-file>
		<data-file>data/Spells/Animal.txt</data-file>
		<data-file>data/Spells/Astral.txt</data-file>
		<data-file>data/Spells/chaos.txt</data-file>
		<data-file>data/Spells/charm.txt</data-file>
		<data-file>data/Spells/combat.txt</data-file>
		<data-file>data/Spells/creation.txt</data-file>
		<data-file>data/Spells/divination.txt</data-file>
		<data-file>data/Spells/elementalair.txt</data-file>
		<data-file>data/Spells/elementalearth.txt</data-file>
		<data-file>data/Spells/elementalfire.txt</data-file>
		<data-file>data/Spells/elementalwater.txt</data-file>
		<data-file>data/Spells/elemental.txt</data-file>
		<data-file>data/Spells/guardian.txt</data-file>
		<data-file>data/Spells/healing.txt</data-file>
		<data-file>data/Spells/law.txt</data-file>
		<data-file>data/Spells/necromantic.txt</data-file>
		<data-file>data/Spells/numbers.txt</data-file>
		<data-file>data/Spells/plant.txt</data-file>
		<data-file>data/Spells/protection.txt</data-file>
		<data-file>data/Spells/summoning.txt</data-file>
		<data-file>data/Spells/sun.txt</data-file>
		<data-file>data/Spells/thought.txt</data-file>
		<data-file>data/Spells/time.txt</data-file>
		<data-file>data/Spells/travelers.txt</data-file>
		<data-file>data/Spells/war.txt</data-file>
		<data-file>data/Spells/wards.txt</data-file>
		<data-file>data/Spells/weather.txt</data-file>
		<id>SPELLS</id>
		<table-tag>spells</table-tag>
		<row-tag>spell</row-tag>
		<table-column>
		    <id>SPELL_NAME</id>
		    <name>Name</name>
		    <tag>spell-name</tag>
		    <size>10</size>
		</table-column>
		<table-column>
		    <name>Level</name>
		    <tag>level</tag>
		    <id>SPELL_LEVEL</id>
		    <size>5</size>
		</table-column>
		<table-column>
		    <name>Cast Level</name>
		    <tag>cast-level</tag>
		    <id>SPELL_CAST_LEVEL</id>
		    <size>5</size>
		</table-column>
		<table-column>
		    <name>Expression</name>
		    <id>SPELL_EXPR</id>
		    <tag>expr</tag>
		    <size>30</size>
		    <expression>
			<type>spell</type>
			<raw-label>Spell: ${SPELL_NAME}</raw-label>
			<check-availability>
			    <cost>SPELL_COST</cost>
			    <memorized>NUM_MEMORIZED</memorized>
			    <compare-from>SPELL_CAST_LEVEL</compare-from>
			    <compare-to>MA_SPELL_LEVEL</compare-to>
			    <check-against>SPELL_CUR</check-against>
			    <can-cast-up/>
			</check-availability>
			<button-label>${SPELL_NAME} (LVL=${SPELL_CAST_LEVEL} REM=${R})</button-label>
			<pre-roll>${SPELL_NAME}:&nbsp;</pre-roll>
			<modify-on-roll>
			    <memorized>NUM_MEMORIZED</memorized>
			    <cost>SPELL_COST</cost>
			    <compare-from>SPELL_CAST_LEVEL</compare-from>
			    <compare-to>MA_SPELL_LEVEL</compare-to>
			    <modify-field>SPELL_CUR</modify-field>
			    <can-cast-up/>
			</modify-on-roll>
			<sound>${SPELL_SOUND}</sound>
			<effect>${SPELL_EFFECT}</effect>
			<spell-sound>sounds/spell.wav</spell-sound>

			<!-- An "applied-effect" is an effect to be applied
			     to the targeted icon(s) when the expression
			     is evaluated.  This effect must be defined in
			     the GM's global list of effects.
			-->
			<applied-effect>${APP_SPELL_EFFECT}</applied-effect>

			<!-- Some expressions end up containing more than one
			     dice clause (spells are a good example of
			     this).  As a result, the program can be confused
			     about which clause within the expression to
			     use for damage (for example).  To get around this
			     problem, we have the "actionable-def" tag.

			     Within this tag, you define the total number of
			     expressions you expect there to be under normal
			     circumstances.  For this definition, that's
			     three (one for the spell, one for the spell's
			     DC and one for the spell failure check).

			     Next, you define which expression of this total
			     should be used as the "important" one.  This should
			     be the one that comes from the data (as opposed
			     to being defined here, as the DC and failure ones
			     are).

			     When the program parses the expression, it will
			     check to see if the total is met.  If not, then
			     no damage will be deducted.  If so, then the
			     result from the indicated expression will be used.
			-->

			<actionable-def>
			    <total-clauses>1</total-clauses>
			    <use-clause>1</use-clause>
			</actionable-def>

		    </expression>
		</table-column>
		<table-column>
		    <name># Memorized</name>
		    <tag>num-memorized</tag>
		    <id>NUM_MEMORIZED</id>
		    <size>5</size>
		</table-column>
		<table-column>
		    <name>Cost</name>
		    <tag>cost</tag>
		    <id>SPELL_COST</id>
		    <size>5</size>
		</table-column>

		<table-column>
		    <name>Subtley</name>
		    <tag>subtley</tag>
		    <id>SUBTLEY</id>
		    <size>5</size>
		</table-column>

		<table-column>
		    <name>Rarity</name>
		    <tag>rarity</tag>
		    <id>SPELL_RARITY</id>
		    <size>5</size>
		</table-column>
		<table-column>
		    <name>Sound</name>
		    <tag>sound</tag>
		    <id>SPELL_SOUND</id>
		    <size>5</size>
		</table-column>
		<table-column>
		    <name>Effect</name>
		    <tag>effect</tag>
		    <id>SPELL_EFFECT</id>
		    <size>5</size>
		</table-column>
	    </multi-list>
	</section>
    </page>
    <page>
	<name>Expressions</name>
	<section>
	    <layout>full</layout>
	    <multi-list>
		<name>Custom Expressions</name>
		<id>CUSTOM_EXPRS</id>
		<table-tag>custom-exprs</table-tag>
		<row-tag>custom-expr</row-tag>
		<table-column>
		    <id>EXPR_NAME</id>
		    <name>Name</name>
		    <tag>expr-name</tag>
		    <size>10</size>
		</table-column>
		<table-column>
		    <name>Expression</name>
		    <tag>expr-expr</tag>
		    <size>20</size>
		    <expression>
			<type>custom</type>
			<raw-label>${EXPR_NAME}</raw-label>
			<button-label>${EXPR_NAME}</button-label>
			<pre-roll>${EXPR_NAME}:&nbsp;</pre-roll>
		    </expression>
		</table-column>
	    </multi-list>
	</section>
    </page>
    <note>
	<name>Notes</name>
	<tab-icon>doc.gif</tab-icon>
	<tag>notes</tag>
    </note>
</character-sheet-definition>

nbsp;</pre-roll>
		    </expression>
		</table-column>
	    </multi-list>
	</section>
    </page>
    <note>
	<name>Notes</name>
	<tab-icon>doc.gif</tab-icon>
	<tag>notes</tag>
    </note>
</character-sheet-definition>

		</table-column>
	    </multi-list>
	</section>
    </page>
    <note>
	<name>Notes</name>
	<tab-icon>doc.gif</tab-icon>
	<tag>notes</tag>
    </note>
</character-sheet-definition>