暂存充电床

This commit is contained in:
2025-08-14 14:28:28 +08:00
parent e3b25dbda2
commit 1fafac51bb
13 changed files with 260 additions and 11 deletions

View File

@@ -63,9 +63,10 @@
<comps>
<li Class="WulaFallenEmpire.HediffCompProperties_WulaCharging">
<!-- 充能效果的总持续时间(以 tick 为单位60 ticks = 1 秒) -->
<durationTicks>600</durationTicks>
<!-- 充能效果的总持续时间(以 tick 为单位60 ticks = 1 秒) -->
<durationTicks>20,000</durationTicks>
<!-- 备用能量恢复值:如果能量核心没有定义具体的能量值,则每 tick 恢复这么多能量 -->
<energyPerTick>0.02</energyPerTick>
<energyPerTick>0.00011667</energyPerTick>
</li>
</comps>
<stages>

View File

@@ -22,7 +22,6 @@
<allowOpportunisticPrefix>true</allowOpportunisticPrefix>
</JobDef>
<JobDef>
<defName>WULA_HaulToMaintenancePod</defName>
<driverClass>WulaFallenEmpire.JobDriver_HaulToMaintenancePod</driverClass>
@@ -31,4 +30,11 @@
<casualInterruptible>false</casualInterruptible>
</JobDef>
<JobDef>
<defName>WULA_LayDownToCharge</defName>
<driverClass>WulaFallenEmpire.JobDriver_WulaLayDownToCharge</driverClass>
<reportString>正在充电。</reportString>
<casualInterruptible>false</casualInterruptible>
</JobDef>
</Defs>

View File

@@ -268,6 +268,7 @@
<!---->
<ThingDef ParentName="BasicBedBase">
<defName>WULA_Charging_Station_Synth</defName>
<thingClass>Building_Bed</thingClass>
<label>合成人修复站</label>
<description>一台供乌拉帝国合成人进行机体修复的检修站。</description>
<graphicData>
@@ -313,7 +314,7 @@
<comps>
<li Class="CompProperties_Power">
<compClass>CompPowerTrader</compClass>
<basePowerConsumption>30</basePowerConsumption>
<basePowerConsumption>200</basePowerConsumption>
</li>
<li Class="CompProperties_Glower">
<glowRadius>12</glowRadius>
@@ -325,6 +326,10 @@
<colorPickerEnabled>true</colorPickerEnabled>
<darklightToggle>true</darklightToggle>
</li>
<li Class="WulaFallenEmpire.CompProperties_ChargingBed">
<hediffDef>WULA_ChargingHediff</hediffDef>
<raceDefName>WulaSpecies</raceDefName>
</li>
</comps>
</ThingDef>