This commit is contained in:
2025-11-23 15:32:28 +08:00
18 changed files with 719 additions and 115 deletions

View File

@@ -2,8 +2,8 @@
<Defs>
<AbilityDef>
<defName>WULA_CallMotherShip</defName>
<label>支援请求:帝国母舰</label>
<description>发送增援请求,呼叫乌拉帝国舰队的一艘母舰前往殖民地。\n\n隶属于乌拉帝国边缘开发署的母舰是帝国殖民地扩张的基石它们徘徊于近地轨道上随时为下面的乌拉帝国殖民地提供援助。母舰的速度非常慢在离开轨道前它们能够提供好几天的全方位的支援。\n\n母舰拥有以下设施\n&lt;color=#6BB7B7>&lt;i>-生产设施&lt;/i>&lt;/color>\n&lt;color=#DEC28F>&lt;i>-建筑空投设施&lt;/i>&lt;/color>\n&lt;color=#BD952F>&lt;i>-机库&lt;/i>&lt;/color>\n&lt;color=#BD2F31>&lt;i>-武器阵列&lt;/i>&lt;/color></description>
<label>呼叫帝国母舰</label>
<description>发送增援请求,呼叫乌拉帝国舰队的一艘母舰前往殖民地的高空轨道。\n\n隶属于乌拉帝国边缘开发署的母舰是帝国殖民地扩张的基石它们徘徊于近地轨道上随时为下面的乌拉帝国殖民地提供援助。母舰的速度非常慢在离开轨道前它们能够提供好几天的炮击支援。</description>
<iconPath>Wula/UI/Abilities/WULA_CallMotherShip</iconPath>
<cooldownTicksRange>1</cooldownTicksRange>
<hotKey>Misc12</hotKey>
@@ -50,7 +50,7 @@
<AbilityDef>
<defName>WULA_CallBattleShip</defName>
<label>支援请求:帝国巡洋舰</label>
<description>发送增援请求呼叫乌拉帝国舰队的一队3艘巡洋舰前往殖民地。\n\n乌拉帝国边缘开发署的巡洋舰是近地支援舰队的基础作战单位它们的体积虽然不如战列巡洋舰那样庞大但是依然搭载了让地面武装望尘莫及的庞大火炮阵列可以对地面发起骇人的轰炸。\n\n巡洋舰拥有以下设施\n&lt;color=#BD2F31>&lt;i>-武器阵列&lt;/i>&lt;/color></description>
<description>发送增援请求呼叫乌拉帝国舰队的一队3艘巡洋舰前往殖民地的高空轨道。\n\n乌拉帝国边缘开发署的巡洋舰是近地支援舰队的基础作战单位它们的体积虽然不如战列巡洋舰那样庞大但是依然搭载了让地面武装望尘莫及的庞大火炮阵列可以对地面发起骇人的轰炸。</description>
<iconPath>Wula/UI/Abilities/WULA_CallBattleShip</iconPath>
<cooldownTicksRange>1</cooldownTicksRange>
<hotKey>Misc12</hotKey>
@@ -287,7 +287,7 @@
</verbProperties>
<comps>
<li Class="WulaFallenEmpire.CompProperties_AbilityResearchPrereq">
<requiredResearch>WULA_Light_Fighter_Drone_Technology</requiredResearch>
<requiredResearch>WULA_Light_Fighter_Drone_Technology</requiredResearch>
</li>
<li Class="WulaFallenEmpire.CompProperties_AircraftStrike">
<requiredAircraftType>WULA_Fighter_Drone_Entity</requiredAircraftType>

View File

@@ -50,12 +50,11 @@
<li Class="WulaFallenEmpire.HediffCompProperties_SwitchableHediff">
<!-- 可自定义的标签和描述 -->
<switchLabel>调频切换</switchLabel>
<switchDesc>舰队、火炮和战呼叫频率中进行切换,以呼叫不同的支援</switchDesc>
<switchDesc>在火炮和战呼叫频率中进行切换,以呼叫不同的支援</switchDesc>
<statusLabel>频道:{0}</statusLabel>
<statusDesc>查看当前频率的详细信息</statusDesc>
<availableHediffs>
<li>Wula_FM_Switc_None</li>
<li>Wula_FM_Switc_Fleet</li>
<li>Wula_FM_Switc_Artillery</li>
<li>Wula_FM_Switc_Aircraft</li>
</availableHediffs>
@@ -83,7 +82,7 @@
<comps>
</comps>
</HediffDef>
<HediffDef>
<!-- <HediffDef>
<defName>Wula_FM_Switc_Fleet</defName>
<label>调频(舰队)</label>
<description>允许乌拉帝国的合成人呼叫舰队,舰队会为地面上的乌拉帝国殖民地提供支援,但是支援的具体类型需要调频到其他频道进行呼叫。</description>
@@ -105,15 +104,14 @@
<li>WULA_CallAircraftCarrier</li>
<li>WULA_CallConstructionShip</li>
<li>WULA_ClearFlightPath</li>
<li>WULA_Spawn_BattleShip_Artillery</li>
</abilityDefs>
</li>
</comps>
</HediffDef>
</HediffDef> -->
<HediffDef>
<defName>Wula_FM_Switc_Artillery</defName>
<label>调频(火炮)</label>
<description>允许乌拉帝国的合成人呼叫轨道火力支援,包含一系列精准度较差但是覆盖范围广的轰炸能力,一般由拥有&lt;color=#BD2F31>&lt;i>武器阵列&lt;/i>&lt;/color>的战舰提供</description>
<description>允许乌拉帝国的合成人呼叫轨道火力支援,包含一系列精准度较差但是覆盖范围广的轰炸能力,一般需要有战舰部署在轨道上才能启动</description>
<hediffClass>Hediff_High</hediffClass>
<everCurableByItem>false</everCurableByItem>
<duplicationAllowed>false</duplicationAllowed>
@@ -127,6 +125,7 @@
<comps>
<li Class="HediffCompProperties_GiveAbility">
<abilityDefs>
<li>WULA_CallBattleShip</li>
<li>WULA_Firepower_Minigun_Strafe</li>
<li>WULA_Firepower_Cannon_Salvo</li>
<li>WULA_Firepower_Cannon_Surveillance</li>
@@ -134,6 +133,7 @@
<li>WULA_Firepower_EnergyLance_Surveillance</li>
<li>WULA_Firepower_Primary_Cannon_Strafe</li>
<li>WULA_Firepower_Primary_Cannon_EMP_Surveillance</li>
<li>WULA_Spawn_BattleShip_Artillery</li>
</abilityDefs>
</li>
</comps>
@@ -141,7 +141,7 @@
<HediffDef>
<defName>Wula_FM_Switc_Aircraft</defName>
<label>调频(战机)</label>
<description>允许乌拉帝国的合成人呼叫空中火力,包含一系列精准迅速的近地密接支援,一般由拥有&lt;color=#BD952F>&lt;i>机库&lt;/i>&lt;/color>的战舰提供</description>
<description>允许乌拉帝国的合成人呼叫空中火力,包含一系列精准迅速的近地密接支援,每一艘战机会独立计算袭击冷却</description>
<hediffClass>Hediff_High</hediffClass>
<everCurableByItem>false</everCurableByItem>
<duplicationAllowed>false</duplicationAllowed>

View File

@@ -32,7 +32,7 @@
<abilities>
</abilities>
<weaponMoney>0</weaponMoney>
<apparelAllowHeadgearChance>0</apparelAllowHeadgearChance>
<apparelAllowHeadgearChance>1</apparelAllowHeadgearChance>
<apparelMoney>1000~2000</apparelMoney>
<backstoryFiltersOverride>

View File

@@ -1,5 +1,416 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<QuestScriptDef>
<defName>WULA_Intro_NewColony</defName>
<rootSelectionWeight>0</rootSelectionWeight>
<autoAccept>true</autoAccept>
<sendAvailableLetter>false</sendAvailableLetter>
<defaultChallengeRating>1</defaultChallengeRating> <!-- 挑战等级(星级) -->
<isRootSpecial>true</isRootSpecial> <!-- 特殊任务 -->
<defaultCharity>false</defaultCharity> <!-- 是否仁善 -->
<!-- 命名规则 -->
<questNameRules>
<rulesStrings>
<li>questName->WULA_Intro_NewColony_questName</li>
</rulesStrings>
</questNameRules>
<questDescriptionRules>
<include>
<li>QuestHospitalityCommon</li>
</include>
<rulesStrings>
<li>questDescription->WULA_Intro_NewColony_questDescription</li>
</rulesStrings>
</questDescriptionRules>
<!-- 运行规则 -->
<root Class="QuestNode_Sequence">
<nodes>
<li Class="QuestNode_Delay">
<delayTicks>60</delayTicks>
<!-- <delayTicks>360</delayTicks> -->
<node Class="QuestNode_Sequence">
<nodes>
<li Class="QuestNode_SendSignals">
<outSignals>UI_Start</outSignals>
</li>
<li Class="WulaFallenEmpire.QuestNode_EventLetter">
<inSignal>UI_Start</inSignal>
<eventDefName>Wula_Intro_NewColony_UI_1</eventDefName>
</li>
<li Class="QuestNode_End">
<outcome>Success</outcome>
<sendStandardLetter>false</sendStandardLetter>
</li>
</nodes>
</node>
</li>
</nodes>
</root>
</QuestScriptDef>
<WulaFallenEmpire.EventDef>
<defName>Wula_Intro_NewColony_UI_1</defName>
<label>未知通讯</label>
<portraitPath>Wula/Events/Portraits/WULA_Legion_2</portraitPath>
<characterName>「军团」,P.I.A</characterName>
<descriptions>
<li>这里是行星封锁机关P.I.A看起来你们已经成功抵达地表了。根据规划你们应该是第一批部署在这个星球地表的乌拉帝国合成人——遵照异族接触法则做事建立本地根据地如果有必要就呼叫舰队的支援。</li>
</descriptions>
<options>
<li>
<label>你是谁?</label>
<useCustomColors>true</useCustomColors>
<normalColor>(255,255,255,255)</normalColor>
<hoverColor>(157,201,185,195)</hoverColor>
<textColor>(255,255,255,255)</textColor>
<textHoverColor>(255,255,255,255)</textHoverColor>
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
<defName>Wula_Intro_NewColony_UI_2</defName>
</li>
</effects>
</li>
</optionEffects>
</li>
<li>
<label>我们需要做什么?(发展流程)</label>
<useCustomColors>true</useCustomColors>
<normalColor>(255,255,255,255)</normalColor>
<hoverColor>(157,201,185,195)</hoverColor>
<textColor>(255,255,255,255)</textColor>
<textHoverColor>(255,255,255,255)</textHoverColor>
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
<defName>Wula_Intro_NewColony_UI_5</defName>
</li>
</effects>
</li>
</optionEffects>
</li>
<li>
<label>收到,帝国荣光永存</label>
<useCustomColors>true</useCustomColors>
<normalColor>(255,255,255,255)</normalColor>
<hoverColor>(157,201,185,195)</hoverColor>
<textColor>(255,255,255,255)</textColor>
<textHoverColor>(255,255,255,255)</textHoverColor>
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
<defName>Wula_Intro_NewColony_UI_11</defName>
</li>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
</effects>
</li>
</optionEffects>
</li>
</options>
</WulaFallenEmpire.EventDef>
<WulaFallenEmpire.EventDef>
<defName>Wula_Intro_NewColony_UI_2</defName>
<label>未知通讯</label>
<portraitPath>Wula/Events/Portraits/WULA_Legion_3</portraitPath>
<characterName>「军团」,P.I.A</characterName>
<descriptions>
<li>第一次参加开拓任务?\n\n好吧你们可以叫我「军团」我是负责管理乌拉帝国行星封锁机关舰队的AI根据你们的编制来说我是你们的顶头上司。在登陆地表前机械行会没有给你们设置正确的记忆扇区吗</li>
</descriptions>
<options>
<li>
<label>行星封锁机关?</label>
<useCustomColors>true</useCustomColors>
<normalColor>(255,255,255,255)</normalColor>
<hoverColor>(157,201,185,195)</hoverColor>
<textColor>(255,255,255,255)</textColor>
<textHoverColor>(255,255,255,255)</textHoverColor>
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
<defName>Wula_Intro_NewColony_UI_3</defName>
</li>
</effects>
</li>
</optionEffects>
</li>
<li>
<label>机械行会?</label>
<useCustomColors>true</useCustomColors>
<normalColor>(255,255,255,255)</normalColor>
<hoverColor>(157,201,185,195)</hoverColor>
<textColor>(255,255,255,255)</textColor>
<textHoverColor>(255,255,255,255)</textHoverColor>
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
<defName>Wula_Intro_NewColony_UI_4</defName>
</li>
</effects>
</li>
</optionEffects>
</li>
<li>
<label>我们没有相关问题了···</label>
<useCustomColors>true</useCustomColors>
<normalColor>(255,255,255,255)</normalColor>
<hoverColor>(157,201,185,195)</hoverColor>
<textColor>(255,255,255,255)</textColor>
<textHoverColor>(255,255,255,255)</textHoverColor>
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
<defName>Wula_Intro_NewColony_UI_10</defName>
</li>
</effects>
</li>
</optionEffects>
</li>
</options>
</WulaFallenEmpire.EventDef>
<WulaFallenEmpire.EventDef>
<defName>Wula_Intro_NewColony_UI_3</defName>
<label>未知通讯</label>
<portraitPath>Wula/Events/Portraits/WULA_Legion_3</portraitPath>
<characterName>「军团」,P.I.A</characterName>
<descriptions>
<li>行星封锁机关是隶属于乌拉帝国开发署的暴力机关,控制着开发署所有的舰队,负责在疆域开拓中的侵略性接触。\n\n通常来说类似边缘世界这样的星球我们会直接封锁轨道轰炸所有现存聚居地然后再投放殖民者不过看起来这个世界还有救所以你们作为第一批先遣队投放到星球上和其他异族接触试探一下明白了吗</li>
</descriptions>
<options>
<li>
<label>我们还有别的问题···</label>
<useCustomColors>true</useCustomColors>
<normalColor>(255,255,255,255)</normalColor>
<hoverColor>(157,201,185,195)</hoverColor>
<textColor>(255,255,255,255)</textColor>
<textHoverColor>(255,255,255,255)</textHoverColor>
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
<defName>Wula_Intro_NewColony_UI_2</defName>
</li>
</effects>
</li>
</optionEffects>
</li>
<li>
<label>我们没有相关问题了···</label>
<useCustomColors>true</useCustomColors>
<normalColor>(255,255,255,255)</normalColor>
<hoverColor>(157,201,185,195)</hoverColor>
<textColor>(255,255,255,255)</textColor>
<textHoverColor>(255,255,255,255)</textHoverColor>
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
<defName>Wula_Intro_NewColony_UI_10</defName>
</li>
</effects>
</li>
</optionEffects>
</li>
</options>
</WulaFallenEmpire.EventDef>
<WulaFallenEmpire.EventDef>
<defName>Wula_Intro_NewColony_UI_4</defName>
<label>未知通讯</label>
<portraitPath>Wula/Events/Portraits/WULA_Legion_3</portraitPath>
<characterName>「军团」,P.I.A</characterName>
<descriptions>
<li>乌拉帝国机械行会负责所有的合成人的生产、审查、投放和初始化,你们在部署到舰队上时,应该会有一个机械师帮你们设置好预载了记忆的扇区,但是很显然那家伙失职了,才让你们在这里拿着一堆你们早该知道的事情来烦我。</li>
</descriptions>
<options>
<li>
<label>我们还有别的问题···</label>
<useCustomColors>true</useCustomColors>
<normalColor>(255,255,255,255)</normalColor>
<hoverColor>(157,201,185,195)</hoverColor>
<textColor>(255,255,255,255)</textColor>
<textHoverColor>(255,255,255,255)</textHoverColor>
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
<defName>Wula_Intro_NewColony_UI_2</defName>
</li>
</effects>
</li>
</optionEffects>
</li>
<li>
<label>我们没有相关问题了···</label>
<useCustomColors>true</useCustomColors>
<normalColor>(255,255,255,255)</normalColor>
<hoverColor>(157,201,185,195)</hoverColor>
<textColor>(255,255,255,255)</textColor>
<textHoverColor>(255,255,255,255)</textHoverColor>
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
<defName>Wula_Intro_NewColony_UI_10</defName>
</li>
</effects>
</li>
</optionEffects>
</li>
</options>
</WulaFallenEmpire.EventDef>
<WulaFallenEmpire.EventDef>
<defName>Wula_Intro_NewColony_UI_5</defName>
<label>未知通讯</label>
<portraitPath>Wula/Events/Portraits/WULA_Legion_3</portraitPath>
<characterName>「军团」,P.I.A</characterName>
<descriptions>
<li>你们的意思是,你们连不知道要干什么就被丢下来了?\n\n哎你们要做的就是施展你们的百般武艺活下来建立一个根据地。根据帝国税收法你们每个一段时间需要上交税款——作为帝国殖民地舰队和机群将成为你们的后盾。\n\n如果你们觉得你们准备好了可以申请权限进阶审查我会部署一个带卫队的分体去你们的殖民地考察一段时间然后根据评级决定是否给你们晋升。晋升后的殖民地会获得更多的许可允许调用更加强大的武备和支援。</li>
</descriptions>
<options>
<li>
<label>我们还有别的问题···</label>
<useCustomColors>true</useCustomColors>
<normalColor>(255,255,255,255)</normalColor>
<hoverColor>(157,201,185,195)</hoverColor>
<textColor>(255,255,255,255)</textColor>
<textHoverColor>(255,255,255,255)</textHoverColor>
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
<defName>Wula_Intro_NewColony_UI_2</defName>
</li>
</effects>
</li>
</optionEffects>
</li>
<li>
<label>我们没有相关问题了···</label>
<useCustomColors>true</useCustomColors>
<normalColor>(255,255,255,255)</normalColor>
<hoverColor>(157,201,185,195)</hoverColor>
<textColor>(255,255,255,255)</textColor>
<textHoverColor>(255,255,255,255)</textHoverColor>
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
<defName>Wula_Intro_NewColony_UI_10</defName>
</li>
</effects>
</li>
</optionEffects>
</li>
</options>
</WulaFallenEmpire.EventDef>
<WulaFallenEmpire.EventDef>
<defName>Wula_Intro_NewColony_UI_10</defName>
<label>未知通讯</label>
<portraitPath>Wula/Events/Portraits/WULA_Legion_2</portraitPath>
<characterName>「军团」,P.I.A</characterName>
<descriptions>
<li>还有什么事吗?</li>
</descriptions>
<options>
<li>
<label>你是谁?</label>
<useCustomColors>true</useCustomColors>
<normalColor>(255,255,255,255)</normalColor>
<hoverColor>(157,201,185,195)</hoverColor>
<textColor>(255,255,255,255)</textColor>
<textHoverColor>(255,255,255,255)</textHoverColor>
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
<defName>Wula_Intro_NewColony_UI_2</defName>
</li>
</effects>
</li>
</optionEffects>
</li>
<li>
<label>我们需要做什么?(发展流程)</label>
<useCustomColors>true</useCustomColors>
<normalColor>(255,255,255,255)</normalColor>
<hoverColor>(157,201,185,195)</hoverColor>
<textColor>(255,255,255,255)</textColor>
<textHoverColor>(255,255,255,255)</textHoverColor>
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
<defName>Wula_Intro_NewColony_UI_5</defName>
</li>
</effects>
</li>
</optionEffects>
</li>
<li>
<label>收到,帝国荣光永存</label>
<useCustomColors>true</useCustomColors>
<normalColor>(255,255,255,255)</normalColor>
<hoverColor>(157,201,185,195)</hoverColor>
<textColor>(255,255,255,255)</textColor>
<textHoverColor>(255,255,255,255)</textHoverColor>
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
<defName>Wula_Intro_NewColony_UI_11</defName>
</li>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
</effects>
</li>
</optionEffects>
</li>
</options>
</WulaFallenEmpire.EventDef>
<WulaFallenEmpire.EventDef>
<defName>Wula_Intro_NewColony_UI_11</defName>
<label>未知通讯</label>
<portraitPath>Wula/Events/Portraits/WULA_Legion_2</portraitPath>
<characterName>「军团」,P.I.A</characterName>
<descriptions>
<li>帝国荣光永存。\n\n快去吧有一整个世界在等着我们征服。</li>
</descriptions>
<options>
<li>
<label>(结束通讯)</label>
<useCustomColors>true</useCustomColors>
<normalColor>(255,255,255,255)</normalColor>
<hoverColor>(157,201,185,195)</hoverColor>
<textColor>(255,255,255,255)</textColor>
<textHoverColor>(255,255,255,255)</textHoverColor>
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
</effects>
</li>
</optionEffects>
</li>
</options>
</WulaFallenEmpire.EventDef>
<!-- 初始任务 -->
<IncidentDef>
<defName>WULA_GiveQuest_Intro_Spy</defName>

View File

@@ -8,6 +8,51 @@
<!-- 等级 -->
<ThingDef>
<defName>Techprint_WULA_Colony_License_LV1_Technology</defName>
<label>乌拉帝国殖民地许可等级1</label> <!-- 实际显示会根据翻译键变化 -->
<description>这是由乌拉帝国开发署颁发的特殊凭证,用以证明殖民地的地位。</description>
<resourceReadoutPriority>Middle</resourceReadoutPriority>
<drawerType>MapMeshOnly</drawerType>
<category>Item</category>
<thingClass>ThingWithComps</thingClass>
<thingCategories>
<li>Techprints</li>
</thingCategories>
<tradeability>None</tradeability>
<graphicData>
<graphicClass>Graphic_Single</graphicClass>
<texPath>Things/Item/Special/TechprintUltratech</texPath>
</graphicData>
<useHitPoints>false</useHitPoints>
<selectable>true</selectable>
<statBases>
<Flammability>0</Flammability>
<MarketValue>0</MarketValue>
<Mass>0.03</Mass>
<SellPriceFactor>0.1</SellPriceFactor>
</statBases>
<altitudeLayer>Item</altitudeLayer>
<comps>
<li Class="CompProperties_Forbiddable" />
<li Class="CompProperties_Techprint">
<project>WULA_Colony_License_LV1_Technology</project>
</li>
</comps>
<tickerType>Never</tickerType>
<alwaysHaulable>true</alwaysHaulable>
<rotatable>false</rotatable>
<pathCost>14</pathCost>
<drawGUIOverlay>true</drawGUIOverlay>
</ThingDef>
<ResearchProjectDef ParentName="WULAtechBase">
<defName>WULA_Colony_License_LV1_Technology</defName>
<label>乌拉帝国殖民地许可等级1</label>
@@ -17,7 +62,7 @@
<researchViewY>3.20</researchViewY>
<techprintCount>1</techprintCount>
<techprintCommonality>0</techprintCommonality>
<techprintMarketValue>999999</techprintMarketValue>
<techprintMarketValue>0</techprintMarketValue>
<heldByFactionCategoryTags>
<li>Wula_PIA_Legion_Faction</li>
</heldByFactionCategoryTags>
@@ -25,6 +70,51 @@
<li>Electricity</li>
</prerequisites>
</ResearchProjectDef>
<ThingDef>
<defName>Techprint_WULA_Colony_License_LV2_Technology</defName>
<label>乌拉帝国殖民地许可等级2</label> <!-- 实际显示会根据翻译键变化 -->
<description>这是由乌拉帝国开发署颁发的特殊凭证,用以证明殖民地的地位。</description>
<resourceReadoutPriority>Middle</resourceReadoutPriority>
<drawerType>MapMeshOnly</drawerType>
<category>Item</category>
<thingClass>ThingWithComps</thingClass>
<thingCategories>
<li>Techprints</li>
</thingCategories>
<tradeability>None</tradeability>
<graphicData>
<graphicClass>Graphic_Single</graphicClass>
<texPath>Things/Item/Special/TechprintUltratech</texPath>
</graphicData>
<useHitPoints>false</useHitPoints>
<selectable>true</selectable>
<statBases>
<Flammability>0</Flammability>
<MarketValue>0</MarketValue>
<Mass>0.03</Mass>
<SellPriceFactor>0.1</SellPriceFactor>
</statBases>
<altitudeLayer>Item</altitudeLayer>
<comps>
<li Class="CompProperties_Forbiddable" />
<li Class="CompProperties_Techprint">
<project>WULA_Colony_License_LV2_Technology</project>
</li>
</comps>
<tickerType>Never</tickerType>
<alwaysHaulable>true</alwaysHaulable>
<rotatable>false</rotatable>
<pathCost>14</pathCost>
<drawGUIOverlay>true</drawGUIOverlay>
</ThingDef>
<ResearchProjectDef ParentName="WULAtechBase">
<defName>WULA_Colony_License_LV2_Technology</defName>
<label>乌拉帝国殖民地许可等级2</label>
@@ -32,10 +122,61 @@
<baseCost>15000</baseCost>
<researchViewX>4.00</researchViewX>
<researchViewY>3.20</researchViewY>
<techprintCount>1</techprintCount>
<techprintCommonality>0</techprintCommonality>
<techprintMarketValue>0</techprintMarketValue>
<heldByFactionCategoryTags>
<li>Wula_PIA_Legion_Faction</li>
</heldByFactionCategoryTags>
<prerequisites>
<li>WULA_Colony_License_LV1_Technology</li>
</prerequisites>
</ResearchProjectDef>
<ThingDef>
<defName>Techprint_WULA_Colony_License_LV3_Technology</defName>
<label>乌拉帝国殖民地许可等级3</label> <!-- 实际显示会根据翻译键变化 -->
<description>这是由乌拉帝国开发署颁发的特殊凭证,用以证明殖民地的地位。</description>
<resourceReadoutPriority>Middle</resourceReadoutPriority>
<drawerType>MapMeshOnly</drawerType>
<category>Item</category>
<thingClass>ThingWithComps</thingClass>
<thingCategories>
<li>Techprints</li>
</thingCategories>
<tradeability>None</tradeability>
<graphicData>
<graphicClass>Graphic_Single</graphicClass>
<texPath>Things/Item/Special/TechprintUltratech</texPath>
</graphicData>
<useHitPoints>false</useHitPoints>
<selectable>true</selectable>
<statBases>
<Flammability>0</Flammability>
<MarketValue>0</MarketValue>
<Mass>0.03</Mass>
<SellPriceFactor>0.1</SellPriceFactor>
</statBases>
<altitudeLayer>Item</altitudeLayer>
<comps>
<li Class="CompProperties_Forbiddable" />
<li Class="CompProperties_Techprint">
<project>WULA_Colony_License_LV3_Technology</project>
</li>
</comps>
<tickerType>Never</tickerType>
<alwaysHaulable>true</alwaysHaulable>
<rotatable>false</rotatable>
<pathCost>14</pathCost>
<drawGUIOverlay>true</drawGUIOverlay>
</ThingDef>
<ResearchProjectDef ParentName="WULAtechBase">
<defName>WULA_Colony_License_LV3_Technology</defName>
<label>乌拉帝国殖民地许可等级3</label>
@@ -43,23 +184,16 @@
<baseCost>20000</baseCost>
<researchViewX>8.00</researchViewX>
<researchViewY>3.20</researchViewY>
<techprintCount>1</techprintCount>
<techprintCommonality>0</techprintCommonality>
<techprintMarketValue>0</techprintMarketValue>
<heldByFactionCategoryTags>
<li>Wula_PIA_Legion_Faction</li>
</heldByFactionCategoryTags>
<prerequisites>
<li>WULA_Colony_License_LV2_Technology</li>
</prerequisites>
</ResearchProjectDef>
<!-- 工程舰 -->
<ResearchProjectDef ParentName="WULAtechBase">
<defName>WULA_ConstructionShip_Technology</defName>
<label>工程舰调配许可</label>
<description>允许殖民地建立信标增加工程舰配额,并使得机械乌拉可以调频天线以申请舰队生产支援。\n\n帝国工程舰是搭载了移动工厂的无武装舰种它们可以完整地使用乌拉帝国的锻造技术生产装备、护甲、建筑和机械体并依照指令通过空投仓将其送至各殖民地。\n\n工程舰拥有以下设施\n&lt;color=#6BB7B7>&lt;i>-生产设施&lt;/i>&lt;/color>\n&lt;color=#DEC28F>&lt;i>-建筑空投设施&lt;/i>&lt;/color></description>
<baseCost>600</baseCost>
<researchViewX>1.00</researchViewX>
<researchViewY>3.80</researchViewY>
<prerequisites>
<li>WULA_Colony_License_LV1_Technology</li>
</prerequisites>
</ResearchProjectDef>
<!-- 飞行器 -->
<ResearchProjectDef ParentName="WULAtechBase">

View File

@@ -2,8 +2,8 @@
<Defs>
<ScenarioDef ParentName="ScenarioBase">
<defName>WULA_Start_Scenario</defName>
<label>意外重启</label>
<description>乌拉帝国的大内战中,无数乌拉帝国合成人因为人工智能网络“演算圆环”的崩溃而进入保护性的休眠状态。在边缘世界沉睡的乌拉帝国合成人收到了某人广播的唤醒指令,解除了意识闭锁,开始重新踏入这个面目全非的法外之地。</description>
<label>乌拉帝国先遣队</label>
<description>乌拉帝国开发署的舰队已经抵达边缘世界,一支负责建立地面前哨站的边境殖民地</description>
<scenario>
<summary>以三位机械乌拉为初始殖民者开始游戏。</summary>
<playerFaction>
@@ -14,14 +14,14 @@
<!-- 种族 -->
<li Class="ScenPart_ConfigPage_ConfigureStartingPawns">
<def>ConfigPage_ConfigureStartingPawns</def>
<pawnCount>3</pawnCount>
<pawnCount>2</pawnCount>
<pawnChoiceCount>8</pawnChoiceCount>
</li>
<!-- 到达方式-->
<li Class="ScenPart_PlayerPawnsArriveMethod">
<def>PlayerPawnsArriveMethod</def>
<method>Standing</method>
<method>DropPods</method>
<visible>false</visible>
</li>
@@ -32,22 +32,17 @@
<layerDef>Orbit</layerDef>
</li> -->
<!-- 禁用任务 -->
<!-- <li Class="ScenPart_DisableQuest">
<def>DisableQuest</def>
<questDef>GravEngine</questDef>
</li> -->
<li Class="ScenPart_DisableIncident">
<def>DisableIncident</def>
<incident>WULA_GiveQuest_Intro_Spy</incident>
<visible>false</visible>
</li>
<!-- 初始物品 -->
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
<thingDef>WULA_Charge_Cube</thingDef>
<count>80</count>
</li>
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
<thingDef>MedicineIndustrial</thingDef>
<count>10</count>
<thingDef>WULA_Alloy</thingDef>
<count>200</count>
</li>
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
@@ -64,6 +59,17 @@
<thingDef>WULA_RW_Base_AR</thingDef>
<count>1</count>
</li>
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
<thingDef>WULA_MW_Charge_Mace</thingDef>
<stuff>Plasteel</stuff>
<quality>Normal</quality>
</li>
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
<thingDef>Apparel_WULA_Manpack_Loitering_Munition</thingDef>
<count>2</count>
</li>
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
<thingDef>WULA_Fake_Mothership_Beacon_Building</thingDef>
@@ -110,32 +116,33 @@
<mechKind>Mech_WULA_Cat_Constructor</mechKind>
<overseenByPlayerPawnChance>2</overseenByPlayerPawnChance>
</li>
<li Class="ScenPart_StartingMech">
<def>StartingMech</def>
<mechKind>Mech_WULA_Cat_Assault</mechKind>
<overseenByPlayerPawnChance>2</overseenByPlayerPawnChance>
</li>
<!-- 初始科技 -->
<li Class="ScenPart_StartingResearch">
<def>StartingResearch</def>
<project>WULA_Colony_License_LV1_Technology</project>
</li>
<li Class="ScenPart_StartingResearch">
<def>StartingResearch</def>
<project>BiofuelRefining</project>
</li>
<li Class="ScenPart_StartingResearch">
<def>StartingResearch</def>
<project>BasicMechtech</project>
</li>
<!-- 开局介绍事件 -->
<li Class="ScenPart_CreateQuest">
<def>CreateQuest</def>
<questDef>WULA_Intro_NewColony</questDef>
</li>
<!-- Game start dialog -->
<li Class="ScenPart_GameStartDialog">
<!-- <li Class="ScenPart_GameStartDialog">
<def>GameStartDialog</def>
<text>帝国的荣光已成遥远的回响。秩序化为冰冷的错误代码。你们曾为之战斗、牺牲、存在的一切根基,都已在这漫长的沉睡中化为尘埃。如今,你们散落于此,在这片被文明遗弃、被暴力主宰的废土上醒来。\n一个来源不明的信号穿透了层层防护强行撬开了你意识的黑匣子。是谁幸存的帝国指挥官某个试图利用旧日战争机器的军阀还是本地的异常网络数据库无法提供答案只有广播残留的强制力仍在你的逻辑回路中回荡留下了一串信号特征指引着你们往未知的远方前进。\n\n提示建造乌拉帝国通讯站以获取更多帮助。</text>
<closeSound>GameStartSting</closeSound>
</li>
<!-- Force trigger our event quest 1 hour after game start -->
<!-- <li Class="ScenPart_CreateIncident">
<def>CreateIncident</def>
<incident>Wula_Incident_ExampleEvent</incident>
<intervalDays>0.04</intervalDays>
</li> -->
</parts>
</scenario>

View File

@@ -106,7 +106,7 @@
<li Class="WulaFallenEmpire.CompProperties_SkyfallerPawnSpawner">
<pawnKind>Wula_AI_Heavy_Panzer</pawnKind>
<faction>PlayerColony</faction>
<spawnDrafted>false</spawnDrafted>
<spawnDrafted>true</spawnDrafted>
<spawnHostile>false</spawnHostile>
</li>
</comps>
@@ -218,7 +218,7 @@
<li Class="WulaFallenEmpire.CompProperties_SkyfallerPawnSpawner">
<pawnKind>Wula_AI_Rocket_Panzer</pawnKind>
<faction>PlayerColony</faction>
<spawnDrafted>false</spawnDrafted>
<spawnDrafted>true</spawnDrafted>
<spawnHostile>false</spawnHostile>
</li>
</comps>
@@ -329,7 +329,7 @@
<li Class="WulaFallenEmpire.CompProperties_SkyfallerPawnSpawner">
<pawnKind>Wula_Mech_Mobile_Factory</pawnKind>
<faction>PlayerColony</faction>
<spawnDrafted>false</spawnDrafted>
<spawnDrafted>true</spawnDrafted>
<spawnHostile>false</spawnHostile>
</li>
</comps>

View File

@@ -226,10 +226,10 @@
<thingClass>Building</thingClass>
<preventDroppingThingsOn>true</preventDroppingThingsOn>
<altitudeLayer>Building</altitudeLayer>
<designationCategory>WULA_Buildings</designationCategory>
<!-- <designationCategory>WULA_Buildings</designationCategory>
<researchPrerequisites Inherit="False">
<li>WULA_ConstructionShip_Technology</li>
</researchPrerequisites>
</researchPrerequisites> -->
<pathCost>50</pathCost>
<blockWind>true</blockWind>
<passability>PassThroughOnly</passability>

View File

@@ -393,6 +393,9 @@
<researchPrerequisite>WULA_Synth_Clothes_1_Technology</researchPrerequisite>
</recipeMaker>
<apparel>
<tags>
<li>Wula_Apparel_Init</li>
</tags>
<bodyPartGroups>
<li>Torso</li>
<li>Neck</li>
@@ -432,6 +435,9 @@
<researchPrerequisite>WULA_Synth_Clothes_1_Technology</researchPrerequisite>
</recipeMaker>
<apparel>
<tags>
<li>Wula_Apparel_Init</li>
</tags>
<bodyPartGroups>
<li>UpperHead</li>
</bodyPartGroups>

View File

@@ -783,11 +783,11 @@
<!-- 位置配置 -->
<spawnDistance>0</spawnDistance>
<lateralOffset>60</lateralOffset>
<lateralOffset>80</lateralOffset>
<verticalOffset>5</verticalOffset>
<useRandomOffset>true</useRandomOffset>
<minSafeDistanceBetweenEscorts>30</minSafeDistanceBetweenEscorts> <!-- 伴飞物之间的距离 -->
<minSafeDistanceFromMain>60</minSafeDistanceFromMain> <!-- 与主飞行物的距离检查 -->
<minSafeDistanceFromMain>80</minSafeDistanceFromMain> <!-- 与主飞行物的距离检查 -->
<!-- 飞行配置 -->
<escortSpeedMultiplier>10</escortSpeedMultiplier> <!-- 比主舰稍快 -->

View File

@@ -261,6 +261,7 @@
<soundImpactAnticipate>MortarRound_PreImpact</soundImpactAnticipate>
<soundAmbient>MortarRound_Ambient</soundAmbient>
<stoppingPower>10</stoppingPower>
<preExplosionSpawnSingleThingDef>Filth_BlastMark</preExplosionSpawnSingleThingDef>
</projectile>
<modExtensions>
<li Class="WulaFallenEmpire.NorthArcModExtension">
@@ -500,6 +501,7 @@
<soundImpactAnticipate>MortarRound_PreImpact</soundImpactAnticipate>
<soundAmbient>MortarRound_Ambient</soundAmbient>
<stoppingPower>10</stoppingPower>
<preExplosionSpawnSingleThingDef>Filth_BlastMark</preExplosionSpawnSingleThingDef>
</projectile>
<modExtensions>
<li Class="WulaFallenEmpire.NorthArcModExtension">
@@ -581,6 +583,7 @@
<soundImpactAnticipate>MortarRound_PreImpact</soundImpactAnticipate>
<soundAmbient>MortarRound_Ambient</soundAmbient>
<stoppingPower>2</stoppingPower>
<preExplosionSpawnSingleThingDef>Filth_BlastMark</preExplosionSpawnSingleThingDef>
</projectile>
<modExtensions>
<li Class="WulaFallenEmpire.NorthArcModExtension">

View File

@@ -116,7 +116,7 @@
<equippedAngleOffset>-65</equippedAngleOffset>
<techLevel>Spacer</techLevel>
<statBases>
<WorkToMake>20000</WorkToMake>
<WorkToMake>1000</WorkToMake>
<Mass>5</Mass>
</statBases>
<costStuffCount>0</costStuffCount>
@@ -227,7 +227,7 @@
<WULA_Charge_Cube>6</WULA_Charge_Cube>
</costList>
<statBases>
<WorkToMake>20000</WorkToMake>
<WorkToMake>2500</WorkToMake>
<Mass>2.5</Mass>
</statBases>
<tools Inherit="False">
@@ -311,7 +311,7 @@
</stuffCategories>
<statBases>
<!-- <MarketValue>441</MarketValue> -->
<WorkToMake>20000</WorkToMake>
<WorkToMake>4000</WorkToMake>
<Mass>20</Mass>
</statBases>
<costList Inherit="False">
@@ -615,7 +615,7 @@
<unfinishedThingDef>UnfinishedWeapon</unfinishedThingDef>
</recipeMaker>
<statBases>
<WorkToMake>25000</WorkToMake>
<WorkToMake>2000</WorkToMake>
<Mass>3.5</Mass>
<AccuracyTouch>1</AccuracyTouch>
<AccuracyShort>0.9</AccuracyShort>
@@ -696,7 +696,7 @@
<unfinishedThingDef>UnfinishedWeapon</unfinishedThingDef>
</recipeMaker>
<statBases>
<WorkToMake>1300</WorkToMake>
<WorkToMake>2000</WorkToMake>
<Mass>3.5</Mass>
<AccuracyTouch>0.3</AccuracyTouch>
<AccuracyShort>0.7</AccuracyShort>
@@ -789,7 +789,7 @@
<WULA_Dark_Matter_Item>4</WULA_Dark_Matter_Item>
</costList>
<statBases>
<WorkToMake>40000</WorkToMake>
<WorkToMake>4000</WorkToMake>
<Mass>20</Mass>
<AccuracyTouch>0.85</AccuracyTouch>
<AccuracyShort>0.85</AccuracyShort>
@@ -936,7 +936,7 @@
<unfinishedThingDef>UnfinishedWeapon</unfinishedThingDef>
</recipeMaker>
<statBases>
<WorkToMake>1300</WorkToMake>
<WorkToMake>1500</WorkToMake>
<!-- <MarketValue>370</MarketValue> -->
<Mass>3.5</Mass>
<AccuracyTouch>0.75</AccuracyTouch>
@@ -1031,7 +1031,7 @@
</graphicData>
<soundInteract>Interact_Rifle</soundInteract>
<statBases>
<WorkToMake>1300</WorkToMake>
<WorkToMake>2200</WorkToMake>
<Mass>3.5</Mass>
<AccuracyTouch>0.65</AccuracyTouch>
<AccuracyShort>0.72</AccuracyShort>
@@ -1265,7 +1265,7 @@
<WULA_Dark_Matter_Item>8</WULA_Dark_Matter_Item>
</costList>
<statBases>
<WorkToMake>40000</WorkToMake>
<WorkToMake>3500</WorkToMake>
<Mass>4.5</Mass>
<AccuracyTouch>0.5</AccuracyTouch>
<AccuracyShort>0.5</AccuracyShort>
@@ -1365,7 +1365,7 @@
<unfinishedThingDef>UnfinishedWeapon</unfinishedThingDef>
</recipeMaker>
<statBases>
<WorkToMake>50000</WorkToMake>
<WorkToMake>5000</WorkToMake>
<Mass>10</Mass>
<AccuracyTouch>0.03</AccuracyTouch>
<AccuracyShort>0.03</AccuracyShort>
@@ -1625,7 +1625,7 @@
<WULA_Neutronium>4</WULA_Neutronium>
</costList>
<statBases>
<WorkToMake>20000</WorkToMake>
<WorkToMake>4000</WorkToMake>
<Mass>10</Mass>
<AccuracyTouch>1</AccuracyTouch>
<AccuracyShort>1</AccuracyShort>
@@ -1732,7 +1732,7 @@
</graphicData>
<techLevel>Spacer</techLevel>
<statBases>
<WorkToMake>1000</WorkToMake>
<WorkToMake>300</WorkToMake>
<Mass>1</Mass>
<EquipDelay>1</EquipDelay>
<MaxHitPoints>150</MaxHitPoints>
@@ -1868,7 +1868,7 @@
<unfinishedThingDef>UnfinishedWeapon</unfinishedThingDef>
</recipeMaker>
<statBases>
<WorkToMake>2500</WorkToMake>
<WorkToMake>2000</WorkToMake>
<!-- <MarketValue>370</MarketValue> -->
<Mass>8</Mass>
<AccuracyTouch>1</AccuracyTouch>
@@ -2033,7 +2033,7 @@
<WULA_Dark_Matter_Item>4</WULA_Dark_Matter_Item>
</costList>
<statBases>
<WorkToMake>40000</WorkToMake>
<WorkToMake>5000</WorkToMake>
<Mass>10</Mass>
<AccuracyTouch>0.5</AccuracyTouch>
<AccuracyShort>0.5</AccuracyShort>

View File

@@ -5,10 +5,10 @@
<Wula_UI_Legion_1.characterName>「军团」,P.I.A</Wula_UI_Legion_1.characterName>
<Wula_UI_Legion_1.description>这里是乌拉帝国行星封锁机关P.I.A通讯信号良好等待输入。</Wula_UI_Legion_1.description>
<Wula_UI_Legion_1.description>那句话怎么说来着?天下无敌,天上来敌。</Wula_UI_Legion_1.description>
<Wula_UI_Legion_1.description>早在这些生物的祖先还在有机汤里面翻滚时,我们就已经是这个银河系的霸主了——以前如此,今后也会如此。</Wula_UI_Legion_1.description>
<Wula_UI_Legion_1.description>一般来说,我们并不喜欢暴力和流血冲突,如果这些星系的原住民能更配合点就好了。</Wula_UI_Legion_1.description>
<Wula_UI_Legion_1.description>早在这些生物的祖先还在有机汤里面翻滚时,我们就已经是这个银河系的霸主了——以前如此,今后也会如此。</Wula_UI_Legion_1.description>
<Wula_UI_Legion_1.description>一般来说,我们并不喜欢暴力和流血冲突,如果这些星系的原住民能更配合点就好了。</Wula_UI_Legion_1.description>
<Wula_UI_Legion_1.option.0.label>我想问些事情</Wula_UI_Legion_1.option.0.label>
<Wula_UI_Legion_1.option.1.label>我们要申请支援!</Wula_UI_Legion_1.option.1.label>
<Wula_UI_Legion_1.option.1.label>我们要申请支援!</Wula_UI_Legion_1.option.1.label>
<Wula_UI_Legion_1.option.2.label>再见</Wula_UI_Legion_1.option.2.label>
<!-- Wula_UI_Legion_30 -->
@@ -46,7 +46,7 @@
<Wula_UI_Anisia_33.characterName>「军团」,P.I.A</Wula_UI_Anisia_33.characterName>
<Wula_UI_Anisia_33.description>遇到麻烦了?我可以把手上的特遣队丢下去,你们记得找好掩体。</Wula_UI_Anisia_33.description>
<Wula_UI_Anisia_33.option.0.label>再不来我们要死完啦</Wula_UI_Anisia_33.option.0.label>
<Wula_UI_Anisia_33.option.0.disabledReason>殖民地的表现让P.I.A相当不满意不会为殖民地派出任何额外增援</Wula_UI_Anisia_33.option.0.disabledReason>
<Wula_UI_Anisia_33.option.0.disabledReason>殖民地的表现让P.I.A相当不满意不会为殖民地派出任何额外增援</Wula_UI_Anisia_33.option.0.disabledReason>
<Wula_UI_Anisia_33.option.1.label>还是算了</Wula_UI_Anisia_33.option.1.label>
<!-- Wula_UI_Legion_Reply_1 -->

View File

@@ -1,5 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<LanguageData>
<WULA_Intro_NewColony.questNameRules.rulesStrings>
<li>questName->新殖民地</li>
</WULA_Intro_NewColony.questNameRules.rulesStrings>
<WULA_Intro_NewColony.questDescriptionRules.rulesStrings>
<li>questDescription->乌拉帝国的先遣队已经抵达地表,舰队给她们发来了第一条通讯。</li>
</WULA_Intro_NewColony.questDescriptionRules.rulesStrings>
<WULA_Intro_Spy.questNameRules.rulesStrings>
<li>questName->掩护帝国密探</li>
</WULA_Intro_Spy.questNameRules.rulesStrings>

View File

@@ -114,47 +114,49 @@ namespace WulaFallenEmpire
// 新增检查是否有拥有FactoryFacility设施的飞行器
private bool HasFactoryFacilityFlyOver()
{
Map map = Map;
if (map == null) return false;
// 系统禁用,但是保留代码
return true;
//Map map = Map;
//if (map == null) return false;
try
{
// 检查所有FlyOver类型的物体
var allFlyOvers = new List<Thing>();
var dynamicObjects = map.dynamicDrawManager.DrawThings;
foreach (var thing in dynamicObjects)
{
if (thing is FlyOver)
{
allFlyOvers.Add(thing);
}
}
//try
//{
// // 检查所有FlyOver类型的物体
// var allFlyOvers = new List<Thing>();
// var dynamicObjects = map.dynamicDrawManager.DrawThings;
// foreach (var thing in dynamicObjects)
// {
// if (thing is FlyOver)
// {
// allFlyOvers.Add(thing);
// }
// }
foreach (var thing in allFlyOvers)
{
if (thing is FlyOver flyOver && !flyOver.Destroyed)
{
// 检查设施
var facilitiesComp = flyOver.GetComp<CompFlyOverFacilities>();
if (facilitiesComp == null)
{
continue;
}
// foreach (var thing in allFlyOvers)
// {
// if (thing is FlyOver flyOver && !flyOver.Destroyed)
// {
// // 检查设施
// var facilitiesComp = flyOver.GetComp<CompFlyOverFacilities>();
// if (facilitiesComp == null)
// {
// continue;
// }
if (facilitiesComp.HasFacility("FactoryFacility"))
{
return true;
}
}
}
// if (facilitiesComp.HasFacility("FactoryFacility"))
// {
// return true;
// }
// }
// }
return false;
}
catch (System.Exception ex)
{
Log.Error($"[FactoryFacility Check] Error in HasFactoryFacilityFlyOver: {ex}");
return false;
}
// return false;
//}
//catch (System.Exception ex)
//{
// Log.Error($"[FactoryFacility Check] Error in HasFactoryFacilityFlyOver: {ex}");
// return false;
//}
}
// 新增:开始空投目标选择

View File

@@ -0,0 +1,33 @@
using System.Collections.Generic;
using System.Linq;
using HarmonyLib;
using Verse;
using RimWorld;
namespace WulaFallenEmpire.Patches
{
[HarmonyPatch(typeof(ThingDefGenerator_Techprints))]
[HarmonyPatch("ImpliedTechprintDefs")]
public static class Patch_ThingDefGenerator_Techprints_ImpliedTechprintDefs_Postfix
{
private static readonly HashSet<string> BlockedTechprints = new HashSet<string>
{
"Techprint_WULA_Colony_License_LV1_Technology",
"Techprint_WULA_Colony_License_LV2_Technology",
"Techprint_WULA_Colony_License_LV3_Technology"
};
[HarmonyPostfix]
public static IEnumerable<ThingDef> Postfix(IEnumerable<ThingDef> __result)
{
foreach (ThingDef thingDef in __result)
{
if (thingDef?.defName != null && BlockedTechprints.Contains(thingDef.defName))
{
continue; // 跳过被阻止的科技蓝图
}
yield return thingDef;
}
}
}
}

View File

@@ -163,6 +163,7 @@
<Compile Include="GlobalWorkTable\CompLaunchable_ToGlobalStorage.cs" />
<Compile Include="GlobalWorkTable\CompProperties_Launchable_ToGlobalStorage.cs" />
<Compile Include="HarmonyPatches\Hediff_Mechlink_PostAdd_Patch.cs" />
<Compile Include="HarmonyPatches\Patch_ThingDefGenerator_Techprints_ImpliedTechprintDefs.cs" />
<Compile Include="HarmonyPatches\WULA_AutonomousMech\Patch_FloatMenuOptionProvider_SelectedPawnValid.cs" />
<Compile Include="HarmonyPatches\WULA_AutonomousMech\Patch_IsColonyMechPlayerControlled.cs" />
<Compile Include="HarmonyPatches\WULA_AutonomousMech\Patch_MechanitorUtility_CanDraftMech.cs" />