2025-6-24

This commit is contained in:
2025-06-24 20:55:04 +08:00
parent c664705095
commit 9ee08eda7b
7 changed files with 164 additions and 22 deletions

View File

@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<Defs> <Defs>
<BodyDef> <BodyDef>
<defName>WULA_Machine_Body</defName> <defName>WULA_Machine_Body</defName>
<label>机械乌拉</label> <label>机械乌拉</label>
@@ -12,26 +11,35 @@
<li>Torso</li> <li>Torso</li>
</groups> </groups>
<parts> <parts>
<!-- 肋骨 --> <!-- 机械框架,代替了肋骨、胸骨、骨盆、脊椎 -->
<li> <li>
<def>WULA_Alloy_Framework</def>
<coverage>0.076</coverage>
<depth>Inside</depth>
<groups>
<li>Torso</li>
</groups>
</li>
<!-- 肋骨 -->
<!-- <li>
<def>Ribcage</def> <def>Ribcage</def>
<coverage>0.036</coverage> <coverage>0.036</coverage>
<depth>Inside</depth> <depth>Inside</depth>
<groups> <groups>
<li>Torso</li> <li>Torso</li>
</groups> </groups>
</li> </li> -->
<!-- 胸骨 --> <!-- 胸骨 -->
<li> <!-- <li>
<def>Sternum</def> <def>Sternum</def>
<coverage>0.015</coverage> <coverage>0.015</coverage>
<depth>Inside</depth> <depth>Inside</depth>
<groups> <groups>
<li>Torso</li> <li>Torso</li>
</groups> </groups>
</li> </li> -->
<!-- 骨盆 --> <!-- 骨盆 -->
<li> <!-- <li>
<def>Pelvis</def> <def>Pelvis</def>
<coverage>0.025</coverage> <coverage>0.025</coverage>
<height>Bottom</height> <height>Bottom</height>
@@ -39,20 +47,20 @@
<groups> <groups>
<li>Torso</li> <li>Torso</li>
</groups> </groups>
</li> </li> -->
<!-- 能源炉 --> <!-- 脊椎 -->
<li> <!-- <li>
<def>WULA_Energy_Furnace</def> <def>Spine</def>
<customLabel>能源炉</customLabel>
<coverage>0.025</coverage> <coverage>0.025</coverage>
<depth>Inside</depth> <depth>Inside</depth>
<groups> <groups>
<li>Torso</li> <li>Torso</li>
</groups> </groups>
</li> </li> -->
<!-- 脊椎 --> <!-- 能源炉,代替了胃、心脏、肺、肾、肝 -->
<li> <li>
<def>Spine</def> <def>WULA_Energy_Furnace</def>
<customLabel>能源炉</customLabel>
<coverage>0.025</coverage> <coverage>0.025</coverage>
<depth>Inside</depth> <depth>Inside</depth>
<groups> <groups>
@@ -133,6 +141,7 @@
<li>Neck</li> <li>Neck</li>
</groups> </groups>
<parts> <parts>
<!-- 头部 -->
<li> <li>
<def>Head</def> <def>Head</def>
<coverage>0.80</coverage> <coverage>0.80</coverage>
@@ -597,6 +606,4 @@
</parts> </parts>
</corePart> </corePart>
</BodyDef> </BodyDef>
</Defs> </Defs>

View File

@@ -3,7 +3,7 @@
<BodyPartDef> <BodyPartDef>
<defName>WULA_Energy_Furnace</defName> <defName>WULA_Energy_Furnace</defName>
<label>中央能源炉</label> <label>中央能源炉</label>
<hitPoints>50</hitPoints> <hitPoints>120</hitPoints>
<skinCovered>false</skinCovered> <skinCovered>false</skinCovered>
<solid>true</solid> <solid>true</solid>
<tags> <tags>
@@ -14,4 +14,20 @@
<li>MetabolismSource</li> <li>MetabolismSource</li>
</tags> </tags>
</BodyPartDef> </BodyPartDef>
<BodyPartDef>
<defName>WULA_Alloy_Framework</defName>
<label>躯体合金框架</label>
<hitPoints>350</hitPoints>
<permanentInjuryChanceFactor>0</permanentInjuryChanceFactor>
<skinCovered>false</skinCovered>
<solid>true</solid>
<bleedRate>0</bleedRate>
<tags>
<li>BreathingSourceCage</li>
<li>Spine</li>
<li>Pelvis</li>
<li>ManipulationLimbSegment</li>
</tags>
<destroyableByDamage>false</destroyableByDamage>
</BodyPartDef>
</Defs> </Defs>

View File

@@ -4,7 +4,7 @@
<HediffDef> <HediffDef>
<defName>Wula_Synth</defName> <defName>Wula_Synth</defName>
<label>合成人</label> <label>合成人</label>
<description>乌拉帝国制式合成人,拥有一部分机械体的特性</description> <description>乌拉帝国制式合成人,拥有一部分机械体的特性——她们无法被点燃、不会中毒、不会抱怨温度,但是也不会自愈创伤,并且需要摄入更多能量以维持机体运转。</description>
<hediffClass>HediffWithComps</hediffClass> <hediffClass>HediffWithComps</hediffClass>
<everCurableByItem>false</everCurableByItem> <everCurableByItem>false</everCurableByItem>
<duplicationAllowed>false</duplicationAllowed> <duplicationAllowed>false</duplicationAllowed>
@@ -22,8 +22,8 @@
</statFactors> </statFactors>
<!-- 抗毒抗火抗寒热 --> <!-- 抗毒抗火抗寒热 -->
<statOffsets> <statOffsets>
<ComfyTemperatureMin>-50</ComfyTemperatureMin> <ComfyTemperatureMin>-100</ComfyTemperatureMin>
<ComfyTemperatureMax>60</ComfyTemperatureMax> <ComfyTemperatureMax>120</ComfyTemperatureMax>
<ToxicResistance>1</ToxicResistance> <ToxicResistance>1</ToxicResistance>
<ToxicEnvironmentResistance MayRequire="Ludeon.RimWorld.Biotech">1</ToxicEnvironmentResistance> <ToxicEnvironmentResistance MayRequire="Ludeon.RimWorld.Biotech">1</ToxicEnvironmentResistance>
<Flammability>0</Flammability> <Flammability>0</Flammability>
@@ -38,6 +38,18 @@
<offset>0.20</offset> <offset>0.20</offset>
</li> </li>
</capMods> </capMods>
<!-- 免疫非纳米机械疾病 -->
<makeImmuneTo>
<li>Flu</li>
<li>Malaria</li>
<li>SleepingSickness</li>
<li>Plague</li>
<li>WoundInfection</li>
<li>LungRot</li>
<li>GutWorms</li>
<li>MuscleParasites</li>
<li>OrganDecay</li>
</makeImmuneTo>
</li> </li>
</stages> </stages>
<disablesNeeds> <disablesNeeds>

View File

@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<RecipeDef ParentName="ResourceBase">
<defName>Make_WULA_Charge_Cube</defName>
<label>制造乌拉帝国能源核心</label>
<description>制造一块乌拉帝国能源核心,这是机械乌拉的能源系统唯一可接受的外部输入性能量来源。</description>
<jobString>正在制造乌拉帝国能源核心</jobString>
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<requiredGiverWorkType>Crafting</requiredGiverWorkType>
<effectWorking>Smith</effectWorking>
<soundWorking>Recipe_Smith</soundWorking>
<!-- 允许混合成分 -->
<allowMixingIngredients>false</allowMixingIngredients>
<ingredients>
<li>
<filter>
<thingDefs>
<li>Steel</li>
</thingDefs>
</filter>
<count>2</count>
</li>
</ingredients>
<products>
<WULA_Charge_Cube>1</WULA_Charge_Cube>
</products>
<workSkill>Crafting</workSkill>
<displayPriority>100</displayPriority>
</RecipeDef>
</Defs>

View File

@@ -13,7 +13,7 @@
<MarketValue>24</MarketValue> <MarketValue>24</MarketValue>
<Mass>0.3</Mass> <Mass>0.3</Mass>
<WorkToMake>450</WorkToMake> <WorkToMake>450</WorkToMake>
<Nutrition>0.9</Nutrition> <Nutrition>1</Nutrition>
</statBases> </statBases>
<ingestible> <ingestible>
<preferability>MealSimple</preferability> <preferability>MealSimple</preferability>
@@ -22,6 +22,6 @@
<ingestEffect>EatVegetarian</ingestEffect> <ingestEffect>EatVegetarian</ingestEffect>
<ingestSound>MechanoidsWakeUp</ingestSound> <ingestSound>MechanoidsWakeUp</ingestSound>
</ingestible> </ingestible>
<allowedArchonexusCount>40</allowedArchonexusCount> <allowedArchonexusCount>200</allowedArchonexusCount>
</ThingDef> </ThingDef>
</Defs> </Defs>

View File

@@ -0,0 +1,75 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<ThingDef ParentName="BenchBase">
<defName>WULA_Cube_Productor_BIO</defName>
<label>能源核心冲压机(生物能)</label>
<description>一台仿制乌拉帝国科技而建造的能源核心制造机,用于在没有电力的情况下,通过燃烧木材输入生物能以制造可维持机械乌拉正常运转的能源核心。</description>
<thingClass>Building_WorkTable_HeatPush</thingClass>
<drawerType>MapMeshAndRealTime</drawerType>
<graphicData>
<texPath>Things/Building/Production/TableStoveFueled</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>(3.5,1.5)</drawSize>
<damageData>
<cornerTL>Damage/Corner</cornerTL>
<cornerTR>Damage/Corner</cornerTR>
<cornerBL>Damage/Corner</cornerBL>
<cornerBR>Damage/Corner</cornerBR>
</damageData>
</graphicData>
<castEdgeShadows>true</castEdgeShadows>
<staticSunShadowHeight>0.20</staticSunShadowHeight>
<constructEffect>ConstructMetal</constructEffect>
<costList>
<Steel>80</Steel>
</costList>
<altitudeLayer>Building</altitudeLayer>
<fillPercent>0.5</fillPercent>
<useHitPoints>True</useHitPoints>
<statBases>
<WorkToBuild>2000</WorkToBuild>
<MaxHitPoints>180</MaxHitPoints>
<Flammability>1.0</Flammability>
</statBases>
<size>(3,1)</size>
<designationCategory>Production</designationCategory>
<uiOrder>2120</uiOrder>
<passability>PassThroughOnly</passability>
<pathCost>50</pathCost>
<hasInteractionCell>True</hasInteractionCell>
<interactionCellOffset>(0,0,-1)</interactionCellOffset>
<surfaceType>Item</surfaceType>
<!-- 可用配方 -->
<recipes>
<li>Make_WULA_Charge_Cube</li>
</recipes>
<inspectorTabs>
<li>ITab_Bills</li>
</inspectorTabs>
<comps>
<li Class="CompProperties_Refuelable">
<fuelConsumptionRate>500.0</fuelConsumptionRate>
<fuelCapacity>150.0</fuelCapacity>
<fuelFilter>
<thingDefs>
<li>WoodLog</li>
</thingDefs>
</fuelFilter>
<consumeFuelOnlyWhenUsed>true</consumeFuelOnlyWhenUsed>
<showAllowAutoRefuelToggle>true</showAllowAutoRefuelToggle>
</li>
<li Class="CompProperties_HeatPusher">
<compClass>CompHeatPusherPowered</compClass>
<heatPerSecond>4</heatPerSecond>
</li>
</comps>
<placeWorkers>
<li>PlaceWorker_PreventInteractionSpotOverlap</li>
</placeWorkers>
<building>
<isMealSource>true</isMealSource>
<spawnedConceptLearnOpportunity>BillsTab</spawnedConceptLearnOpportunity>
<heatPerTickWhileWorking>0.10</heatPerTickWhileWorking>
</building>
</ThingDef>
</Defs>

View File

@@ -221,6 +221,8 @@
<intelligence>Humanlike</intelligence> <intelligence>Humanlike</intelligence>
<!-- 血液,不流血 --> <!-- 血液,不流血 -->
<bloodDef>Filth_MachineBits</bloodDef> <bloodDef>Filth_MachineBits</bloodDef>
<!-- 基础血量,很高 -->
<baseHealthScale>2.5</baseHealthScale>
<!-- 解剖产物 --> <!-- 解剖产物 -->
<leatherDef>Leather_Light</leatherDef> <leatherDef>Leather_Light</leatherDef>
<specificMeatDef>Meat_Twisted</specificMeatDef> <specificMeatDef>Meat_Twisted</specificMeatDef>