// Race database file
// The line above **must** be the first line of the races file!!! "// Race database file"
//
// Names should not conflict with any of the names in the baseclass database, class database, items database, spells database, or abilities database, all baseclasses start with a lower case letter and classes with an upper case letter.
//
// Keyword height lists the height in inches of the character
//	Eg:	height = 2d10+59+1*Male
//
// Keyword weight lists the weight in pounds of the character
//	Eg:	weight = 6d10+100+40*Male
//
// Keyword age is the character's starting age
//	Eg:	age = 1d10+80+1*Male
//
// Keyword maxage is the maximum age that the character can reach
//	Eg:	maxage = 1d100 + 450
//
// BaseMovement is the distance a character of this race can move during combat
//	Eg:	BaseMovement = 6
//
// AbilityRequirement lists the ability and the minimum and maximum numbers for the ability
//	Eg:	AbilityRequirement = Strength 8/18(99)
//
// AllowedMultiClass lists the class name for each of the allowed multi-classes for the race
//	Eg:	AllowedMultiClass = Fighter/Thief
//
// Skills consist of the skill name and the score
//	Eg:	Skill = DetectGrade,75
//
// SkillAdjAbility allows modification of a skill based upon an ability. Name, ability, type of modifier, score modifier for each of the 25 ability scores
//	Eg:	SkillAdjAbility = Read,Intelligence,%,0,0,0,0,0,0,0,0,85,90,95,100,100,100,100,100,105,110,115,115,115,115,115,115,115
//
// SkillAdjRace allows modification of skills, by listing the name of the skill, name of the race, percentage sign and number to modify it by
//	Eg:	SkillAdjRace = OpenLocks,Hobbit,%110
//
// Special Abilities correspond to the Special Ability database and list the name and parameter
//	Eg:	Special Ability = race_ShortSaveBonus,12
//
// Adjustments are of the form:
//    +/-n*(characteristic-k)/d
// For example to adjust, say, height.  Any of these are legal and equivalent.
//		height  =  +1*(Level-0)/1  ; Means (+1*(level-0))/1
//		height  =   1*(Level-0)/1
//		height  =   1*level/1
//		height  =   level/1
//		height  =   1*level
//		height  =   level
// Division throws remainder away.  +1/2 = 0   -1/2 = 0
//
// To suppress a race name at time of Character Creation, remove the "//" from:
// // Special Ability = class_RaceSuppress,"Y"
// in each Race as desired.
//

\(BEGIN)
name = Dwarf
weight = 4d9+100+((30+1d4)*Male)
height = 2d5+40+(2d2*Male)
age = 5d6+40
maxage = 2d100+250
BaseMovement = 6
AbilityRequirement = Strength 8/18(99)
AbilityRequirement = Intelligence 3/18
AbilityRequirement = Wisdom 3/18
AbilityRequirement = Dexterity 3/17
AbilityRequirement = Constitution 11/19
AbilityRequirement = Charisma 3/16
AllowedMultiClass = Fighter/Thief
Special Ability = race_ShortSaveBonus,12
ChangeClass = no
DwarfResistance = yes
GnomeResistance = no
FindSecretDoor = no
FindSecretDoorSearching = no
Skill = DetectGrade,75
Skill = DetectApproxDepth,50
Skill = Infravision,60
Skill = DetectNewConstruction,75
Skill = DetectSliding,67
Skill = MaxLevel$SYS$,40
SkillAdjAbility = MaxLevel$SYS$,Strength,+,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2,2,2,2,2,2,2
SkillAdjRace = OpenLocks,Dwarf,%,110
SkillAdjRace = FindTraps,Dwarf,%,115
SkillAdjRace = ClimbWalls,Dwarf,%,90
SkillAdjRace = ReadLanguages,Dwarf,%,95
// Special Ability = race_RaceSuppress,"Y"
\(END)

\(BEGIN)
name = Elf
height = 2d6+48+(6*Male)
weight = 3d11+67+((14+1d6)*Male)
age = 5d6+100
maxage = 4d100+350
BaseMovement = 12
AbilityRequirement = Strength 3/18(75)
AbilityRequirement = Intelligence 8/18
AbilityRequirement = Wisdom 3/18
AbilityRequirement = Dexterity 7/19
AbilityRequirement = Constitution 6/17
AbilityRequirement = Charisma 8/18
AllowedMultiClass = Fighter/Magic User
AllowedMultiClass = Fighter/Thief
AllowedMultiClass = Fighter/Magic User/Thief
AllowedMultiClass = Magic User/Thief
Special Ability = race_Elf,Elf
ChangeClass = no
DwarfResistance = no
GnomeResistance = no
FindSecretDoor = yes
FindSecretDoorSearching = yes
Skill = Infravision,60
Skill = SleepResistant,90
Skill = MaxLevel$SYS$,40
SkillAdjAbility = MaxLevel$SYS$,Strength,+,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2,2,2,2,2,2,2
SkillAdjAbility = MageLevelCaps,Intelligene,+,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2,2,2,2,2,2,2
SkillAdjRace = PickPockets,Elf,%,105
SkillAdjRace = OpenLocks,Elf,%,95
SkillAdjRace = MoveSilent,Elf,%,105
SkillAdjRace = HideInShadows,Elf,%,110
SkillAdjRace = HearNoise,Elf,%,105
// Special Ability = race_RaceSuppress,"Y"
\(END)

\(BEGIN)
name = Gnome
height = 2d4+34+(1*Male)
weight = 2d9+65+((5+1d4)*Male)
age = 3d12+60
maxage = 3d100+200
BaseMovement = 6
AbilityRequirement = Strength 6/18(50)
AbilityRequirement = Intelligence 7/18
AbilityRequirement = Wisdom 3/18
AbilityRequirement = Dexterity 3/18
AbilityRequirement = Constitution 8/18
AbilityRequirement = Charisma 3/18
AllowedMultiClass = Fighter/Magic User
AllowedMultiClass = Fighter/Thief
AllowedMultiClass = Magic User/Thief
Special Ability = race_ShortSaveBonus,8
ChangeClass = no
DwarfResistance = no
GnomeResistance = no
FindSecretDoor = yes
FindSecretDoorSearching = yes
Skill = DetectGrade,80
Skill = DetectApproxDepth,60
Skill = Infravision,60
Skill = DetermineDirectionUnderground,50
Skill = DetectUnsafeCeilingsWallsFloors,70
Skill = MaxLevel$SYS$,40
SkillAdjAbility = MaxLevel$SYS$,Strength,+,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1
SkillAdjAbility = MageLevelCaps,Intelligence,+,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2,2,2,2,2,2,2
SkillAdjRace = OpenLocks,Gnome,%,105
SkillAdjRace = FindTraps,Gnome,%,110
SkillAdjRace = MoveSilent,Gnome,%,105
SkillAdjRace = HideInShadows,Gnome,%,105
SkillAdjRace = HearNoise,Gnome,%,110
SkillAdjRace = ClimbWalls,Gnome,%,85
// Special Ability = race_RaceSuppress,"Y"
\(END)

\(BEGIN)
name = Half-Elf
height = 2d7+54+(4*Male)
weight = 3d10+85+((22+1d12)*Male)
age = 1d6+15
maxage = 3d20+125
BaseMovement = 12
AbilityRequirement = Strength 3/18(90)
AbilityRequirement = Intelligence 4/18
AbilityRequirement = Wisdom 3/18
AbilityRequirement = Dexterity 6/18
AbilityRequirement = Constitution 6/18
AbilityRequirement = Charisma 3/18
AllowedMultiClass = Cleric/Fighter
AllowedMultiClass = Cleric/Fighter/Magic User
AllowedMultiClass = Cleric/Ranger
AllowedMultiClass = Cleric/Magic User
AllowedMultiClass = Fighter/Magic User
AllowedMultiClass = Fighter/Thief
AllowedMultiClass = Fighter/Magic User/Thief
AllowedMultiClass = Magic User/Thief
Special Ability = race_HalfElf,Half-Elf
ChangeClass = no
DwarfResistance = no
GnomeResistance = no
FindSecretDoor = yes
FindSecretDoorSearching = yes
Skill = Infravision,60
Skill = SleepResistant,30
Skill = MaxLevel$SYS$,40
SkillAdjAbility = MaxLevel$SYS$,Strength,+,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2,2,2,2,2,2,2
SkillAdjAbility = MageLevelCaps,Intelligence,+,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2,2,2,2,2,2,2
SkillAdjRace = PickPocketsm,Half-Elf,%,110
SkillAdjRace = HideInShadows,Half-Elf,%,115
// Special Ability = race_RaceSuppress,"Y"
\(END)

\(BEGIN)
name = Halfling
height = 2d4+28+((3+1d3)*Male)
weight = 2d9+40+((10+1d4)*Male)
age = 3d4+20
maxage = 1d100+100
BaseMovement = 6
AbilityRequirement = Strength 6/17
AbilityRequirement = Intelligence 6/18
AbilityRequirement = Wisdom 3/17
AbilityRequirement = Dexterity 8/19
AbilityRequirement = Constitution 10/18
AbilityRequirement = Charisma 3/18
AllowedMultiClass = Fighter/Thief
Special Ability = race_ShortSaveBonus,10
ChangeClass = no
DwarfResistance = no
GnomeResistance = no
FindSecretDoor = no
FindSecretDoorSearching = no
Skill = DetectGrade,75
Skill = Infravision,60
Skill = DetermineDirection,50
Skill = Surprise,67
Skill = MaxLevel$SYS$,40
SkillAdjAbility = MaxLevel$SYS$,Strength,+,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2,2,2,2,2,2,2
SkillAdjRace = PickPockets,Halfling,%,105
SkillAdjRace = OpenLocks,Halfling,%,105
SkillAdjRace = FindTraps,Halfling,%,105
SkillAdjRace = MoveSilent,Halfling,%,110
SkillAdjRace = HideInShadows,Halfling,%,115
SkillAdjRace = HearNoise,Halfling,%,105
SkillAdjRace = ClimbWalls,Halfling,%,85
SkillAdjRace = ReadLanguages,Halfling,%,95
// Special Ability = race_RaceSuppress,"Y"
\(END)

\(BEGIN)
name = Half-Orc
height = 2d4+57+(5*Male)
weight = 5d11+97+((30+1d8)*Male)
age = 2d3+16
maxage = 1d20+60
BaseMovement = 12
AbilityRequirement = Strength 6/19
AbilityRequirement = Intelligence 3/17
AbilityRequirement = Wisdom 3/14
AbilityRequirement = Dexterity 3/17
AbilityRequirement = Constitution 13/19
AbilityRequirement = Charisma 3/12
AllowedMultiClass = Fighter/Thief
AllowedMultiClass = Cleric/Fighter
AllowedMultiClass = Cleric/Thief
AllowedMultiClass = Cleric/Assassin
AllowedMultiClass = Fighter/Assassin
ChangeClass = no
DwarfResistance = no
GnomeResistance = no
FindSecretDoor = no
FindSecretDoorSearching = no
Skill = Infravision,60
Skill = MaxLevel$SYS$,10
SkillAdjAbility = MaxLevel$SYS.Strength.+,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2,2,2,2,2,2,2,2,2
SkillAdjAbility = MaxLevel$SYS.Dexterity.+,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2,2,2,2,2,2,2,2,2
SkillAdjRace = PickPockets,Half-Orc,%,95
SkillAdjRace = OpenLocks,Half-Orc,%,105
SkillAdjRace = FindTraps,Half-Orc,%,105
SkillAdjRace = HearNoise,Half-Orc,%,105
SkillAdjRace = ClimbWalls,Half-Orc,%,110
SkillAdjRace = ReadLanguages,Half-Orc,%,90
// Special Ability = race_RaceSuppress,"Y"
\(END)

\(BEGIN) Human
name = Human
height = 2d8+58+((6+1d4)*Male)
weight = 7d12+93+((45+1d12)*Male)
age = 1d4+18
maxage = 1d20+75
BaseMovement = 12
AbilityRequirement = Strength 3/18(100)
AbilityRequirement = Intelligence 3/18
AbilityRequirement = Wisdom 3/18
AbilityRequirement = Dexterity 3/18
AbilityRequirement = Constitution 3/18
AbilityRequirement = Charisma 3/18
ChangeClass = yes
DwarfResistance = no
GnomeResistance = no
FindSecretDoor = no
FindSecretDoorSearching = no
// Special Ability = race_RaceSuppress,"Y"
\(END)

// NPC and monster races

\(BEGIN)
name = Drow
height = 2d6+48+(6*Male)
weight = 3d11+67+((14+1d6)*Male)
age = 5d6+100
maxage = 4d100+350
BaseMovement = 12
AbilityRequirement = Strength 3/18(75)
AbilityRequirement = Intelligence 8/18
AbilityRequirement = Wisdom 3/18
AbilityRequirement = Dexterity 7/19
AbilityRequirement = Constitution 6/17
AbilityRequirement = Charisma 8/18
AllowedMultiClass = Fighter/Magic User
AllowedMultiClass = Fighter/Thief
AllowedMultiClass = Fighter/Magic User/Thief
AllowedMultiClass = Magic User/Thief
Special Ability = race_Elf,Drow
ChangeClass = no
DwarfResistance = no
GnomeResistance = no
FindSecretDoor = yes
FindSecretDoorSearching = yes
Skill = Infravision,60
Skill = SleepResistant,90
Skill = MaxLevel$SYS$,40
SkillAdjAbility = MaxLevel$SYS$,Strength,+,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2,2,2,2,2,2,2
SkillAdjAbility = MageLevelCaps,Intelligene,+,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2,2,2,2,2,2,2
SkillAdjBaseclass = MaxLevel$SYS$,fighter,\=,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5
SkillAdjBaseclass = MageLevelCaps,magicUser,\=,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9
SkillAdjRace = PickPockets,Drow,%,105
SkillAdjRace = OpenLocks,Drow,%,95
SkillAdjRace = MoveSilent,Drow,%,105
SkillAdjRace = HideInShadows,Drow,%,110
SkillAdjRace = HearNoise,Drow,%,105
Special Ability = race_RaceSuppress,"Y"
\(END)

\(BEGIN)
name = Duergar
weight = 4d9+100+((30+1d4)*Male)
height = 2d5+40+(2d2*Male)
age = 5d6+40
maxage = 2d100+250
BaseMovement = 6
AbilityRequirement = Strength 8/18(99)
AbilityRequirement = Intelligence 3/18
AbilityRequirement = Wisdom 3/18
AbilityRequirement = Dexterity 3/17
AbilityRequirement = Constitution 11/19
AbilityRequirement = Charisma 3/16
AllowedMultiClass = Fighter/Thief
Special Ability = race_ShortSaveBonus,12
ChangeClass = no
DwarfResistance = yes
GnomeResistance = no
FindSecretDoor = no
FindSecretDoorSearching = no
Skill = DetectGrade,75
Skill = DetectApproxDepth,50
Skill = Infravision,60
Skill = DetectNewConstruction,75
Skill = DetectSliding,67
Skill = MaxLevel$SYS$,40
SkillAdjAbility = MaxLevel$SYS$,Strength,+,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2,2,2,2,2,2,2
SkillAdjBaseclass = MaxLevel$SYS$,fighter,\=,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7
SkillAdjRace = OpenLocks,Duergar,%,110
SkillAdjRace = FindTraps,Duergar,%,115
SkillAdjRace = ClimbWalls,Duergar,%,90
SkillAdjRace = ReadLanguages,Duergar,%,95
Special Ability = race_RaceSuppress,"Y"
\(END)

\(BEGIN)
name = Monster
weight = 100
height = 100
age = 10
maxage = 250
BaseMovement = 12
AbilityRequirement = Strength 1/25
AbilityRequirement = Intelligence 1/25
AbilityRequirement = Wisdom 1/25
AbilityRequirement = Dexterity 1/25
AbilityRequirement = Constitution 1/25
AbilityRequirement = Charisma 1/25
ChangeClass = no
DwarfResistance = yes
GnomeResistance = no
FindSecretDoor = no
FindSecretDoorSearching = no
Special Ability = race_RaceSuppress,"Y"
\(END)

\(BEGIN)
name = Svirfneblin
height = 2d4+34+(1*Male)
weight = 2d9+65+((5+1d4)*Male)
age = 3d12+60
maxage = 3d100+200
BaseMovement = 6
AbilityRequirement = Strength 6/18(50)
AbilityRequirement = Intelligence 7/18
AbilityRequirement = Wisdom 3/18
AbilityRequirement = Dexterity 3/18
AbilityRequirement = Constitution 8/18
AbilityRequirement = Charisma 3/18
AllowedMultiClass = Fighter/Magic User
AllowedMultiClass = Fighter/Thief
AllowedMultiClass = Magic User/Thief
Special Ability = race_ShortSaveBonus,8
ChangeClass = no
DwarfResistance = no
GnomeResistance = no
FindSecretDoor = yes
FindSecretDoorSearching = yes
Skill = DetectGrade,80
Skill = DetectApproxDepth,60
Skill = Infravision,60
Skill = DetermineDirectionUnderground,50
Skill = DetectUnsafeCeilingsWallsFloors,70
Skill = MaxLevel$SYS$,40
SkillAdjAbility = MaxLevel$SYS$,Strength,+,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1
SkillAdjAbility = MageLevelCaps,Intelligence,+,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2,2,2,2,2,2,2
SkillAdjBaseclass = MaxLevel$SYS$,fighter,\=,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5
SkillAdjBaseclass = MageLevelCaps,magicUser,\=,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5
SkillAdjRace = OpenLocks,Svirfneblin,%,105
SkillAdjRace = FindTraps,Svirfneblin,%,110
SkillAdjRace = MoveSilent,Svirfneblin,%,105
SkillAdjRace = HideInShadows,Svirfneblin,%,105
SkillAdjRace = HearNoise,Svirfneblin,%,110
SkillAdjRace = ClimbWalls,Svirfneblin,%,85
Special Ability = race_RaceSuppress,"Y"
\(END)



\(BEGIN)
name = $$Help
Special Ability = Date,"July 27, 2013"
Special Ability = Version,".998953"
Special Ability = Updates984,"updated SA for Elf"
Special Ability = Updates9935,"updated race_ShortSaveBonus for dwarf, gnome and halfling"
Special Ability = Updates998103,"removed keys"
Special Ability = Updates998113,"added Skill and SkillAdjRace, corrected height and weight"
Special Ability = Updates998121,"corrected SkillAdjRace"
Special Ability = Updates998505,"level caps added for non-human races"
Special Ability = Updates998703,"added assassin"
Special Ability = Updates998801,"fixed Halfing CON and DEX issues"
Special Ability = Updates998905,"added race_RaceSuppress SA commented out to each race"
Special Ability = Updates998931,"standardized parameters"
Special Ability = Updates998953,"added Drow, Duergar and Svirfneblin and Monster"
\(END)

