2025-8-14

This commit is contained in:
2025-08-14 11:29:24 +08:00
parent b796fbe329
commit c71983b742
6 changed files with 344 additions and 11 deletions

View File

@@ -69,7 +69,6 @@
<!-- 隐藏事件:触发一次袭击 -->
<WulaFallenEmpire.EventDef>
<defName>Wula_HiddenEvent_TriggerRaid</defName>
<hiddenWindow>true</hiddenWindow>
<dismissEffects>
<li>
<effects>

View File

@@ -35,6 +35,15 @@
<value>1</value>
<operation>Add</operation>
</li>
<!-- 检测好感度 -->
<li Class="WulaFallenEmpire.Effect_ClearVariable">
<name>Wula_FE_Spiritualist_Goodwill</name>
</li>
<li Class="WulaFallenEmpire.Effect_CheckFactionGoodwill">
<factionDef>Wula_FE_Spiritualist_Faction</factionDef>
<variableName>Wula_FE_Spiritualist_Goodwill</variableName>
</li>
</effects>
</li>
</immediateEffects>
@@ -52,13 +61,45 @@
</li>
</optionEffects>
</li>
<li>
<!-- 教堂 -->
<!-- <li>
<label>乌拉帝国 大教堂</label>
<disabledReason><![CDATA[这个堕落乌拉派系不存在——它可能已经被摧毁或者未生成。\n生成该派系需要<color=#B174C9><b>异象</b></color>DLC支持]]></disabledReason>
<hideWhenDisabled>true</hideWhenDisabled>
<conditions>
<li Class="WulaFallenEmpire.Condition_FactionExists">
<factionDef>Wula_FE_Spiritualist_Faction</factionDef>
</li>
<li Class="WulaFallenEmpire.Condition_VariableGreaterThanOrEqual">
<name>Wula_FE_Spiritualist_Goodwill</name>
<value>75</value>
</li>
</conditions>
<optionEffects>
<li Class="WulaFallenEmpire.ConditionalEffects">
<effects>
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
<defName>Wula_UI_FE_Spiritualist_2</defName>
</li>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
</effects>
</li>
</optionEffects>
</li>
<li>
<label>乌拉帝国 大教堂</label>
<hideWhenDisabled>true</hideWhenDisabled>
<conditions>
<li Class="WulaFallenEmpire.Condition_FactionExists">
<factionDef>Wula_FE_Spiritualist_Faction</factionDef>
</li>
<li Class="WulaFallenEmpire.Condition_VariableLessThanOrEqual">
<name>Wula_FE_Spiritualist_Goodwill</name>
<value>75</value>
</li>
<li Class="WulaFallenEmpire.Condition_VariableGreaterThanOrEqual">
<name>Wula_FE_Spiritualist_Goodwill</name>
<value>-75</value>
</li>
</conditions>
<optionEffects>
<li Class="WulaFallenEmpire.ConditionalEffects">
@@ -71,6 +112,30 @@
</li>
</optionEffects>
</li>
<li>
<label>乌拉帝国 大教堂</label>
<hideWhenDisabled>true</hideWhenDisabled>
<conditions>
<li Class="WulaFallenEmpire.Condition_FactionExists">
<factionDef>Wula_FE_Spiritualist_Faction</factionDef>
</li>
<li Class="WulaFallenEmpire.Condition_VariableLessThanOrEqual">
<name>Wula_FE_Spiritualist_Goodwill</name>
<value>-75</value>
</li>
</conditions>
<optionEffects>
<li Class="WulaFallenEmpire.ConditionalEffects">
<effects>
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
<defName>Wula_UI_FE_Spiritualist_3</defName>
</li>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
</effects>
</li>
</optionEffects>
</li> -->
<li>
<label>退出</label>
<optionEffects>

View File

@@ -1003,7 +1003,7 @@
<ThingDef ParentName="MechSerumBase">
<defName>WULA_MechRepairKit</defName>
<label>机械乌拉修理套件</label>
<description>一种一次性使用的堕落乌拉帝国修理套件,专门用来紧急修复机械乌拉,这种不依赖专用维护舱的临时修复无法完全修复机械乌拉</description>
<description>一种一次性使用的堕落乌拉帝国修理套件,专门用来紧急修复机械乌拉的伤口</description>
<descriptionHyperlinks><RecipeDef>AdministerWULA_MechRepairKit</RecipeDef></descriptionHyperlinks>
<graphicData>
<texPath>Wula/Item/WULA_MechRepairKit</texPath>

View File

@@ -13,9 +13,9 @@
<!--<lethalSeverity>2</lethalSeverity>-->
<comps>
<li Class="WulaFallenEmpire.HediffCompProperties_MaintenanceNeed">
<thresholdDays>80</thresholdDays>
<!-- 80天内严重性达到1.0 (1.0 / 80 = 0.0125) -->
<severityPerDayBeforeThreshold>0.0125</severityPerDayBeforeThreshold>
<thresholdDays>60</thresholdDays>
<!-- 60天内严重性达到1.0 (1.0 / 60 = 0.0166) -->
<severityPerDayBeforeThreshold>0.0166</severityPerDayBeforeThreshold>
<!-- 达到阈值后在30天内从1.0增长到2.0 (1.0 / 30 ≈ 0.03333) -->
<severityPerDayAfterThreshold>0.03333</severityPerDayAfterThreshold>
</li>

View File

@@ -728,7 +728,7 @@
<ThingDef ParentName="BuildingBase">
<defName>WULA_MaintenancePod</defName>
<label>维护舱</label>
<description>一个为乌拉设计的全自动维护舱乌拉需要定期进入其中进行身体机能的维护和校准,否则他们的身体会逐渐衰弱。维护过程需要消耗零部件。</description>
<description>一个为乌拉帝国合成人设计的全自动维护舱,机械乌拉需要定期进入其中进行身体机能的维护和校准,否则他们的身体会逐渐衰弱。维护需要消耗零部件,同时会修理所有的伤口</description>
<containedPawnsSelectable>true</containedPawnsSelectable>
<graphicData>
<texPath>Wula/Building/WULA_Synth_Maintainer_south</texPath>