#Rotten to the Core Configuration file
#
#  PHost 4 Configuration File -- HOST compatibility
#
#  This configuration file contains HOST defaults. All PHost extra
#  features have been switched off, so PHost behaves as close to HOST
#  as possible.
#
#  Probably, many of these options can still be removed (as in
#  simple.src). As of PHost 3.4d, built-in defaults should agree with
#  HOST defaults wherever possible.
#

% PHOST

#
#   Overall Options
#

  GameName                        = PHost tries to be HOST
  AllowRegisteredFunctions        = Yes
  ScoringMethod                   = Compatible
  NumShips                        = 500

  PlayerRace                      = 1,2,3,4,5,6,7,8,9,10,11

  AllowPlayerMessages             = Yes
  AllowAnonymousMessages          = Yes

  AllowWraparoundMap              = No
  WraparoundRectangle             = 1000,1000,3000,3000

### Command Processor
# All special functions turned off, *except* for "send" which is
# useful for players to know what they're up to.
  CPEnableGive                    = No
  CPEnableAllies                  = No
  DelayAllianceCommands           = No
  CPEnableRaceName                = No
  CPEnableSend                    = Yes
  CPEnableRemote                  = No

### Player Preferences

# CPEnableLanguage is off so everyone gets HOST-compatible messages. 
# If you feel better when this is on, go ahead.
  Language                        = English,English,English,English,English,English,English,English,English,English,English,English
  CPEnableLanguage                = No

  AllowMoreThan50Targets          = No,No,No,No,No,No,No,No,No,No,No
  FilterPlayerMessages            = No,No,No,No,No,No,No,No,No,No,No
  AllowMoreThan500Minefields      = No,No,No,No,No,No,No,No,No,No,No

### Meteors

  MeteorShowerOdds                = 10
  LargeMeteorsImpacting           = 0
  RandomMeteorRate                = 8
  MeteorShowerOreRanges           = 10,10,10,10,700,200,200,200
  LargeMeteorOreRanges            = 100,100,100,100,10000,9000,9000,7000

### Ion Storms

  IonStormActivity                = 6
  IonStormsHideMines              = Yes

#
#   Planets
#

### Production
  RaceMiningRate                  = 70,200,100,100,100,100,100,100,100,100,100
  ColonistTaxRate                 = 200,100,100,100,100,100,100,100,100,100,100
  ProductionRate                  = 100
  MaxPlanetaryIncome              = 5000
  BorgAssimilationRate            = 100

### Natural Processes
  NewNativesPerTurn               = 1
  NewNativesPopulationRange       = 2500,5000
  NewNativesGovernmentRate        = 1
  NewNativesRaceRate              = 1

  TransuraniumDecayRate           = 5
  StructureDecayPerTurn           = 1
  StructureDecayOnUnowned         = 1

### Growth
  RaceGrowthRate                  = 100
  ClimateLimitsPopulation         = Yes
  AllowEatingSupplies             = Yes
  ClimateDeathRate                = 10
  NativeClimateDeathRate          = 0
  CrystalsPreferDeserts           = Yes
  CrystalSinTempBehavior          = No
# HOST has 200 here. Due to HOST's different implementation of
# ClimateDeathRate, we can't get 100% exact behaviour. 1000 comes
# close, though.
  MaxColTempSlope                 = 1000

### Combat
  GroundKillFactor                = 1,30,1,15,1,1,1,1,1,1,1
  GroundDefenseFactor             = 1,10,1,5,1,1,1,1,1,1,1
  FreeFighters                    = 0,0,0,0,0,0,0,10,0,0,0
  AllowPlanetAttacks              = Yes
  PlanetsAttackKlingons           = No
  PlanetsAttackRebels             = No
  ColonistCombatSurvivalRate      = 0
  NativeCombatSurvivalRate        = 75

#
#   Ships
#

### Building Ships
  AllowShipCloning                = Yes
  ShipCloneCostRate               = 200,200,200,200,32767,200,32767,200,200,200,200
  RecycleRate                     = 75

### Ship Build Queue
  BuildQueue                      = PBP
  BuildPointReport                = Yes
  BuildChangeRelativePenalty      = 100       # ...HOST doesn't usually have that
  AllowPriorityBuild              = Yes

## PBP Building
  PBPCostPer100KT                 = 200
  PBPMinimumCost                  = 400
  PBPCloneCostRate                = 200

## Ship Build Queue
# (The SBQ parameters are ignored when you use a PBP queue. We just
# show the defaults for a PAL queue.)
  SBQBuildPALBoost                = 1
  SBQNewBuildPALBoost             = 1
  SBQPointsForAging               = 1200
  SBQBuildChangePenalty           = 0
  SBQBoostExpX100                 = 0

## Acquiring PALs
# The idea behind a PAL queue is that you have to destroy 2N kt mass
# to be granted a N kt priority build.
  PALDecayPerTurn                 = 0
  PALPlayerRate                   = 100
  PALCombatAggressor              = 0
  PALAggressorPointsPer10KT       = 2
  PALOpponentPointsPer10KT        = 2
  PALAggressorKillPointsPer10KT   = 8
  PALOpponentKillPointsPer10KT    = 8
  PALCombatPlanetScaling          = 100
  PALCombatBaseScaling            = 150
  PALShipCapturePer10Crew         = 0
  PALRecyclingPer10KT             = 10
  PALBoardingPartyPer10Crew       = 0
  PALGroundAttackPer100Clans      = 0
  PALGloryDevice                  = 0
  PALGloryDevicePer10KT           = 10
  PALGloryDamagePer10KT           = 2
  PALGloryKillPer10KT             = 8
  PALImperialAssault              = 0
  PALRGA                          = 0
  PALPillage                      = 0
  PALIncludesESB                  = No
  PALShipMinekillPer10KT          = 0

### Ship Movement
  AllowNoFuelMovement             = Yes
  AllowGravityWells               = Yes
  GravityWellRange                = 3
  RoundGravityWells               = Yes
  UseAccurateFuelModel            = No

### Missions
  AllowBuildFighters              = No,No,No,No,No,No,No,No,Yes,Yes,Yes
  CumulativePillaging             = Yes  # FIXME?
  AllowDeluxeSuperSpy             = Yes
  SpyDetectionChance              = 20
  AllowRebelGroundAttack          = Yes
  RGANeedsBeams                   = No
  AllowRGAOnUnowned               = No
  AllowSuperRefit                 = Yes
  AllowExtendedMissions           = No

### Cloaking
  CloakFuelBurn                   = 5
  CloakFailureRate                = 1
  DamageLevelForCloakFail         = 10
  AllowCloakFailMessages          = Yes
  AllowCloakedShipsAttack         = Yes
  AllowAntiCloakShips             = Yes
  DamageLevelForAntiCloakFail     = 20
  AntiCloakImmunity               = Yes,Yes,Yes,No,No,No,No,No,No,No,No
  AlternativeAntiCloak            = No

### Robbing
  RobFailureOdds                  = 1
  RobCloakedShips                 = No
  RobCloakedChance                = 0

### Towing
  AllowOneEngineTowing            = No
  TowedShipsBreakFree             = No
  AllowTowCloakedShips            = No
  AllowAlternativeTowing          = No
# TowStrengthEngineScale          = 1
# TowStrengthDistanceScale        = 19
  AllowBoardingParties            = Yes
  TowedShipsCooperate             = No

### Scanners
  ScanRange                       = 300
  SensorRange                     = 200
  ExtendedSensorSweep             = No
  MinesForDetectable              = 21
  FactoriesForDetectable          = 16
  DefenseForUndetectable          = 15

### Hiss
  AllowHiss                       = Yes
  HissEffectRate                  = 5
  MaxShipsHissing                 = 500

### Ship Special Functions
  AllowAlchemy                    = Yes
  AllowAdvancedRefinery           = Yes
  AllowScienceMissions            = Yes
  DamageLevelForTerraformFail     = 100
  TerraformRate                   = 1
  AllowHyperWarps                 = Yes
  DamageLevelForHyperjumpFail     = 100
  AllowGloryDevice                = Yes
  AllowGamblingShips              = Yes
  AllowImperialAssault            = Yes
  AllowBioscanners                = Yes
  RamScoopFuelPerLY               = 2
  AllowChunneling                 = Yes
  DamageLevelForChunnelFail       = 100
  AllowAlliedChunneling           = Yes
  MinimumChunnelDistance          = 100

### Ships in Combat
# AllowEngineShieldBonus         = No
# AllowESBonusAgainstPlanets     = Yes
# EngineShieldBonusRate          = 0
  AllowFedCombatBonus             = Yes
  AllowInterceptAttack            = Yes

#
#   Minefields
#

### General
  AllowMinefields                 = Yes
  MineDecayRate                   = 5
  MaximumMinefieldRadius          = 150
  NumMinefields                   = 500
  MaximumMinefieldsPerPlayer      = 10000
  MineIdNeedsPermission           = No
  UnitsPerTorpRate                = 100,100,100,100,100,100,100,100,400,100,100

### Movement Through Mines
  MineHitOdds                     = 1
  WebMineHitOdds                  = 5
  MineHitOddsWhenCloakedX10       = 5
  MineOddsWarpBonusX100           = 0
  CloakMineOddsWarpBonusX100      = 0
  WebMineOddsWarpBonusX100        = 0
  MineTravelSafeWarp              = 0
  HullTechNotSlowedByMines        = 7
  MineHitDamageFor100KT           = 100
  WebHitDamageFor100KT            = 10
  WebHitFuelLoss                  = 50
  WebDrainFuelLoss                = 25

### Mine Sweeping
# Note! MineSweepRange and WebMineSweepRange are a bit larger than
# under HOST because decay happens before sweep in PHost.
  AllowMinesDestroyMines          = Yes
  AllowMinesDestroyWebs           = No
  MineSweepRange                  = 7
  WebMineSweepRange               = 2
  MineSweepRate                   = 4
  WebMineSweepRate                = 3
  FighterSweepRange               = 0,0,0,0,0,0,0,0,0,0,100
  FighterSweepRate                = 0,0,0,0,0,0,0,0,0,0,20
  AllowColoniesSweepWebs          = No

#
#   Wormholes
#
  AllowWormholes                  = Yes
  WormholeUFOsStartAt             = 51
  WrmVoluntaryTravel              = No
  WrmRandDisplacement             = 3
  WrmEntryPowerX100               = 35
  WrmTravelCloaked                = Yes