This commit is contained in:
2025-09-04 14:28:26 +08:00
parent 5d79465213
commit cd880be9a4
7 changed files with 347 additions and 80 deletions

View File

@@ -3,68 +3,64 @@
<ThingDef ParentName="BuildingBase">
<defName>ARA_BioforgeIncubator</defName>
<label>生物质孵化</label>
<description>一个先进的孵化器,可以使用化学燃料将有机物和矿物重组成有用的物品。生产过程对温度非常敏感,并且需要由特定的操作员进行启动</description>
<label>阿拉克涅孵化</label>
<description>一个脆弱、易燃、黏滑的囊状物,是阿拉克涅工艺种所诞之卵,内含哺育阿拉克涅武器种虫族所需的营养和遗传物质,可以通过阿拉克涅工艺种的交互完成激活进程</description>
<thingClass>Building</thingClass>
<descriptionHyperlinks>
</descriptionHyperlinks>
<category>Building</category>
<size>(1,1)</size>
<minifiedDef>MinifiedThing</minifiedDef>
<thingCategories>
<li>BuildingsMisc</li>
</thingCategories>
<graphicData>
<texPath>Things/Building/Production/BiofuelRefinery</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>(2,2)</drawSize>
<damageData>
<cornerTL>Damage/Corner</cornerTL>
<cornerTR>Damage/Corner</cornerTR>
<cornerBL>Damage/Corner</cornerBL>
<cornerBR>Damage/Corner</cornerBR>
</damageData>
<texPath>ArachnaeSwarm/Building/ARA_EggSac</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>(1.5,1.5)</drawSize>
</graphicData>
<size>(2,2)</size>
<costList>
<Steel>150</Steel>
<ComponentIndustrial>6</ComponentIndustrial>
</costList>
<altitudeLayer>Building</altitudeLayer>
<passability>Impassable</passability>
<passability>PassThroughOnly</passability>
<fillPercent>0.3</fillPercent>
<rotatable>false</rotatable>
<designationCategory>Production</designationCategory>
<tickerType>Normal</tickerType>
<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
<statBases>
<MaxHitPoints>250</MaxHitPoints>
<WorkToBuild>3000</WorkToBuild>
<Flammability>1.0</Flammability>
<Beauty>-10</Beauty>
<Mass>10</Mass>
<MaxHitPoints>50</MaxHitPoints>
<Flammability>1</Flammability>
<Beauty>-6</Beauty>
</statBases>
<building>
<isInert>true</isInert>
<!-- <claimable>false</claimable> -->
<deconstructible>false</deconstructible>
<repairable>false</repairable>
<quickTargetable>true</quickTargetable>
<isTargetable>true</isTargetable>
<expandHomeArea>false</expandHomeArea>
</building>
<tickerType>Normal</tickerType>
<comps>
<li Class="CompProperties_Power">
<compClass>CompPowerTrader</compClass>
<basePowerConsumption>250</basePowerConsumption>
</li>
<li Class="CompProperties_Flickable"/>
<li Class="ArachnaeSwarm.CompProperties_InteractiveProducer">
<!-- 生产流程列表 -->
<processes>
<li>
<thingDef>ComponentIndustrial</thingDef>
<productionTicks>90000</productionTicks> <!-- 1.5 天 -->
<totalNutritionNeeded>25</totalNutritionNeeded>
<thingDef>Gun_ChainShotgun</thingDef>
<productionTicks>60000</productionTicks> <!-- 1.5 天 -->
<totalNutritionNeeded>20</totalNutritionNeeded>
</li>
<li>
<thingDef>Plasteel</thingDef>
<productionTicks>120000</productionTicks> <!-- 2 天 -->
<totalNutritionNeeded>50</totalNutritionNeeded>
<thingDef>Gun_AssaultRifle</thingDef>
<productionTicks>60000</productionTicks> <!-- 2 天 -->
<totalNutritionNeeded>15</totalNutritionNeeded>
</li>
</processes>
<!-- 燃料接受规则 -->
<fuelAcceptance>
<whitelist>
<li>WoodLog</li>
<li>RawFungus</li>
<li>Meat_Insect</li>
</whitelist>
<blacklist>
<li>MealSimple</li> <!-- 不接受简单食物,避免浪费 -->
</blacklist>
</fuelAcceptance>
<!-- 交互白名单 -->
@@ -73,23 +69,52 @@
</whitelist>
<!-- 其他参数 -->
<spawnCount>5~10</spawnCount>
<destroyOnSpawn>false</destroyOnSpawn>
<minSafeTemperature>7</minSafeTemperature>
<maxSafeTemperature>32</maxSafeTemperature>
<spawnCount>1</spawnCount>
<destroyOnSpawn>True</destroyOnSpawn>
<minSafeTemperature>18</minSafeTemperature>
<maxSafeTemperature>23</maxSafeTemperature>
<penaltyPerDegreePerTick>0.00001</penaltyPerDegreePerTick>
</li>
<!-- Add the vanilla component to handle structural damage from extreme temperatures -->
<li Class="CompProperties_TemperatureRuinable">
<minSafeTemperature>13</minSafeTemperature> <!-- Damage below -10C -->
<maxSafeTemperature>28</maxSafeTemperature> <!-- Damage above 60C -->
<progressPerDegreePerTick>0.00005</progressPerDegreePerTick> <!-- Damage rate -->
</li>
<li Class="CompProperties_HeatPusher">
<compClass>CompHeatPusherPowered</compClass>
<heatPerSecond>6</heatPerSecond>
</li>
</comps>
<building>
<defaultStorageSettings>
<priority>Important</priority>
<haulToContainerDuration>120</haulToContainerDuration>
<fixedStorageSettings>
<filter>
<thingDefs>
<li>WoodLog</li>
<li>RawFungus</li>
<li>Meat_Insect</li>
</thingDefs>
<categories>
<li>Foods</li>
</categories>
<specialFiltersToDisallow>
<li>AllowPlantFood</li>
</specialFiltersToDisallow>
</filter>
</fixedStorageSettings>
<defaultStorageSettings>
<filter>
<categories>
<li>Foods</li>
</categories>
<disallowedCategories>
<li>EggsFertilized</li>
</disallowedCategories>
<disallowedThingDefs>
<li>InsectJelly</li>
<li>MealLavish</li>
<li>MealLavish_Veg</li>
<li>MealLavish_Meat</li>
<li>HemogenPack</li>
<li>Chocolate</li>
</disallowedThingDefs>
</filter>
</defaultStorageSettings>
</building>