TILEMASTER2004 DATA V1

# Scenario settings

# Notes:
# - Players: There is now a scenario-user.cfg file for user settings (setting that are intended to be adjusted to your liking).  Please do NOT change the settings included in this file since they are related to the basic functioning of the scenario.

# TODO:
# - Now that there is a user-configurable file with settings that are intended to be adjusted by players split out (as listed in the note above), also consider that some of the UI setup settings in that separate file may also need the same (perhaps even somehow combined into the same user file)

# Save
#CFSAVE: 0

# General configuration
NOEVILXP: 1
TURNSCRIPTDELETE: 1

# View map
VMANIMATE: 0
VMCHARTILE: 65000

# Character creation and attribute settings
# - DDB was previous 0.25, but this was way too high.  0.15 gives the min of 10 a +1, the average of 15 a +2, and the max of 31 a +4.
CCPOINTS: 90
CCMINATTRIB: 10
CCMAXATTRIB: 30
CCABMULT: 0.5
CCDDBMULT: 0.15
CCSAVEMOD: -10
CCWEIGHTMULT: 5
#TODO: Enable when ready to rebalance
#PCATTRIBMOD: -10

# Win condition
WIN: KILL 90

# Interface
# TODO: This FXDELAY does not seem long enough for things such as attacks against ships with the sound turned off.  But be careful of changing the value since it is also used in other places.  If there's a problem with that, separate settings may be needed.
TEXTPAUSE: 1
#VERBOSITY: 3
FPTURNINGFREE: 1
OFFER: 0
FXATTACK: 4
FXDELAY: 10
VISIBILITY: 1
WIND: 1
WINDCALM: 10
STATS: 1
SBFIELD: 4 WIND
SBFIELD: 5 SP
EQUIPTYPE: 1

# NPC's
AIDIAGONAL: 0
AIMOVETYPE: 2
AINOWANDERFREQ: 8
AIATTACKTYPE: CLOSEST
AIRETREATTYPE: 1
FINDENEMYDIST: 8
#TODO: Remove when ready to rebalance
#GROUPRETREAT: 99
#TODO: Remove when ready to rebalance
#AIDOGROUPRETREAT: 0
ZOOMENEMIES: 3 4 -2

# Combat
# - Don't lower the retreat check XP to or past 50, goblin XP, because it is the baseline for no increase
# - It is coincidental if the values are the same for the retreat XP settings; don't assume the code needs a change to combine them
ZMSCREENLOCK: 1
#RETREATCHECKXP: 100
RETREATCHECKXP: 50
RETREATCHECKBASEXP: 50
RETREATCHECKDISTINC: 125
#RETREATCHECKDISTINC: 50

# Items
ITEMTERRAINCAP: 1009

# Food
# - FOOD is the rate at which 1 point of food is consumed
# - NOFOODDAMAGE is the percentage damage done when food runs out
FOOD: 5
NOFOODDAMAGE: 10

# Rate at which light points are used
# (duration rate, use rate)
# - This sets it so that with a base rate of 50 on dungeon maps, this equates to 1 point every turn
# - The base rate is temporarily implemented against the food rate, so if that changes then this will need to be adjusted
LIGHTRATE: 1 50

# Rate at which poison does damage
# (duration rate, damage rate)
# - This sets it so that with a base rate of 50 on town maps, this equates to 1 unit of damage every 5 turns
# - The base rate is temporarily implemented against the food rate, so if that changes then this will need to be adjusted
POISONRATE: 1 10

# General
TRAPUNSKILLED: 25

# Party
PARTY: 4

# Unsorted
SCENARIOID: GGAMEOS2

# User settings
# - This must be defined last in order to override any settings.  That said, note that it is likely that some settings cannot be overrided once defined.  To clarify, overriding means that the setting has already been defined previously such as here in this file then defined again later such as in the file being included here.  The issue is that doing so is likely not to work for some settings.
# TODO:
# - Investigate at least one setting that can't be overrided and update the above note with that information as an example and rephrase "it is likely that"
INCLUDE: -NOWARN scenario-user.cfg
