好像这一版终于行了 修充电床

This commit is contained in:
2025-08-14 21:36:00 +08:00
parent fcd1e6b0b4
commit 11b9caacab
8 changed files with 71 additions and 63 deletions

View File

@@ -30,11 +30,4 @@
<casualInterruptible>false</casualInterruptible>
</JobDef>
<JobDef>
<defName>WULA_LayDownToCharge</defName>
<driverClass>WulaFallenEmpire.JobDriver_WulaLayDownToCharge</driverClass>
<reportString>正在充电</reportString>
<casualInterruptible>false</casualInterruptible>
</JobDef>
</Defs>

View File

@@ -265,21 +265,30 @@
<emergency>true</emergency>
</li>
<!-- Get Wula energy (only if starving) -->
<li Class="ThinkNode_ConditionalNeedPercentageAbove">
<need>WULA_Energy</need>
<threshold>0.5</threshold> <!-- 能量低于10%时触发 -->
<invert>true</invert>
<!-- Satisfy Needs -->
<li Class="ThinkNode_Tagger">
<tagToGive>SatisfyingNeeds</tagToGive>
<subNodes>
<li Class="ThinkNode_Tagger">
<tagToGive>SatisfyingNeeds</tagToGive>
<li Class="ThinkNode_PrioritySorter">
<subNodes>
<li Class="JobGiver_Autofeed" MayRequire="Ludeon.RimWorld.Biotech" />
<li Class="WulaFallenEmpire.JobGiver_WulaGetEnergy">
<leaveJoinableLordIfIssuesJob>true</leaveJoinableLordIfIssuesJob>
<minEnergyLevelPercentage>0.3</minEnergyLevelPercentage>
<maxEnergyLevelPercentage>0.9</maxEnergyLevelPercentage>
<maxEnergyLevelPercentage>1.0</maxEnergyLevelPercentage>
<emergencyPriority>9.5</emergencyPriority>
</li>
<li Class="JobGiver_SatisfyChemicalNeed"/>
<li Class="JobGiver_SatifyChemicalDependency" MayRequire="Ludeon.RimWorld.Biotech" />
<li Class="JobGiver_GetHemogen" MayRequire="Ludeon.RimWorld.Biotech" />
<li Class="JobGiver_GetDeathrest" MayRequire="Ludeon.RimWorld.Biotech" />
<li Class="ThinkNode_Priority_GetJoy">
<subNodes>
<li Class="JobGiver_GetJoy"/>
<li Class="JobGiver_GetJoyInBed"/>
</subNodes>
</li>
<li Class="JobGiver_Meditate"/>
</subNodes>
</li>
</subNodes>