#
#  By itself, this file configures a "standard" game with PAL build
#  queue, all PHost features on. The ship-list specific parameters are
#  here but commented out, so that the choice of battle type is done
#  with the shiplist.txt file.
#
#  Some options have a default of "same as NameOfOtherOption", for example,
#  "PlayerSpecialMission = same as PlayerRace". This means that
#  "PlayerSpecialMission" defaults to the same value as "PlayerRace";
#  when you change PlayerRace, PlayerSpecialMission changes to that
#  same value, unless you enter a value for PlayerSpecialMission as
#  well. These options have been commented out here (the "dollar sign"
#  notation is not supported by most other programs trying to parse
#  pconfig.src).
#

% PHOST

#
#   Overall Options
#

  GameName                        = Risky-Strixy
  DisablePasswords                = No
  AllowRegisteredFunctions        = Yes
  AllowShipNames                  = Yes
  ScoringMethod                   = Compatible
  TonsScoreCountsPlanets          = No
  PlayerRace                      = 1,2,3,4,5,6,7,8,9,10,11
# PlayerSpecialMission            = same as PlayerRace
  MapTruehullByPlayerRace         = No
  NumShips                        = 500

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

  AllowPlayerMessages             = Yes
  AllowAnonymousMessages          = Yes

### Meta-options
  AllowIncompatibleConfiguration  = Yes
  ConfigLevel                     = 0

### Command Processor

  CPEnableGive                    = Yes
  CPEnableAllies                  = Yes
  CPEnableEnemies                 = Yes
  DelayAllianceCommands           = No
  CPEnableRaceName                = Yes
  CPEnableSend                    = Yes
  CPEnableRemote                  = Yes
  CPEnableShow                    = Yes
  CPEnableRefit                   = Yes

### Player Preferences

  Language                        = English,English,English,English,English,English,English,English,English,English,English,English
  CPEnableLanguage                = Yes

  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                = 5
  LargeMeteorsImpacting           = 0
  RandomMeteorRate                = 2
  MeteorShowerOreRanges           = 10,10,10,10,200,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
  ProductionRate                  = 100
  ColonistTaxRate                 = 200,100,100,100,100,100,100,100,100,100,100
# NativeTaxRate                   = same as ColonistTaxRate
  MaxPlanetaryIncome              = 5000
  BorgAssimilationRate            = 100

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

  TransuraniumDecayRate           = 5
  StructureDecayPerTurn           = 5
  StructureDecayOnUnowned         = 10

### Growth
  RaceGrowthRate                  = 100
  ClimateLimitsPopulation         = Yes
  AllowEatingSupplies             = Yes
  ClimateDeathRate                = 10
  NativeClimateDeathRate          = 0
  CrystalsPreferDeserts           = No
  CrystalSinTempBehavior          = No
  MaxColTempSlope                 = 1000

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

### Starbases
# These options are commented out, because modifying them
# is not supported by client programs yet. You would have to
# enable AllowIncompatibleConfiguration to use them.
# StarbaseCost                    = T402 D120 M340 $900
# BaseFighterCost                 = T3 M2 $100
# MaximumFightersOnBase           = 60
# MaximumDefenseOnBase            = 200

#
#   Ships
#

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

### Ship Build Queue
  BuildQueue                      = PAL
  BuildPointReport                = Allies
  BuildChangeRelativePenalty      = 100
  AllowPriorityBuild              = Yes

  SBQBuildPALBoost                = 1
  SBQNewBuildPALBoost             = 1
  SBQPointsForAging               = 1200
  SBQBuildChangePenalty           = 0
  SBQBoostExpX100                 = 0

  PBPCostPer100KT                 = 200
  PBPMinimumCost                  = 400
  PBPCloneCostRate                = 200

  PALAggressorKillPointsPer10KT   = 10
  PALAggressorPointsPer10KT       = 2
  PALBoardingPartyPer10Crew       = 3
  PALCombatAggressor              = 0
  PALCombatBaseScaling            = 80
  PALCombatPlanetScaling          = 50
  PALGloryDamagePer10KT           = 2
  PALGloryKillPer10KT             = 0
  PALGloryDevice                  = 100
  PALGloryDevicePer10KT           = 0
  PALGroundAttackPer100Clans      = 100
  PALImperialAssault              = 100
  PALIncludesESB                  = Yes
  PALOpponentKillPointsPer10KT    = 10
  PALOpponentPointsPer10KT        = 2
  PALPillage                      = 10
  PALRGA                          = 10
  PALRecyclingPer10KT             = 4
  PALShipCapturePer10Crew         = 5
  PALShipMinekillPer10KT          = 0
  PALDecayPerTurn                 = 20
  PALPlayerRate                   = 100

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

  FuelUsagePerTurnFor100KT        = 0
  FuelUsagePerFightFor100KT       = 0

### Missions
  AllowBuildFighters              = No,No,No,No,No,No,No,No,Yes,Yes,Yes
  ShipFighterCost                 = T3 M2 S5
  CumulativePillaging             = Yes
  AllowDeluxeSuperSpy             = Yes
  SpyDetectionChance              = 20
  AllowRebelGroundAttack          = Yes
  RGANeedsBeams                   = No
  AllowRGAOnUnowned               = No
  AllowSuperRefit                 = Yes
  AllowExtendedMissions           = Yes
  ExtMissionsStartAt              = 20
  AllowBeamUpClans                = Yes
  AllowBeamUpMultiple             = Yes

### Cloaking
  CloakFuelBurn                   = 5
  CloakFailureRate                = 2
  DamageLevelForCloakFail         = 15
  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
# AllowPrivateerTowCapture        = same as AllowBoardingParties
# AllowCrystalTowCapture          = same as AllowBoardingParties
  TowedShipsCooperate             = Yes

### Scanners
  ScanRange                       = 300
  SensorRange                     = 200
# DarkSenseRange                  = same as SensorRange
  ExtendedSensorSweep             = Yes
  MinesForDetectable              = 20
  FactoriesForDetectable          = 15
  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

#
#   Experience
#
  NumExperienceLevels             = 0
  ExperienceLevels                = 750,1500,3000,6000
  ExperienceLevelNames            = Recruit,Soldier,Experienced,Elite,Ultra Elite
  ExperienceLimit                 = 1000000
  ExactExperienceReports          = No

  EPRecrewScaling                 = 30
  EPShipAging                     = 15
  EPPlanetAging                   = 25
  EPPlanetGovernment              = 0
  EPShipMovement100LY             = 40
  EPShipHyperjump                 = 30
  EPShipChunnel                   = 30
  EPShipAlchemy100KT              = 5
  EPShipIonStorm100MEV            = 80
  EPCombatKillScaling             = 800
  EPCombatDamageScaling           = 200
  EPCombatBoostLevel              = 0
  EPCombatBoostRate               = 100          # means: no boost
# EPTrainingScale                 = 70
# EModBayRechargeRate             = 1,2,3,4
# EModBayRechargeBonus            = 0,0,0,0
# EModBeamRechargeRate            = 0,0,0,0
# EModBeamRechargeBonus           = 0,0,0,0
# EModTubeRechargeRate            = 1,2,3,8
# EModBeamHitFighterCharge        = 0,0,0,0
# EModTorpHitOdds                 = 9,18,27,35
# EModBeamHitOdds                 = 0,0,0,0
# EModBeamHitBonus                = 0,0,0,0
# EModStrikesPerFighter           = 1,2,3,4
# EModFighterBeamExplosive        = 0,0,0,0
# EModFighterBeamKill             = 0,0,0,0
# EModFighterMovementSpeed        = 0,0,0,0
# EModMaxFightersLaunched         = 0,0,0,0
# EModTorpHitBonus                = 0,0,0,0
# EModTubeRechargeBonus           = 0,0,0,0
# EModExtraFighterBays            = 0,0,0,0
# EModEngineShieldBonusRate       = 0,0,0,0
# EModShieldDamageScaling         = 0,0,0,0
# EModShieldKillScaling           = 0,0,0,0
# EModHullDamageScaling           = 0,0,0,0
# EModCrewKillScaling             = -5,-10,-15,-20
# EModPlanetaryTorpsPerTube       = 0,0,0,0
  EModMineHitOddsBonus            = 5,10,15,20

#
#   Minefields
#

### General
  AllowMinefields                 = Yes
# AllowWebMines                   = same as AllowMinefields
  MineDecayRate                   = 5
# WebMineDecayRate                = same as MineDecayRate
  MaximumMinefieldRadius          = 150
# MaximumWebMinefieldRadius       = same as MaximumMinefieldRadius
  NumMinefields                   = 500
  MaximumMinefieldsPerPlayer      = 10000
  MineIdNeedsPermission           = No
  UnitsPerTorpRate                = 100,100,100,100,100,100,100,100,400,100,100
# UnitsPerWebRate                 = same as UnitsPerTorpRate

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

### Mine Sweeping
# MineScanRange                   = same as SensorRange
  AllowMinesDestroyMines          = Yes
  AllowMinesDestroyWebs           = No
  AlternativeMinesDestroyMines    = No
  MineSweepRange                  = 10
  WebMineSweepRange               = 5
  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

#
#   Combat
#
# AllowAlternativeCombat          = No

### Beams
# BeamFiringRange                 = 20000
# BeamHitShipCharge               = 600
# BeamHitFighterRange             = 100000
# BeamHitFighterCharge            = 500
# BeamHitOdds                     = 100
# BeamHitBonus                    = 0
# BeamRechargeRate                = 8
# BeamRechargeBonus               = 0
# FireOnAttackFighters            = No

### Fighters
# ExtraFighterBays                = 3,0,0,0,0,0,0,0,0,0,0
# BayLaunchInterval               = 3
# BayRechargeRate                 = 52
# BayRechargeBonus                = 2
# FighterBeamExplosive            = 2
# FighterBeamKill                 = 2
# FighterFiringRange              = 3000
# FighterKillOdds                 = 20
# FighterMovementSpeed            = 235
# MaxFightersLaunched             = 19
# StrikesPerFighter               = 7

### Torpedoes
# TorpFiringRange                 = 30000
# TorpHitOdds                     = 65
# TorpHitBonus                    = 0
# TubeRechargeRate                = 45
# TubeRechargeBonus               = 0
# PlanetsHaveTubes                = No
# PlanetaryTorpsPerTube           = 3

### Miscellaneous
# CrewKillScaling                 = 80
# HullDamageScaling               = 80
# ShieldDamageScaling             = 80
# ShieldKillScaling               = 0
# ShipMovementSpeed               = 75
# StandoffDistance                = 3000

#
#   Wormholes
#
  AllowWormholes                  = Yes
  WormholeUFOsStartAt             = 51
  WrmDisplacement                 = 1
  WrmRandDisplacement             = 0
  WrmStabilityAddX10              = 0
  WrmRandStability                = 0
  WrmMassAdd                      = 0
  WrmRandMass                     = 0
  WrmVoluntaryTravel              = Yes
  WrmTravelDistDivisor            = 100
  WrmTravelWarpSpeed              = 9
  WrmTravelCloaked                = No
  WrmEntryPowerX100               = 25

  WrmScanRange                    = 100

#
#  Host order control. Here are all the stage names, in correct order,
#  set to "Normal" (which happens to be the default configuration).
#

% PCONTROL

  TransferOwner        = Normal
  LargeMeteors         = Normal
  MeteorShowers        = Normal
  AntiCloak_1          = Normal
  DeluxeSuperSpy       = Normal
  NewNativesAppear     = Normal
  RobMission           = Normal
  GamblingShips        = Normal
  CargoDump            = Normal
  CargoTransfer        = Normal
  TrimShipCargo        = Normal
  CrewExchange         = Normal
  Training             = Normal
  BeamTransfers        = Normal
  GatherMission        = Normal
  BeamUpCredits        = Normal
  MinefieldDecay       = Normal
  MineLaying           = Normal
  MinesDestroyMines    = Normal
  MineSweeping         = Normal
  MinefieldScan        = Normal
  WormholeScan         = Normal
  WebDraining          = Normal
  MoveIonStorms        = Normal
  IonStormEffects      = Normal
  NewIonStorms         = Normal
  IonStormReports      = Normal
  SpecialMissions_1    = Normal
  BuildFighters        = Normal
  BuildTorpedoes       = Normal
  Alchemy              = Normal
  ShipBuildOrders      = Normal
  ShipBuilding_1       = Normal
  DumpOldBaseParts     = Normal
  BaseMissions_1       = Normal
  SupplyRepair_1       = Normal
  BoardingParties      = Normal
  FreeFighters         = Normal
  TowResolution        = Normal
  Movement             = Normal
  GloryDevices         = Normal
  Chunneling           = Normal
  AntiCloak_2          = Normal
  ColonizeMission      = Normal
  SupplyRepair_2       = Normal
  BaseMissions_2       = Normal
  Combat               = Normal
  SupplyRepair_3       = Normal
  Terraforming         = Normal
  SensorSweep          = Normal
  SpecialMissions_2    = Normal
  PlanetaryProduction  = Normal
  PlanetaryHappiness   = Normal
  PlanetaryTaxation    = Normal
  PlanetaryGrowth      = Normal
  PlanetaryLosses      = Normal
  ShipBuilding_2       = Normal
  Assimilation         = Normal
  SuperSpyMission      = Normal
  ShipExploration      = Normal
  Experience           = Normal