Files
SoaFE/DATA/XML/AI/TEMPLATES/BASICEMPIRETEMPLATES.XML
2026-02-28 14:00:45 -06:00

95 lines
3.2 KiB
XML

<?xml version="1.0"?>
<AITemplates>
<Basic_Empire_Default>
<Priority>1</Priority>
<Trigger>One</Trigger>
<Budget>
<Always>Zero</Always>
<Offensive>BasicEmpireOffensiveBudgetAllocation</Offensive>
<Defensive>Zero</Defensive>
<Infrastructure>BasicEmpireInfrastructureBudgetAllocation</Infrastructure>
<Information>BasicEmpireInformationBudgetAllocation</Information>
<Hero>Zero</Hero>
<MajorItem>BasicEmpireMajorItemBudgetAllocation</MajorItem>
<StoryArc>Zero</StoryArc>
</Budget>
<!--TURNED OFF BECAUSE OF UNEXPECTED BEHAVIOR...USING EXPLICIT SCRIPTED RELEASE FUNDS FOR THE TIME BEING
<Tactical_Budget_Allowance>
<Defensive>1.0</Defensive>
<MajorItem>0.5</MajorItem>
<Offensive>0.1</Offensive>
</Tactical_Budget_Allowance>-->
<Turn_Off>
<Plans>
<Name>RebelAdvanceTechPlan</Name>
<Name>HuttsAdvanceTechPlan</Name>
</Plans>
</Turn_Off>
<Turn_On>
<Goals>
<Category>Always</Category>
<Category>Offensive</Category>
<Category>Defensive</Category>
<Category>Information</Category>
<Category>Infrastructure</Category>
<Category>Hero</Category>
<Category>StoryArc</Category>
</Goals>
<Plans>
<Goal_Category>Always</Goal_Category>
<Goal_Category>Offensive</Goal_Category>
<Goal_Category>Defensive</Goal_Category>
<Goal_Category>Infrastructure</Goal_Category>
<Goal_Category>Information</Goal_Category>
<Goal_Category>Hero</Goal_Category>
<Goal_Category>StoryArc</Goal_Category>
</Plans>
</Turn_On>
</Basic_Empire_Default>
<!--MAJOR ITEM PURCHASE TEMPLATES
Sometimes we want to purchase major items during a fleeting window of opportunity. These purchases
require a template to ensure spending on occurs as fast as possible (no pause). The template switch alone
causes the entire budget to be redistributed, with a heavy emphasis on the expensive item budget category.
A perception will determine the fraction of the current gross budget (cash on hand plus income stream) required to
build the item without interruption. A desirability equation will decide if the item is wanted and if this fraction
is acceptable. The same fraction percaption will be used in determining the expensive item budget and (1 - fraction) *
the normal working budget for other categories. This will effectively cut their budget and cancel goals which can't
be maintained while we're making the major purchase. If we have sufficient cash or income streams, unrelated goals won't
be cancelled.-->
<Tech_Upgrade>
<Priority>4</Priority>
<Trigger>Empire_Tech_Trigger</Trigger>
<Un_Trigger>Empire_Tech_Untrigger</Un_Trigger>
<Budget>
<MajorItem>EmpireTechUpgradeMajorItemAllocation</MajorItem>
<Offensive>EmpireTechUpgradeOffensiveAllocation</Offensive>
<Defensive>Zero</Defensive>
<Infrastructure>EmpireTechUpgradeInfrastructureAllocation</Infrastructure>
<Information>EmpireTechUpgradeInformationAllocation</Information>
</Budget>
<Turn_Off>
<Goals>
<Goal_Type>Flush_MajorItem_Budget</Goal_Type>
</Goals>
</Turn_Off>
<Turn_On>
<Goals>
<Category>MajorItem</Category>
</Goals>
<Plans>
<Goal_Category>MajorItem</Goal_Category>
</Plans>
</Turn_On>
</Tech_Upgrade>
</AITemplates>