Battle Cry

Char.txt file-explanation

// comment

attribute format
If magic is zero, there is no [additional line setting magic elements]
Everything followed by <state-of-mind> is considered to be of this state.

[<strMind(strMind(good,neutral,bad)>]
strRace,strFile:
intAgility(1-10),intStrength(1-10),intMagic(0-10)
[strElements(fire,water,wind,earth)]
Example:

<good>
knight,knt:
5,4,0

means:

A character of race knight (filename: knt) with
an agility of 5*10=50,
a strength of 4*10=40,
a magic of 0*10=0
with mind good
without elements (since magic is 0)

char.txt also may define (in comments) how a characted behaves if he's controlled by the enemy AI (if he's evil). A default enemy character behavior is to be considered the default AI. This is hard-coded. Later on it might be script-based.

strFile might not be used/needed anymore soon.