暂存feat(maintenance): 实现维护舱功能及可配置性
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
<requiredWorkTags>None</requiredWorkTags>
|
||||
<forcedHediffs>
|
||||
<li>Wula_Synth</li>
|
||||
<li>WULA_Maintenance_Neglect</li>
|
||||
<li>WULA_Addons_Antenna_Hediff_Base</li>
|
||||
<!--<li>MechlinkImplant</li>-->
|
||||
</forcedHediffs>
|
||||
|
||||
18
1.6/Defs/JobDefs/WULA_JobDefs.xml
Normal file
18
1.6/Defs/JobDefs/WULA_JobDefs.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Defs>
|
||||
|
||||
<JobDef>
|
||||
<defName>WULA_HaulToMaintenancePod</defName>
|
||||
<driverClass>WulaFallenEmpire.JobDriver_HaulToMaintenancePod</driverClass>
|
||||
<reportString>正在为维护舱补充修复组件。</reportString>
|
||||
<allowOpportunisticPrefix>true</allowOpportunisticPrefix>
|
||||
</JobDef>
|
||||
|
||||
<JobDef>
|
||||
<defName>WULA_EnterMaintenancePod</defName>
|
||||
<driverClass>WulaFallenEmpire.JobDriver_EnterMaintenancePod</driverClass>
|
||||
<reportString>正在进入维护舱。</reportString>
|
||||
<allowOpportunisticPrefix>true</allowOpportunisticPrefix>
|
||||
</JobDef>
|
||||
|
||||
</Defs>
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Defs>
|
||||
|
||||
<JobDef>
|
||||
<defName>WULA_HaulToMaintenancePod</defName>
|
||||
<driverClass>WulaFallenEmpire.JobDriver_HaulToMaintenancePod</driverClass>
|
||||
<reportString>hauling TargetA to TargetB.</reportString>
|
||||
<allowOpportunisticPrefix>true</allowOpportunisticPrefix>
|
||||
</JobDef>
|
||||
|
||||
</Defs>
|
||||
@@ -59,12 +59,14 @@
|
||||
<li Class="WulaFallenEmpire.CompProperties_MaintenancePod">
|
||||
<durationTicks>60000</durationTicks> <!-- 1 day -->
|
||||
<powerConsumptionRunning>250</powerConsumptionRunning>
|
||||
<powerConsumptionIdle>50</powerConsumptionIdle>
|
||||
<powerConsumptionIdle>5</powerConsumptionIdle>
|
||||
<hediffToRemove>WULA_Maintenance_Neglect</hediffToRemove>
|
||||
<componentDef>ComponentIndustrial</componentDef>
|
||||
<componentCostPerSeverity>5</componentCostPerSeverity> <!-- 5 components per 100% severity -->
|
||||
<baseComponentCost>0</baseComponentCost>
|
||||
<minSeverityToMaintain>0.75</minSeverityToMaintain>
|
||||
<capacity>5</capacity>
|
||||
<hediffSeverityAfterCycle>0.01</hediffSeverityAfterCycle>
|
||||
<enterSound>BiosculpterPod_Enter</enterSound>
|
||||
<exitSound>BiosculpterPod_Exit</exitSound>
|
||||
<operatingEffecter>BiosculpterPod_Operating</operatingEffecter>
|
||||
@@ -75,4 +77,4 @@
|
||||
</placeWorkers>
|
||||
</ThingDef>
|
||||
|
||||
</Defs>
|
||||
</Defs>
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Defs>
|
||||
|
||||
<JobDef>
|
||||
<defName>WULA_HaulToMaintenancePod</defName>
|
||||
<driverClass>WulaFallenEmpire.JobDriver_HaulToMaintenancePod</driverClass>
|
||||
<reportString>hauling TargetA to TargetB.</reportString>
|
||||
<allowOpportunisticPrefix>true</allowOpportunisticPrefix>
|
||||
</JobDef>
|
||||
|
||||
</Defs>
|
||||
Reference in New Issue
Block a user