Files
WulaFallenEmpireRW/1.6/1.6/Patches/WULA_BaseStoryteller_Patch.xml
Tourswen 1378386103 11
2025-12-14 12:49:09 +08:00

70 lines
2.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<Patch>
<!-- 乌拉族初始任务 -->
<Operation Class="PatchOperationAdd">
<xpath>Defs/StorytellerDef[@Name="BaseStoryteller"]/comps</xpath>
<value>
<li Class="WulaFallenEmpire.StorytellerCompProperties_ImportantQuestWithFactionFilter">
<fireAfterDaysPassed>1</fireAfterDaysPassed>
<questIncident>WULA_GiveQuest_Intro_Spy</questIncident>
<questDef>WULA_Intro_Spy</questDef>
<useFactionFilter>true</useFactionFilter>
<defaultBehavior>Allow</defaultBehavior>
<factionTypeBlacklist>
<li>WULA_Awakened_Synth</li>
</factionTypeBlacklist>
<allowedTargetTags>
<li>Map_PlayerHome</li>
</allowedTargetTags>
</li>
</value>
</Operation>
<!-- 乌拉族税收任务 -->
<Operation Class="PatchOperationAdd">
<xpath>Defs/StorytellerDef[@Name="BaseStoryteller"]/comps</xpath>
<value>
<li Class="WulaFallenEmpire.StorytellerCompProperties_SimpleTechnologyTrigger">
<technology>WULA_Colony_License_LV1_Technology</technology>
<!-- 时间配置 -->
<fireAfterDaysPassed>0</fireAfterDaysPassed>
<checkIntervalDays>30</checkIntervalDays>
<!-- 可选配置 -->
<preventDuplicateQuests>false</preventDuplicateQuests>
<debugLogging>false</debugLogging>
<requireNonHostileRelation>false</requireNonHostileRelation>
<requiredFaction>Wula_PIA_Legion_Faction</requiredFaction>
<incident>WULA_GiveQuest_Base_Tex</incident>
<incidentIfHostile>WULA_GiveQuest_Hostile_PIA_Attack_Quest</incidentIfHostile>
</li>
</value>
</Operation>
<!-- 乌拉族进步派袭击 -->
<Operation Class="PatchOperationAdd">
<xpath>Defs/StorytellerDef[@Name="BaseStoryteller"]/comps</xpath>
<value>
<li Class="WulaFallenEmpire.StorytellerCompProperties_SimpleTechnologyTrigger">
<technology>WULA_Colony_License_LV3_Technology</technology>
<!-- 时间配置 -->
<fireAfterDaysPassed>0</fireAfterDaysPassed>
<checkIntervalDays>20</checkIntervalDays>
<!-- 可选配置 -->
<preventDuplicateQuests>false</preventDuplicateQuests>
<debugLogging>false</debugLogging>
<requireNonHostileRelation>true</requireNonHostileRelation>
<requiredFaction>Wula_PIA_Legion_Faction</requiredFaction>
<incident>WULA_GiveQuest_Progressive_Ship_Attack_Quest</incident>
<incidentIfHostile>WULA_GiveQuest_Progressive_Ship_Attack_Quest</incidentIfHostile>
</li>
</value>
</Operation>
</Patch>