Skip to content

Commit

Permalink
more efective trade routes
Browse files Browse the repository at this point in the history
  • Loading branch information
Idrinth committed May 26, 2020
1 parent 3bfc5ec commit 8a42c66
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Registry.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@
<TradingCompanySubsidiaryModifier>0.85</TradingCompanySubsidiaryModifier><!-- 0.90 -->
</ResourceIncome>
<TradingCompanyStructureDestructionDelay>10</TradingCompanyStructureDestructionDelay><!-- 5 -->
<TradingRouteLengthModifierFormula>Sqrt($(PathLength)^2 + $(PathLength))/Sqrt(2)</TradingRouteLengthModifierFormula>
<!-- Min((1 + $(PathLength) / 5), (1+1.2*(Logn($(PathLength)^2)))) -->
</DepartmentOfCommerce>
<DepartmentOfDefense>
<RepairCostFormula>(0.25 + 0.25 * Count(Ship, @'ClassShip,ShipRoleSuperColonizer')) * (Property(Ship, @ClassShip, MaximumHealth) - Property(Ship, @ClassShip, Health)) * (Property(Ship, @ClassShip, MaximumHealth) - Property(Ship, @ClassShip, Health)) * Property(Empire, @ClassEmpire, GameSpeedMultiplier) * Property(Empire, @ClassEmpire, DustInflation) + 100 * Property(Empire, @ClassEmpire, DustInflation) * Property(Empire, @ClassEmpire, DustInflation) * Count(Ship, @'ClassShip,ShipStateLockedInGarrisonFromDamage')</RepairCostFormula>
<RepairCostFormula>(0.25 + 0.25 * Count(Ship, @'ClassShip,ShipRoleSuperColonizer')) * (Property(Ship, @ClassShip, MaximumHealth) - Property(Ship, @ClassShip, Health)) * (Property(Ship, @ClassShip, MaximumHealth) - Property(Ship, @ClassShip, Health)) * Property(Empire, @ClassEmpire, GameSpeedMultiplier) * Property(Empire, @ClassEmpire, DustInflation) + 100 * Property(Empire, @ClassEmpire, DustInflation) * Property(Empire, @ClassEmpire, DustInflation) * Count(Ship, @'ClassShip,ShipStateLockedInGarrisonFromDamage')</RepairCostFormula>
<!-- (0.25 + 0.25 * Count(Ship, @'ClassShip,ShipRoleSuperColonizer')) * (Property(Ship, @ClassShip, MaximumHealth) - Property(Ship, @ClassShip, Health)) * Property(Empire, @ClassEmpire, GameSpeedMultiplier) * Property(Empire, @ClassEmpire, DustInflation) + 500 * Property(Empire, @ClassEmpire, DustInflation) * Count(Ship, @'ClassShip,ShipStateLockedInGarrisonFromDamage') -->
</DepartmentOfDefense>
</Agencies>
Expand All @@ -21,5 +23,5 @@
<ResourcesAutoRefillQuantity>5 + (Max(Property(Tradable, Demand) * 10, 10)) * $(RandomNumber) / 100</ResourcesAutoRefillQuantity><!-- 5 + (Max(Property(Tradable, Demand) * 10, 10) - 5) * $(RandomNumber) / 100 -->
<MaximumTransactionCount>100</MaximumTransactionCount><!-- 50 -->
</Marketplace>
</Gameplay>
</Gameplay>
</Registry>

0 comments on commit 8a42c66

Please sign in to comment.