
# Legends Soldier Calculator - Empty Legion Description (v4.0+)

# Soldiers:

# SLT : AMT : Race : Type : Status : TRL : MOR : WEA : ARM : SHI : MOU :
#-----:-----:------:------:--------:-----:-----:-----:-----:-----:-----:
#  1  :     :      :      :        :     :     :     :     :     :     :
   2  :51   :205   :383   :        :5    :13   :8    :153  :132  :     :
   3  :42   :205   :      :        :5    :8    :16   :144  :     :     :
   4  :98   :205   :      :        :4    :18   :16   :144  :     :     :
   5  :56   :205   :      :        :5    :3    :13   :141  :     :     :
   6  :25   :205   :379   :        :4    :23   :7    :147  :132  :     :
   7  :47   :205   :379   :        :4    :23   :7    :147  :132  :     :
   8  :65   :205   :379   :        :4    :23   :7    :147  :132  :     :

# Characters:

#SLT:ID# : Name      :CF :DF: AF :MAF :CAF :MAV:SAV:MAD:SAD:DAM:INV:AFB:OVER:
#---:----:-----------:---:--:----:----:----:---:---:---:---:---:---:---:----:
#C1 :    :           :   :  :    :    :    :   :   :   :   :   :   :   :    :
#C2 :    :           :   :  :    :    :    :   :   :   :   :   :   :   :    :
#C3 :    :           :   :  :    :    :    :   :   :   :   :   :   :   :    :
#C4 :    :           :   :  :    :    :    :   :   :   :   :   :   :   :    :
#C5 :    :           :   :  :    :    :    :   :   :   :   :   :   :   :    :
#C6 :    :           :   :  :    :    :    :   :   :   :   :   :   :   :    :
 C7 :4558:Carti      :50 :13: 100:    : 150:  0:  0:  2:  2:  1:  1:   :50  :
#C8 :    :           :   :  :    :    :    :   :   :   :   :   :   :   :    :
 C9 :4558:Carti      :   :  :    :    :    :   :   :   :   :   :   :   :50  :

# Fortifications:

#CODE:DF  :MOR :AFB :OVER:
#----:----:----:----:----:
  F  : 19 : 19 : 50 : 90 :

# Terrain:

#CODE:PRIMARY:SECONDARY:SPECIAL:
#----:-------:---------:-------:
# T  :   1   :   12    :       :

# Reserve Options:

#CODE:LEFT (6):CENTER(7):RIGHT(8):
#----:--------:---------:--------:
# R  :    8   :    8    : 8      :

# Acceptable Losses:

#CODE:% LOSSES:
#----:--------:
  L  :   75   :

# **********************  Instructions *********************************

# Soldiers Table:
# --------------
# SLT=soldier slot, a positive integer from 1 to 8 (required).
# AMT=amount of soldiers, a positive integer.
# Race=race ID of the soldiers, a positive integer.
# Type=training type ID of the soldiers, a positive integer.
# Status=supernatural status ID of the soldiers, a positive integer.
# TRL=training level of the soldiers, a positive integer.
# MOR=morale of the soldiers, an integer (percent).
# WEA=weapon ID used by the soldiers, a positive integer.
# ARM=armor ID worn by the soldiers, a positive integer.
# SHI=shield ID used by the soldiers, a positive integer.
# MOU=warmount ID ridden by the soldiers, a positive integer.

# Character Table:
# ---------------
# SLT=character slot 1-9, preceded by the letter C, e.g. C1, C2, etc.
#     (required)
# ID#=character ID#, a positive integer.
# Name=character name, a text string.
# CF=character combat factor, a positive integer.
# DF=character defense factor, a positive integer.
# AF=character melee attack factor, a positive integer.
# MAF=character missile attack factor, a positive integer.
# CAF=character charge attack factor, a positive integer.
# MAV=character magical attack value, for example from casting Firestorm,
#     a positive integer.
# SAV=character special attack value, a positive integer.
# MAD=character magic attack defense, a positive integer.
# SAD=character special attack defense, a positive integer.
# DAM=character DAMage rating, a positive integer.
# INV=character INVulnerability rating, a positive integer.
# AFB=attack factor bonus applied to the soldiers of this slot due to this
#     character, for example due to casting a battle spell, an integer
#     (percent).
# OVER=overall modifier applied to the soldiers of this slot due to this
#     character, for example due to casting a battle spell.  An overall
#     modifier will affect both AF and DF.  For slot 9, this is an overall
#     modifier that will be applied to the soldiers of all slots, and
#     could be due to the overall leader's tactics bonus, a -30 modifier
#     due to a forced march, and so forth.  An integer (percent).

# Fortifications Table:
# --------------------
# CODE=Should always be F.  Identifies the line as the fortifications entry.
# DF=Defense factor bonus given by the fortifications.  Positive integer.
# MOR=Morale bonus given by the fortifications. Positive integer.
# AFB=Attack factor bonus given by the fortifications. Positive integer (%).
# OVER=Overall modifier given by the fortifications.  Positive integer (%).

# Fortifications bonuses apply only when a location is defending.  The entry
# should be commented out when the location is attacking.  The presence of
# fortifications will affect the permitted values for secondary terrain.
# NOTE: LSC does not know when a legion is attacking and so will always
# include the fortifications in its calculations if they are present.
# However, LBS does know whether a legion is the attacker or defender and
# will ignore the attacker's fortifications in its calculations.  Therefore,
# you should be careful about including fortifications in the LDF, to ensure
# that the LSC output is consistent with the way LBS will treat the same
# LDF.

# The OVERall modifier is usually 5 x DF.  Since approx July 1993,
# fortifications give a leadership/tactics bonus that is the same as the
# DF bonus.  However, whether or not a force receives an overall bonus
# from tactics depends on the tactics of the opposing force, so you may
# have to adjust this number and/or other overall modifiers depending on
# the current opponent to get a true picture of the force's strength.

# Terrain Table:
# -------------
# CODE=Should always be T.  Identifies the line as the terrain entry.
# PRIMARY=Primary terrain, a positive integer.  Use the numeric codes below.
#   The primary terrain should be one of the basic terrain types 1-11, 14-16,
#   or blank to indicate that terrain calculations should not be done.
# SECONDARY=Secondary terrain, a positive integer.  Use the numeric codes
#   below.  The secondary terrain should be one of codes 12 or 13, or blank.
#   The secondary terrain should be consistant with the presence or absence
#   of fortifications and whether the force will act as attacker or defender.
# SPECIAL=Special terrain, a positive integer.  This field is not currently
#   in use and all entries will be ignored.

# The secondary terrain entry must be consistant with the presence or
# absence of fortifications in the legion description, i.e. if the force
# has fortifications, the secondary terrain must be Defending Walls, and if
# there are no fortifications, the secondary terrain cannot be Defending
# Walls.  Both LSC and LBS will force this consistancy.   LSC does not know
# if a legion is an attacker or defender and will always include the
# fortifications in its calculations if they are present in the LDF.  LBS,
# however, does know whether the legion is the attacker or defender, and
# forces a more stringent consistancy.  The attacking legion's fortifications
# are always ignored and if the defender is Defending Walls then the
# attacker's secondary terrain is forced to Attacking Walls.  In addition,
# the primary terrain of the attacker and defender must be the same -
# if they are different, then the terrain values for the defender are used
# for both forces.  In other words, you must be careful with your
# fortifications and terrain entries in the LDFs to ensure that the output
# of LSC reflects the same numbers that LBS calculates for a specific
# battle.

# Terrain type codes:

# 1: Grassland           6: Barren Hills       11: Sea
# 2: Forest              7: Barren Mtns        12: Defending Walls
# 3: Hvy Forest          8: Moors              13: Attacking walls
# 4: Forest Hills        9: Swamp              14: City
# 5: Forest Mtns        10: Desert             15: Air
#                                              16: Confined

# Reserve Options Table:
# ---------------------
# CODE=Should always be R.  Identifies the line as the Reserve Options.
# LEFT(6)=The option for the Left Reserve, slot 6.
# CENTER(7)=The option for the Center Reserve, slot 7.
# RIGHT(8)=The option for the Right Reserve, slot 8.

# The only effect that the reserve slot options will have on the output of
# LSC is when the force has fortifications.  Reserve slots with options
# 1, 2, 9, 10, 11 (flank and charge) will not receive the DF, MOR, or AFB
# from the fortifications nor will they use the Defending Walls terrain
# modifier, although they receive the full overall bonus from tactics.
# Reserve Options will also have an important effect on the outcome of
# battles in LBS.

# Reserve Options default to option 8, Tactical Reserve, when not specified
# or inappropriate.

# Reserve Options Codes:

# 1: Flank Left (6) (a) (f)                    8: Tactical Reserve
# 2: Flank Right (8) (a) (f)                   9: Charge Left (6,7) (a) (f)
# 3: Support Missile Fire Left Flank (6)      10: Charge Center (a) (f)
# 4: Support Missile Fire Left Center (6,7)   11: Charge Right (7.8) (a) (f)
# 5: Support Missile Fire Center              12: Countercharge (d)
# 6: Support Missile Fire Right Center (7,8)  13: Opportunity Charge (a)
# 7: Support Missile Fire Right Flank (8)     14: Strategic Reserve (d)

# (#) = the option is restricted to the specified slots.
# (a) = the option is inappropriate when attacking a fortified position and
#       in such cases will be converted to option 8, Tactical Reserve.
# (d) = the option is inappropriate for a defending location and in such
#       cases will be converted to option 8, Tactical Reserve.
# (f) = the option will result in the slot losing the DF, MOR, and AFB
#       bonuses due to fortifications and the slot will not use the
#       Defending Walls terrain modifier.

# Acceptable Losses Table:
# -----------------------
# CODE=Should always be L.  Identifies the line as the Acceptable Losses
#   entry.
# % LOSSES=The percentage of total soldier losses that the legion will
#   accept before attempting to withdraw from combat.  A positive integer.

# This entry is of interest only when running the LBS program.

# General Instructions:
# --------------------
# Lines with # in column position 1 are ignored.

# Blank lines are ignored.

# All table entries must be separated by colons (:).

# Blank or text entries (except in names fields) indicate unknowns and are
# considered zeroes.

# The largest number that can be handled on the input is 32767.

# All other white space is ignored.
