-
Notifications
You must be signed in to change notification settings - Fork 0
/
Registry.xml
29 lines (29 loc) · 2.75 KB
/
Registry.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?xml version="1.0" encoding="utf-8"?>
<Registry xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Gameplay>
<Empire>
<Agencies>
<DepartmentOfCommerce>
<ResourceIncome>
<NeighbourModifier>0.60</NeighbourModifier><!-- 0.40 -->
<TradingCompanyHeadquartersModifier>1.15</TradingCompanyHeadquartersModifier><!-- 1.00 -->
<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)))) -->
<TradingCompanyIncomeMultiplierFormula>1 + Pow(Property(TradingCompany, Level) / 35, 0.75) + Property(TradingCompany, Level)/100</TradingCompanyIncomeMultiplierFormula>
<!-- 0.75 + Pow(Property(TradingCompany, Level) / 35, 0.75) -->
</DepartmentOfCommerce>
<DepartmentOfDefense>
<RepairCostFormula>(0.25 + 0.25 * Count(Ship, @'ClassShip,ShipRoleSuperColonizer')) * (Property(Ship, @ClassShip, MaximumHealth) - Property(Ship, @ClassShip, Health)) * (1 + (Property(Ship, @ClassShip, MaximumHealth) - Property(Ship, @ClassShip, Health)) / Property(Ship, @ClassShip, MaximumHealth)) * 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>
</Empire>
<Marketplace>
<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>
</Registry>