This commit is contained in:
2025-08-09 12:03:00 +08:00
parent 28907251bb
commit a1998ba80e
6 changed files with 34 additions and 2 deletions

Binary file not shown.

View File

@@ -7,8 +7,8 @@
<description>一个为乌拉族设计的全自动维护舱。乌拉族需要定期进入其中进行身体机能的维护和校准,否则他们的身体会逐渐衰弱。维护过程需要消耗零部件。</description> <description>一个为乌拉族设计的全自动维护舱。乌拉族需要定期进入其中进行身体机能的维护和校准,否则他们的身体会逐渐衰弱。维护过程需要消耗零部件。</description>
<containedPawnsSelectable>true</containedPawnsSelectable> <containedPawnsSelectable>true</containedPawnsSelectable>
<graphicData> <graphicData>
<texPath>Things/Building/Misc/BiosculpterPod/BiosculpterPod</texPath> <texPath>Wula/Building/WULA_Synth_Maintainer_south</texPath>
<graphicClass>Graphic_Multi</graphicClass> <graphicClass>Graphic_Single</graphicClass>
<shadowData> <shadowData>
<volume>(2.9,0.6,1.9)</volume> <volume>(2.9,0.6,1.9)</volume>
</shadowData> </shadowData>
@@ -23,6 +23,7 @@
<blockWind>true</blockWind> <blockWind>true</blockWind>
<fillPercent>0.5</fillPercent> <fillPercent>0.5</fillPercent>
<canOverlapZones>false</canOverlapZones> <canOverlapZones>false</canOverlapZones>
<rotatable>false</rotatable>
<statBases> <statBases>
<MaxHitPoints>250</MaxHitPoints> <MaxHitPoints>250</MaxHitPoints>
<WorkToBuild>20000</WorkToBuild> <WorkToBuild>20000</WorkToBuild>

11
1.6/Defs/WULA_Jobs.xml Normal file
View File

@@ -0,0 +1,11 @@
<?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>

View File

@@ -8,6 +8,7 @@ namespace WulaFallenEmpire
{ {
public static JobDef WULA_LoadComponentsToMaintenancePod; public static JobDef WULA_LoadComponentsToMaintenancePod;
public static JobDef WULA_EnterMaintenancePod; public static JobDef WULA_EnterMaintenancePod;
public static JobDef WULA_HaulToMaintenancePod;
static JobDefOf_WULA() static JobDefOf_WULA()
{ {

View File

@@ -0,0 +1,16 @@
using RimWorld;
using Verse;
namespace WulaFallenEmpire
{
[DefOf]
public static class ThingDefOf_WULA
{
public static ThingDef WULA_MaintenancePod;
static ThingDefOf_WULA()
{
DefOfHelper.EnsureInitializedInCtor(typeof(ThingDefOf_WULA));
}
}
}

View File

@@ -100,6 +100,7 @@
<Compile Include="IngestPatch.cs" /> <Compile Include="IngestPatch.cs" />
<Compile Include="JobDriver_FeedWulaPatient.cs" /> <Compile Include="JobDriver_FeedWulaPatient.cs" />
<Compile Include="JobDriver_EnterMaintenancePod.cs" /> <Compile Include="JobDriver_EnterMaintenancePod.cs" />
<Compile Include="JobDriver_HaulToMaintenancePod.cs" />
<Compile Include="JobDriver_IngestWulaEnergy.cs" /> <Compile Include="JobDriver_IngestWulaEnergy.cs" />
<Compile Include="JobGiver_WulaGetEnergy.cs" /> <Compile Include="JobGiver_WulaGetEnergy.cs" />
<Compile Include="JobGiver_WulaPackEnergy.cs" /> <Compile Include="JobGiver_WulaPackEnergy.cs" />
@@ -135,6 +136,7 @@
<Compile Include="Verb\Verb_ShootBeamExplosive.cs" /> <Compile Include="Verb\Verb_ShootBeamExplosive.cs" />
<Compile Include="Verb\VerbPropertiesExplosiveBeam.cs" /> <Compile Include="Verb\VerbPropertiesExplosiveBeam.cs" />
<Compile Include="WorkGiver_FeedWulaPatient.cs" /> <Compile Include="WorkGiver_FeedWulaPatient.cs" />
<Compile Include="WorkGiver_HaulToMaintenancePod.cs" />
<Compile Include="WorkGiver_Warden_DeliverEnergy.cs" /> <Compile Include="WorkGiver_Warden_DeliverEnergy.cs" />
<Compile Include="WorkGiver_Warden_FeedWula.cs" /> <Compile Include="WorkGiver_Warden_FeedWula.cs" />
<Compile Include="WorkGiverDefExtension_FeedWula.cs" /> <Compile Include="WorkGiverDefExtension_FeedWula.cs" />
@@ -144,6 +146,7 @@
<Compile Include="Building_MaintenancePod.cs" /> <Compile Include="Building_MaintenancePod.cs" />
<Compile Include="HediffComp_MaintenanceNeed.cs" /> <Compile Include="HediffComp_MaintenanceNeed.cs" />
<Compile Include="JobDefOf_WULA.cs" /> <Compile Include="JobDefOf_WULA.cs" />
<Compile Include="ThingDefOf_WULA.cs" />
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- 自定义清理任务删除obj文件夹中的临时文件 --> <!-- 自定义清理任务删除obj文件夹中的临时文件 -->