BEGIN character NPC_*

ATOM STR_Name = NPC_*
name of the string which shows on screen when NPC is selected

REFERENCES Dialogs = NOD_*
list of dialog nodes, accessible when this NPC is talked with

ATOMS AbilityChoice = HIT_* , SPE_*
list of skills (strikes and spells) this NPC can use (in combat)

FLOAT AttitudeTowardPlayers = float
attitude towards player (-100 - 100). You can evaluate it in condition or dialog.

ATOM Race = RCE_*
race of the character

ATOMS WayptLocations =    LOC_*1  LOC_*2  LOC_*n
ATOMS WayptConditions =   CON_*1  CON_*2  true
ATOMS WayptRoles =        default default default
ATOMS WayptSpots =        default default default
INTEGERS WayptTimeFlags = 15      15      15
defines when and where this NPC appears. role may define him an enemy, neutral or ally.
timeflags: check condition template
this particular character will appear in LOC_*1 when CON_*1 is true, with default roles and spots (you define spots in the location VISUAL database), at all times of the day.
If multiple conditions are true, the NPC will randomly appear in one of the multiple locations.

FLOAT AspectCorporeal = 7.8
FLOAT AspectSpiritual = 12.8
FLOAT SphereTerran = 30.5
FLOAT SphereLunar = 28.5
FLOAT SphereSolar = 28.5
FLOAT FocusTerran = 10.0
FLOAT FocusLunar = 10.0
FLOAT FocusSolar = 10.0
FLOAT ResistTerran = 10.0
FLOAT ResistLunar = 10.0
FLOAT ResistSolar = 10.0

personal statistics. self explanatory.

ATOMS EquipmentChoice = ITM_*
ATOMS InventoryBonus = ITM_*
ATOMS WeaponChoice = ITM_*
ATOMS ShieldChoice = ITM_*
ATOMS HelmetChoice = ITM_*
ATOMS ArmourChoice = ITM_*
ATOMS GlovesChoice = ITM_*
ATOMS BootsChoice = ITM_*
inventory. self explanatory. all except InventoryChoice are random lists i.e. one item is randomly picked from the list.

REFERENCES Interactions = INT_*
list of custom interactions on this NPC (such as heal, catch, etc.), interactions like "talk"; are automatically displayed if dialogs are available.

REFERENCES OnPlayerContactEvents = NOD_* | EVE_*
INTEGERS OnPlayerContactRange = 4
ATOMS OnPlayerContactFilter = none
this is used to automatically trigger dialogs or events when this character enters the player's range; the range can be 1-4 (4=furthest)

REFERENCE PlayerLooseEvent = EVE_*
REFERENCE PlayerWinEvent = EVE_*

events that trigger on player/opponent death.

ATOM Role = neutral | enemy | ally
self explanatory. enemy will attack on detection. ally will fight your enemies.

ATOMS RankChoice = fodder grunt expert
ATOMS ClassChoice = member leader boss

random chosen rank/class (useful to distribute different stat multipliers among crowd members).

;crowds
ATOM Type = crowd | single
INTEGER CrowdMin = 3
INTEGER CrowdMax = 3
ATOMS CrowdMembers = NPC_*
crowds are a nice way to randomize characters by creating dynamic groups - crowds. A crowd is a special NPC_ object, which allows you to randomly and dynamically create a group of characters, where their number is randomized, as well as their appearance (i.e. the member character of the crowd). You create a crowd by specifying the minimum and maximum number of characters in the crowd (you obviously have to create those individual character objects as well), and specify the character objects (CrowdMembers) of the members. The game will randomly choose a number of characters between the min and max limit, and randomly choose a character from the CrowdMembers list for each character in the crowd.

END