<?xml version="1.0"?>
<tablemetadata tablename="spells" version="1.30" complete="false">
    <helpfile location="spells.2da.html" />
    <column label="IconResRef" position="3">
        <tooltip>spell icon</tooltip>
        <editor use="true"
        class="org.jl.nwn.resource.ResRefCellEditor"
        allowNull="true" />
    </column>

    <column label="School" position="4">
        <tooltip>spell school</tooltip>
        <editor use="true" class="org.jl.nwn.twoDa.cellEditors.MappedCellEditor" editable="true">
            <renderer class="org.jl.nwn.twoDa.cellEditors.MappedTableCellRenderer">
                <entry value="G" label="General" />
                <entry value="A" label="Abjuration" />
                <entry value="C" label="Conjuration" />
                <entry value="D" label="Divination" />
                <entry value="E" label="Enchantment" />
                <entry value="V" label="Evocation" />
                <entry value="I" label="Illusion" />
                <entry value="N" label="Necromancy" />
                <entry value="T" label="Transmutation" />
                <entry value="****" label="****" />
            </renderer>
        </editor>
    </column>
	
    <column label="Range" position="5">
        <tooltip>spell range</tooltip>
        <editor class="org.jl.nwn.twoDa.cellEditors.MappedCellEditor" editable="true">
            <renderer class="org.jl.nwn.twoDa.cellEditors.MappedTableCellRenderer"  >
                <entry value="P" label="Personal" />
                <entry value="T" label="Touch" />
                <entry value="S" label="Short" />
                <entry value="M" label="Medium" />
                <entry value="L" label="Long" />
                <entry value="****" label="****" />
            </renderer>
        </editor>
    </column>
	
    <column label="VS" position="6">
        <tooltip>spell components</tooltip>
        <editor class="org.jl.nwn.twoDa.cellEditors.ComboBoxCellEditor"  editable="true">
            <entry value="s" />
            <entry value="v" />
            <entry value="vs" />
            <entry value="-" />
            <entry value="****" />
        </editor>
    </column>
	
    <column label="MetaMagic" position="7">
        <tooltip>meta magic allowed for this spell</tooltip>
        <editor use="true" class="org.jl.nwn.twoDa.cellEditors.BitFlagEditor">
            <flag hexvalue="1" label="Empower" />
            <flag hexvalue="2" label="Extend" />
            <flag hexvalue="4" label="Maximize" />
            <flag hexvalue="8" label="Quicken" />
            <flag hexvalue="10" label="Silent" />
            <flag hexvalue="20" label="Still" />
        </editor>
    </column>
	
    <column label="TargetType" position="8">
        <tooltip>target types allowed for this spell</tooltip>
        <editor class="org.jl.nwn.twoDa.cellEditors.BitFlagEditor">
            <flag hexvalue="1" label="Self" />
            <flag hexvalue="2" label="Creature" />
            <flag hexvalue="4" label="Area/Ground" />
            <flag hexvalue="8" label="Items" />
            <flag hexvalue="10" label="Doors" />
            <flag hexvalue="20" label="Placeables" />
            <flag hexvalue="40" label="Trap triggers" />
        </editor>
    </column>

</tablemetadata>
