Data field descriptions for Importing spells from an uploaded text file:

 Each record has 18 lines, each line being described by the Data file field
 name, where the value for the line is the Data file field value.

 For example, the format for Line 1: SpellName Data field value would be:

  A pink potion

 Any line indicating (-1/0) would be simply -1 or 0 in the data field value.

Format:

 Line #x: Data file field name

   Data file field value

Description:

 Line 1: SpellName

   Spell name(30 characters)

 Line 2: Chant

   Spell chant(80 characters)

 Line 3: Desc

   Spell cast description(80 characters)

 Line 4: Level

   Spell level(1-32767)

 Line 5: SpellType

   A - Enchant      S - Detect Trap
   B - Offense      T - Intoxicate
   C - Bless        U - Set Trap
   D - Wish         V - Hide
   E - Poison       W - Search
   F - Vigor        X - Invisibility
   G - Heal         Y - Identify
   H - Curepoison   Z - Enlighten
   I - Level Drain  1 - Illuminate
   J - Teleport     2 - Psyche
   K - Befuddle     3 - Telepathy
   L - Turn Undead  4 - Curse
   M - Pass Door    5 - Damnate
   N - Conjure      6 - Resurrect
   O - Psionic      7 - Grant Wish
   P - Detect Lock  8 - Steal Wish
   R - Detect Evil

Line 6: Teleport

   If SpellType=10 Then

      Room prompt for teleport

        Teleport=True

      Teleport to room number

        Teleport=room number of room in data file

 Line 7: Psionic

   Spell is psionic spell(-1/0)

     SpellType is set to 15.

 Line 8: PsionicMode

   A - Attack mode
     PsionicMode=1
   D - Defense mode
     PsionicMode=2

 Line 9: ClassType

   Restricts spell to specific classes:
   (multiple class letter per this line);

     A - Fighter
       ClassType=ClassType Or 2^1
     B - Magic User
       ClassType=ClassType Or 2^2
     C - Thief
       ClassType=ClassType Or 2^3
     D - Cleric
       ClassType=ClassType Or 2^4
     E - Paladin
       ClassType=ClassType Or 2^5
     F - Ranger
       ClassType=ClassType Or 2^6
     G - Druid
       ClassType=ClassType Or 2^7
     H - Lady
       ClassType=ClassType Or 2^8
     N - None
       ClassType=False
     X - All
       ClassType=ABCDEFGH

 Line 10-14: Ingred(1 To 5)

   Items required for spell ingredients:

     Each the record number in Treasure.txt import file. May be zero.

 Line 15: SpellFlag

   Spell ingredient option
   (multiple spell type letter per this line);

     A - Use command
       SpellFlag = SpellFlag Or 2^0
     B - Read scroll
       SpellFlag = SpellFlag Or 2^1
     C - Cast spell
       SpellFlag = SpellFlag Or 2^2
     N - None
        SpellFlag=False
     X - All
       SpellFlag=ABC

 Line 16: Equation

   Spell has offense equation(-1/0)

 Line 17: SpellEquate

   Spell equation(40 chars.)

 Line 18: Prefix1

   ANSI prefix code(8 characters):

   fore-   back-   color     foreground
   ground  ground  value     hilight
   ------  ------  ------    ----------
    {F0     {B0    Black     {F8  Gray
    {F1     {B1    Blue      {F9  Light blue
    {F2     {B2    Green     {FA  Light green
    {F3     {B3    Cyan      {FB  Light cyan
    {F4     {B4    Red       {FC  Light red
    {F5     {B5    Magenta   {FD  Light magenta
    {F6     {B6    Brown     {FE  Yellow
    {F7     {B7    White     {FF  High-intensity white

   May be blank.

 Last line: <eof>

   Last line after all records are entered must be <eof>

-end-
