This commit is contained in:
2025-09-04 14:08:56 +08:00
parent 11bf54225f
commit 5d79465213
3 changed files with 524 additions and 0 deletions

View File

@@ -0,0 +1,99 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<ThingDef ParentName="BuildingBase">
<defName>ARA_BioforgeIncubator</defName>
<label>生物质孵化器</label>
<description>一个先进的孵化器,可以使用化学燃料将有机物和矿物重组成有用的物品。生产过程对温度非常敏感,并且需要由特定的操作员进行启动。</description>
<thingClass>Building</thingClass>
<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>
</graphicData>
<size>(2,2)</size>
<costList>
<Steel>150</Steel>
<ComponentIndustrial>6</ComponentIndustrial>
</costList>
<altitudeLayer>Building</altitudeLayer>
<passability>Impassable</passability>
<rotatable>false</rotatable>
<designationCategory>Production</designationCategory>
<statBases>
<MaxHitPoints>250</MaxHitPoints>
<WorkToBuild>3000</WorkToBuild>
<Flammability>1.0</Flammability>
<Beauty>-10</Beauty>
</statBases>
<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>
</li>
<li>
<thingDef>Plasteel</thingDef>
<productionTicks>120000</productionTicks> <!-- 2 天 -->
<totalNutritionNeeded>50</totalNutritionNeeded>
</li>
</processes>
<!-- 燃料接受规则 -->
<fuelAcceptance>
<whitelist>
<li>WoodLog</li>
<li>RawFungus</li>
<li>Meat_Insect</li>
</whitelist>
<blacklist>
<li>MealSimple</li> <!-- 不接受简单食物,避免浪费 -->
</blacklist>
</fuelAcceptance>
<!-- 交互白名单 -->
<whitelist>
<li>ARA_ArachnaeQueen</li>
</whitelist>
<!-- 其他参数 -->
<spawnCount>5~10</spawnCount>
<destroyOnSpawn>false</destroyOnSpawn>
<minSafeTemperature>7</minSafeTemperature>
<maxSafeTemperature>32</maxSafeTemperature>
<penaltyPerDegreePerTick>0.00001</penaltyPerDegreePerTick>
</li>
</comps>
<building>
<defaultStorageSettings>
<priority>Important</priority>
<filter>
<thingDefs>
<li>WoodLog</li>
<li>RawFungus</li>
<li>Meat_Insect</li>
</thingDefs>
</filter>
</defaultStorageSettings>
</building>
</ThingDef>
</Defs>