613 lines
24 KiB
XML
613 lines
24 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<Defs>
|
||
<ThingDef ParentName="BuildingBase">
|
||
<defName>ARA_NutrientNetworkTower</defName>
|
||
<label>阿拉克涅营养供给塔</label>
|
||
<description>一个中央营养供给设施。它可以自动为链接到的、需要营养的建筑补充燃料。它本身需要被手动填充大量的生物质。</description>
|
||
<size>(4,4)</size>
|
||
<graphicData>
|
||
<texPath>ArachnaeSwarm/Building/ARA_NutrientNetworkTower</texPath>
|
||
<graphicClass>Graphic_Single</graphicClass>
|
||
<shaderType>CutoutComplex</shaderType>
|
||
<drawSize>(4,6.5)</drawSize>
|
||
<drawOffset>(0, 2, 1.5)</drawOffset>
|
||
<shadowData>
|
||
<volume>(1.25, 1.25, 2)</volume>
|
||
<offset>(0,0,-0.1)</offset>
|
||
</shadowData>
|
||
</graphicData>
|
||
<uiIconScale>0.8</uiIconScale>
|
||
<altitudeLayer>Building</altitudeLayer>
|
||
<passability>PassThroughOnly</passability>
|
||
<pathCost>70</pathCost>
|
||
<tickerType>Normal</tickerType> <!-- 改为 Normal 以匹配 CompRefuelable 的要求 -->
|
||
<fillPercent>0.7</fillPercent>
|
||
<rotatable>false</rotatable>
|
||
<statBases>
|
||
<MaxHitPoints>3000</MaxHitPoints>
|
||
<WorkToBuild>3000</WorkToBuild>
|
||
<Mass>20</Mass>
|
||
<Flammability>0.5</Flammability>
|
||
</statBases>
|
||
<costList>
|
||
<ARA_Carapace>150</ARA_Carapace>
|
||
<ARA_InsectJelly>50</ARA_InsectJelly>
|
||
<ARA_Activated_Bacterium>10</ARA_Activated_Bacterium>
|
||
</costList>
|
||
<terrainAffordanceNeeded>ARA_Creep</terrainAffordanceNeeded>
|
||
<comps>
|
||
<li Class="ArachnaeSwarm.CompProperties_SwarmMaintenance">
|
||
<maxMaintenance>100</maxMaintenance>
|
||
<maintenanceDecayPerDay>10</maintenanceDecayPerDay>
|
||
<damagePerSecondWhenEmpty>2</damagePerSecondWhenEmpty>
|
||
<warningThreshold>0.2</warningThreshold>
|
||
<maintenanceThresholdForJob>0.5</maintenanceThresholdForJob>
|
||
</li>
|
||
<li Class="CompProperties_Glower">
|
||
<overlightRadius>7.0</overlightRadius>
|
||
<glowRadius>14</glowRadius>
|
||
<glowColor>(220,210,171,0)</glowColor>
|
||
<colorPickerEnabled>true</colorPickerEnabled>
|
||
</li>
|
||
<!-- 供能核心组件 -->
|
||
<li Class="ArachnaeSwarm.CompProperties_NutrientProvider">
|
||
<linkableBuildings>
|
||
<!-- 这里列出所有可以被供能的建筑的 defName -->
|
||
<!-- 您之后可以手动添加,例如: -->
|
||
<li>ARA_MorphableResearchBench</li>
|
||
<li>ARANutrientDispenser</li>
|
||
<li>ARA_WormholePortal_A</li>
|
||
<li>ARA_Baneling_AutoMortar</li>
|
||
<li>CatastropheMissileSilo</li>
|
||
<li>ARA_AutoSniperCannon</li>
|
||
<li>ARA_Pawn_Ootheca</li>
|
||
<li>ARA_Equipment_Ootheca</li>
|
||
<li>ARA_BioforgeIncubator</li>
|
||
<li>ARA_BioforgeIncubator_Thing</li>
|
||
</linkableBuildings>
|
||
<maxDistance>80</maxDistance> <!-- 供能范围 -->
|
||
<maxSimultaneous>10</maxSimultaneous>
|
||
<maxEfficiency>0.9</maxEfficiency>
|
||
<lineTexturePath>ArachnaeSwarm/Building/Nutrition_Pie</lineTexturePath>
|
||
</li>
|
||
<!-- 自身的燃料库 -->
|
||
<li Class="ArachnaeSwarm.CompProperties_RefuelableNutrition">
|
||
<fuelCapacity>10000.0</fuelCapacity>
|
||
<fuelFilter>
|
||
<thingDefs>
|
||
<li>ARA_InsectJelly</li>
|
||
</thingDefs>
|
||
</fuelFilter>
|
||
<fuelGizmoLabel>虫蜜</fuelGizmoLabel>
|
||
<showAllowAutoRefuelToggle>false</showAllowAutoRefuelToggle>
|
||
<targetFuelLevelConfigurable>true</targetFuelLevelConfigurable>
|
||
<canEjectFuel>true</canEjectFuel>
|
||
</li>
|
||
<!-- 开关 -->
|
||
<li Class="CompProperties_Flickable"/>
|
||
<li Class="CompProperties_AffectedByFacilities">
|
||
<linkableFacilities>
|
||
</linkableFacilities>
|
||
</li>
|
||
<li Class="CompProperties_Glower">
|
||
<glowRadius>8</glowRadius>
|
||
<glowColor>(220,210,171,0)</glowColor>
|
||
</li>
|
||
</comps>
|
||
<building>
|
||
<relatedTerrain>
|
||
<li>ARA_InsectCreep</li>
|
||
</relatedTerrain>
|
||
</building>
|
||
<designationCategory>ARA_Buildings</designationCategory>
|
||
<researchPrerequisites Inherit="False">
|
||
<li>ARA_Technology_1NPT</li>
|
||
</researchPrerequisites>
|
||
</ThingDef>
|
||
<ThingDef ParentName="BuildingBase">
|
||
<defName>ARANutrientDispenser</defName>
|
||
<label>阿拉克涅蜜晶巢穴</label>
|
||
<description>一个生产阿拉克涅蜜晶糕的巢穴,通过分解虫蜜来生产可食用的蜜晶糕。这种在巢穴内加工过的食物可以帮助虫群抵御冷血动物的影响,并且软糯的口感让非虫族殖民者也能乐在其中。</description>
|
||
<thingClass>ArachnaeSwarm.Building_ARANutrientDispenser</thingClass>
|
||
<graphicData>
|
||
<texPath>ArachnaeSwarm/Building/ARA_NutrientDispenser</texPath>
|
||
<graphicClass>Graphic_Single</graphicClass>
|
||
<shaderType>CutoutComplex</shaderType>
|
||
<drawRotated>false</drawRotated>
|
||
<drawSize>(5.5,5.5)</drawSize>
|
||
<drawOffset>(0, 2, 0.5)</drawOffset>
|
||
<shadowData>
|
||
<volume>(3.0, 2.5, 2.5)</volume>
|
||
<offset>(0,0,-0.45)</offset>
|
||
</shadowData>
|
||
</graphicData>
|
||
<size>(5,5)</size>
|
||
<altitudeLayer>Building</altitudeLayer>
|
||
<passability>Impassable</passability>
|
||
<pathCost>150</pathCost>
|
||
<fillPercent>1.0</fillPercent>
|
||
<castEdgeShadows>false</castEdgeShadows>
|
||
<statBases>
|
||
<MaxHitPoints>250</MaxHitPoints>
|
||
<WorkToBuild>2000</WorkToBuild>
|
||
<Flammability>0.5</Flammability>
|
||
</statBases>
|
||
<costList>
|
||
<ARA_Carapace>50</ARA_Carapace>
|
||
<ARA_InsectJelly>200</ARA_InsectJelly>
|
||
<ARA_Activated_Bacterium>20</ARA_Activated_Bacterium>
|
||
</costList>
|
||
<tickerType>Normal</tickerType>
|
||
<terrainAffordanceNeeded>ARA_Creep</terrainAffordanceNeeded>
|
||
<comps>
|
||
<li Class="ArachnaeSwarm.CompProperties_SwarmMaintenance">
|
||
<maxMaintenance>100</maxMaintenance>
|
||
<maintenanceDecayPerDay>15</maintenanceDecayPerDay>
|
||
<damagePerSecondWhenEmpty>2</damagePerSecondWhenEmpty>
|
||
<warningThreshold>0.2</warningThreshold>
|
||
<maintenanceThresholdForJob>0.5</maintenanceThresholdForJob>
|
||
</li>
|
||
<li Class="ArachnaeSwarm.CompProperties_RefuelableNutrition">
|
||
<fuelCapacity>10.0</fuelCapacity>
|
||
<fuelFilter>
|
||
<thingDefs>
|
||
<li>ARA_InsectJelly</li>
|
||
</thingDefs>
|
||
</fuelFilter>
|
||
<fuelGizmoLabel>虫蜜</fuelGizmoLabel>
|
||
<showAllowAutoRefuelToggle>true</showAllowAutoRefuelToggle>
|
||
<targetFuelLevelConfigurable>true</targetFuelLevelConfigurable>
|
||
<consumeFuelOnlyWhenUsed>true</consumeFuelOnlyWhenUsed>
|
||
</li>
|
||
<li Class="CompProperties_AffectedByFacilities">
|
||
<linkableFacilities>
|
||
<li>ARA_NutrientNetworkTower</li>
|
||
</linkableFacilities>
|
||
</li>
|
||
<!-- This component acts as a perpetual power source with no consumption, ensuring powerComp.PowerOn is always true -->
|
||
<li Class="CompProperties_Power">
|
||
<compClass>CompPowerPlant</compClass>
|
||
<basePowerConsumption>-1</basePowerConsumption> <!-- Negative value makes it a generator -->
|
||
<transmitsPower>false</transmitsPower> <!-- This is CRITICAL. It prevents the building from powering the whole grid. -->
|
||
</li>
|
||
</comps>
|
||
<modExtensions>
|
||
<li Class="ArachnaeSwarm.ARAFoodDispenserProperties">
|
||
<thingToDispense>ARA_NutrientPasteMeal</thingToDispense>
|
||
<nutritionCostPerDispense>1.25</nutritionCostPerDispense>
|
||
<soundDispense>DispensePaste</soundDispense>
|
||
</li>
|
||
</modExtensions>
|
||
<building>
|
||
<isMealSource>true</isMealSource>
|
||
<relatedTerrain>
|
||
<li>ARA_InsectCreep</li>
|
||
</relatedTerrain>
|
||
</building>
|
||
<interactionCellOffset>(0,0,3)</interactionCellOffset>
|
||
<hasInteractionCell>true</hasInteractionCell>
|
||
<designationCategory>ARA_Buildings</designationCategory>
|
||
<researchPrerequisites>
|
||
<li>ARA_Technology_3NPT</li>
|
||
</researchPrerequisites>
|
||
</ThingDef>
|
||
|
||
<ThingDef ParentName="BuildingBase">
|
||
<defName>ARA_MorphableResearchBench</defName>
|
||
<!-- <hasInteractionCell>true</hasInteractionCell>
|
||
<interactionCellOffset>(0,0,-1)</interactionCellOffset> -->
|
||
<label>阿拉克涅织域种织座</label>
|
||
<description>以阿拉克涅织域种为核心形成的活体结构,是推进虫群高级研究的必须建筑。该建筑无法建造,只能通过阿拉克涅织域种变形得到。</description>
|
||
<thingClass>ArachnaeSwarm.Building_Morphable</thingClass>
|
||
<tickerType>Normal</tickerType>
|
||
<drawerType>RealtimeOnly</drawerType> <!-- ADDED: Force realtime rendering -->
|
||
<size>(2,2)</size>
|
||
<graphicData>
|
||
<texPath>ArachnaeSwarm/Building/ARA_MorphableResearchBench</texPath>
|
||
<graphicClass>Graphic_Single</graphicClass>
|
||
<shaderType>CutoutComplex</shaderType>
|
||
<drawSize>(2.25,2.25)</drawSize>
|
||
<drawOffset>(0, 0, 0.25)</drawOffset>
|
||
</graphicData>
|
||
<altitudeLayer>Building</altitudeLayer>
|
||
<passability>Impassable</passability>
|
||
<castEdgeShadows>false</castEdgeShadows>
|
||
<rotatable>false</rotatable>
|
||
<fillPercent>0.8</fillPercent>
|
||
<staticSunShadowHeight>0</staticSunShadowHeight>
|
||
<terrainAffordanceNeeded>ARA_Creep</terrainAffordanceNeeded>
|
||
<statBases>
|
||
<MaxHitPoints>1000</MaxHitPoints>
|
||
<WorkToBuild>2800</WorkToBuild>
|
||
<Flammability>1.0</Flammability>
|
||
<ResearchSpeedFactor>1.0</ResearchSpeedFactor>
|
||
</statBases>
|
||
<uiOrder>2600</uiOrder>
|
||
<surfaceType>Item</surfaceType>
|
||
<building>
|
||
<workTableRoomRole>Laboratory</workTableRoomRole>
|
||
<workTableNotInRoomRoleFactor>0.8</workTableNotInRoomRoleFactor>
|
||
<deconstructible>false</deconstructible>
|
||
</building>
|
||
<!-- 不可建造,只能通过变形生成 -->
|
||
<comps Inherit="False">
|
||
<li Class="CompProperties_ReportWorkSpeed">
|
||
<workSpeedStat>ResearchSpeedFactor</workSpeedStat>
|
||
</li>
|
||
<li Class="CompProperties_ProjectileInterceptor">
|
||
<radius>5.9</radius>
|
||
<hitPoints>300</hitPoints>
|
||
<interceptAirProjectiles>true</interceptAirProjectiles>
|
||
<interceptGroundProjectiles>true</interceptGroundProjectiles>
|
||
<color>(0.5, 0.3, 0.9, 0.5)</color>
|
||
<reactivateEffect>BulletShieldGenerator_Reactivate</reactivateEffect>
|
||
<activeSound>BulletShield_Ambience</activeSound>
|
||
<rechargeHitPointsIntervalTicks>1</rechargeHitPointsIntervalTicks>
|
||
<startWithMaxHitPoints>true</startWithMaxHitPoints>
|
||
<alwaysShowHitpointsGizmo>true</alwaysShowHitpointsGizmo>
|
||
</li>
|
||
<li Class="ArachnaeSwarm.CompProperties_Morphable">
|
||
<!-- 休息速度增益,例如1.0代表200%的速度 -->
|
||
<restGainMultiplier>1.0</restGainMultiplier>
|
||
|
||
<!-- 操作按钮的自定义标签 -->
|
||
<gizmoLabel>离开织座</gizmoLabel>
|
||
|
||
<!-- 操作按钮的自定义描述 -->
|
||
<gizmoDesc>使织域种离开织座,恢复移动状态。</gizmoDesc>
|
||
|
||
<gizmoIconPath>ArachnaeSwarm/UI/Abilities/ARA_Ability_Morph</gizmoIconPath>
|
||
</li>
|
||
<li Class="ArachnaeSwarm.CompProperties_RefuelableNutrition">
|
||
<fuelFilter>
|
||
<thingDefs>
|
||
<li>ARA_InsectJelly</li>
|
||
</thingDefs>
|
||
</fuelFilter>
|
||
<fuelCapacity>5.0</fuelCapacity>
|
||
<targetFuelLevelConfigurable>false</targetFuelLevelConfigurable>
|
||
<fuelGizmoLabel>虫蜜</fuelGizmoLabel>
|
||
<outOfFuelMessage>没有营养</outOfFuelMessage>
|
||
</li>
|
||
<li Class="CompProperties_AffectedByFacilities">
|
||
<linkableFacilities>
|
||
<li>ARA_NutrientNetworkTower</li>
|
||
</linkableFacilities>
|
||
</li>
|
||
</comps>
|
||
</ThingDef>
|
||
|
||
<ThingDef ParentName="BuildingBase">
|
||
<defName>ARA_JellyVat</defName> <!-- defName is changed to reflect its purpose -->
|
||
<label>生物质酿造池</label>
|
||
<description>一个阿拉克涅虫族活体组织,可以充分利用活体钜菌的溶解能力,通过消化生物质,来分泌出营养丰富的阿拉克涅虫蜜。</description>
|
||
<thingClass>Building</thingClass>
|
||
<graphicData>
|
||
<texPath>ArachnaeSwarm/Building/ARA_JellyVat</texPath>
|
||
<graphicClass>Graphic_Single</graphicClass>
|
||
<shaderType>CutoutComplex</shaderType>
|
||
<drawSize>(2.2,2.2)</drawSize>
|
||
<drawRotated>false</drawRotated>
|
||
<shadowData>
|
||
<volume>(1.2, 0.5, 1.6)</volume>
|
||
<offset>(0,0,-0.1)</offset>
|
||
</shadowData>
|
||
</graphicData>
|
||
<researchPrerequisites>
|
||
<li>ARA_Technology_6GUT</li>
|
||
</researchPrerequisites>
|
||
<size>(2,2)</size>
|
||
<tickerType>Normal</tickerType>
|
||
<stuffCategories Inherit="False" />
|
||
<costStuffCount>0</costStuffCount>
|
||
<costList>
|
||
<ARA_Gene_Essence>70</ARA_Gene_Essence>
|
||
<ARA_Activated_Bacterium>5</ARA_Activated_Bacterium>
|
||
</costList>
|
||
<castEdgeShadows>false</castEdgeShadows>
|
||
<staticSunShadowHeight>0</staticSunShadowHeight>
|
||
<altitudeLayer>Building</altitudeLayer>
|
||
<passability>PassThroughOnly</passability>
|
||
<terrainAffordanceNeeded>ARA_Creep</terrainAffordanceNeeded>
|
||
<pathCost>50</pathCost>
|
||
<statBases>
|
||
<MaxHitPoints>250</MaxHitPoints>
|
||
<WorkToBuild>2800</WorkToBuild>
|
||
<Flammability>1.0</Flammability>
|
||
</statBases>
|
||
<placeWorkers>
|
||
<li>PlaceWorker_PreventInteractionSpotOverlap</li>
|
||
</placeWorkers>
|
||
<fillPercent>0.8</fillPercent>
|
||
<interactionCellOffset>(0,0,-1)</interactionCellOffset>
|
||
<hasInteractionCell>true</hasInteractionCell>
|
||
<designationCategory>ARA_Buildings</designationCategory>
|
||
<uiOrder>2600</uiOrder>
|
||
<surfaceType>Item</surfaceType>
|
||
<building>
|
||
<workTableRoomRole>ARA_JellyVat_Room</workTableRoomRole>
|
||
<workTableNotInRoomRoleFactor>0.8</workTableNotInRoomRoleFactor>
|
||
<relatedTerrain>
|
||
<li>ARA_InsectCreep</li>
|
||
</relatedTerrain>
|
||
</building>
|
||
<terrainAffordanceNeeded>ARA_Creep</terrainAffordanceNeeded>
|
||
<comps>
|
||
<li Class="CompProperties_Flickable"/>
|
||
|
||
<li Class="ArachnaeSwarm.CompProperties_SwarmMaintenance">
|
||
<maxMaintenance>100</maxMaintenance>
|
||
<maintenanceDecayPerDay>10</maintenanceDecayPerDay>
|
||
<damagePerSecondWhenEmpty>2</damagePerSecondWhenEmpty>
|
||
<warningThreshold>0.2</warningThreshold>
|
||
<maintenanceThresholdForJob>0.5</maintenanceThresholdForJob>
|
||
</li>
|
||
<!--<li Class="ArachnaeSwarm.CompProperties_MultiFuelSpawner">
|
||
<spawnIntervalRange>
|
||
<min>120000</min>
|
||
<max>120000</max>
|
||
</spawnIntervalRange>
|
||
<products>
|
||
<li>
|
||
<thingDef>ARA_InsectJelly</thingDef>
|
||
<count>60</count>
|
||
</li>
|
||
</products>
|
||
<showMessageIfOwned>true</showMessageIfOwned>
|
||
</li>-->
|
||
|
||
<li Class="ArachnaeSwarm.CompProperties_RefuelableNutrition_WithKey">
|
||
<saveKeysPrefix>Biomass</saveKeysPrefix>
|
||
<fuelLabel>生物质</fuelLabel>
|
||
<fuelGizmoLabel>生物质</fuelGizmoLabel>
|
||
<fuelFilter>
|
||
<categories>
|
||
<li>MeatRaw</li>
|
||
<li>PlantFoodRaw</li>
|
||
</categories>
|
||
<disallowedThingDefs>
|
||
<li>Milk</li>
|
||
<li>InsectJelly</li>
|
||
</disallowedThingDefs>
|
||
</fuelFilter>
|
||
<fuelCapacity>10</fuelCapacity>
|
||
<fuelConsumptionRate>0</fuelConsumptionRate>
|
||
<consumeFuelOnlyWhenUsed>true</consumeFuelOnlyWhenUsed>
|
||
|
||
<targetFuelLevelConfigurable>true</targetFuelLevelConfigurable>
|
||
<showAllowAutoRefuelToggle>false</showAllowAutoRefuelToggle>
|
||
</li>
|
||
<li Class="ArachnaeSwarm.CompProperties_NutritionToFuelConverter">
|
||
<checkInterval>200</checkInterval>
|
||
<nutritionCost>0.25</nutritionCost>
|
||
<workAmount>2000</workAmount>
|
||
<fuelAmount>1</fuelAmount>
|
||
</li>
|
||
|
||
<li Class="ArachnaeSwarm.CompProperties_ProductStorage">
|
||
<fuelLabel>虫蜜</fuelLabel>
|
||
<fuelGizmoLabel>虫蜜</fuelGizmoLabel>
|
||
|
||
<fuelCapacity>25</fuelCapacity>
|
||
<fuelConsumptionRate>0</fuelConsumptionRate>
|
||
<consumeFuelOnlyWhenUsed>true</consumeFuelOnlyWhenUsed>
|
||
|
||
<fuelFilter>
|
||
<thingDefs>
|
||
<li>ARA_InsectJelly</li>
|
||
</thingDefs>
|
||
</fuelFilter>
|
||
|
||
<allowRefuelIfNotEmpty>false</allowRefuelIfNotEmpty>
|
||
<drawFuelGaugeInMap>false</drawFuelGaugeInMap>
|
||
<drawOutOfFuelOverlay>false</drawOutOfFuelOverlay>
|
||
<targetFuelLevelConfigurable>false</targetFuelLevelConfigurable>
|
||
<showAllowAutoRefuelToggle>false</showAllowAutoRefuelToggle>
|
||
<canEjectFuel>true</canEjectFuel>
|
||
</li>
|
||
|
||
<!-- 燃料满了自动弹出 -->
|
||
<li Class="ArachnaeSwarm.CompProperties_AutoEjector">
|
||
<checkInterval>60</checkInterval>
|
||
<ejectAtPercent>0.99</ejectAtPercent>
|
||
<allowEjectedFuel>true</allowEjectedFuel>
|
||
<monitorProductStorage>true</monitorProductStorage>
|
||
<monitorRefuelable>false</monitorRefuelable>
|
||
</li>
|
||
</comps>
|
||
</ThingDef>
|
||
<TerrainDef ParentName="FloorBase">
|
||
<defName>ARA_InsectJelly_Terrain</defName>
|
||
<label>阿拉克涅虫蜜</label>
|
||
<renderPrecedence>250</renderPrecedence>
|
||
<texturePath>ArachnaeSwarm/Terrain/Surfaces/ARA_InsectJelly_Terrain</texturePath>
|
||
<burnedDef>ARA_InsectCreep</burnedDef>
|
||
<designationCategory IsNull="True" Inherit="False"/>
|
||
<color>(231, 224, 188)</color>
|
||
<pollutionOverlayTexturePath>Terrain/Surfaces/AncientMegastructure</pollutionOverlayTexturePath>
|
||
<pollutionShaderType MayRequire="Ludeon.RimWorld.Biotech">TerrainFadeRoughSoftLight</pollutionShaderType>
|
||
<statBases>
|
||
<WorkToBuild>85</WorkToBuild>
|
||
<Flammability>0.22</Flammability>
|
||
</statBases>
|
||
<costList>
|
||
<ARA_InsectJelly>2</ARA_InsectJelly>
|
||
</costList>
|
||
<avoidWander>true</avoidWander>
|
||
<waterBodyType>Freshwater</waterBodyType>
|
||
<waterDepthShader>Map/WaterDepth</waterDepthShader>
|
||
<pathCost>5</pathCost>
|
||
<edgeType>Water</edgeType>
|
||
<categoryType>Misc</categoryType>
|
||
<renderPrecedence>390</renderPrecedence>
|
||
<takeFootprints>false</takeFootprints>
|
||
<fertility>1</fertility>
|
||
<holdSnowOrSand>false</holdSnowOrSand>
|
||
<extraDeteriorationFactor>600</extraDeteriorationFactor> <!-- 25 an hour -->
|
||
<!-- <glowRadius>3</glowRadius>
|
||
<glowColor>(214,94,4,0)</glowColor> -->
|
||
<supportsRock>false</supportsRock>
|
||
<filthAcceptanceMask Inherit="False">
|
||
<li>None</li>
|
||
</filthAcceptanceMask>
|
||
</TerrainDef>
|
||
<ThingDef ParentName="BuildingBase">
|
||
<defName>ARA_Carapace_Productor</defName>
|
||
<label>骨花</label>
|
||
<description>一个阿拉克涅虫族活体组织,可以充分利用活体钜菌的催化能力,将附近的尸体转换为骨柱,并命令其他虫群成员将其拆除,以得到甲壳素。</description>
|
||
<thingClass>Building</thingClass>
|
||
<graphicData>
|
||
<texPath>ArachnaeSwarm/Building/ARA_Carapace_Productor</texPath>
|
||
<graphicClass>Graphic_Single</graphicClass>
|
||
<shaderType>CutoutComplex</shaderType>
|
||
<drawSize>(2.2,2.2)</drawSize>
|
||
<drawRotated>false</drawRotated>
|
||
<shadowData>
|
||
<volume>(1.2, 0.5, 1.6)</volume>
|
||
<offset>(0,0,-0.1)</offset>
|
||
</shadowData>
|
||
</graphicData>
|
||
<researchPrerequisites>
|
||
<li>ARA_Technology_6GUT</li>
|
||
</researchPrerequisites>
|
||
<size>(2,2)</size>
|
||
<tickerType>Normal</tickerType>
|
||
<stuffCategories Inherit="False" />
|
||
<costStuffCount>0</costStuffCount>
|
||
<costList>
|
||
<ARA_Gene_Essence>70</ARA_Gene_Essence>
|
||
<ARA_Activated_Bacterium>5</ARA_Activated_Bacterium>
|
||
</costList>
|
||
<castEdgeShadows>false</castEdgeShadows>
|
||
<staticSunShadowHeight>0</staticSunShadowHeight>
|
||
<altitudeLayer>Building</altitudeLayer>
|
||
<passability>PassThroughOnly</passability>
|
||
<terrainAffordanceNeeded>ARA_Creep</terrainAffordanceNeeded>
|
||
<pathCost>50</pathCost>
|
||
<canOverlapZones>false</canOverlapZones>
|
||
<statBases>
|
||
<MaxHitPoints>250</MaxHitPoints>
|
||
<WorkToBuild>2800</WorkToBuild>
|
||
<Flammability>1.0</Flammability>
|
||
</statBases>
|
||
<placeWorkers>
|
||
<li>PlaceWorker_PreventInteractionSpotOverlap</li>
|
||
</placeWorkers>
|
||
<fillPercent>0.8</fillPercent>
|
||
<interactionCellOffset>(0,0,-1)</interactionCellOffset>
|
||
<hasInteractionCell>true</hasInteractionCell>
|
||
<designationCategory>ARA_Buildings</designationCategory>
|
||
<uiOrder>2600</uiOrder>
|
||
<surfaceType>Item</surfaceType>
|
||
<building>
|
||
<relatedTerrain>
|
||
<li>ARA_InsectCreep</li>
|
||
</relatedTerrain>
|
||
</building>
|
||
<terrainAffordanceNeeded>ARA_Creep</terrainAffordanceNeeded>
|
||
<comps>
|
||
<li Class="CompProperties_Flickable"/>
|
||
|
||
<!-- 尸体转换组件 -->
|
||
<li Class="ArachnaeSwarm.CompProperties_CorpseConverter">
|
||
<targetThingDef>ARA_Carapace_Column</targetThingDef>
|
||
<targetThingCount>1</targetThingCount>
|
||
<conversionInterval>1200</conversionInterval> <!-- 2天 -->
|
||
<conversionRadius>10</conversionRadius>
|
||
<requiresPower>false</requiresPower>
|
||
<requiresFuel>false</requiresFuel>
|
||
<!-- <fuelConsumptionPerConversion>8</fuelConsumptionPerConversion>
|
||
<minFuelToOperate>0.5</minFuelToOperate> -->
|
||
|
||
<!-- 只接受特定尸体(可选,如果注释掉则接受所有尸体) -->
|
||
<!--
|
||
<acceptedCorpseDefs>
|
||
<li>Corpse_Human</li>
|
||
<li>Corpse_Megascarab</li>
|
||
<li>Corpse_Spelopede</li>
|
||
<li>Corpse_Megaspider</li>
|
||
</acceptedCorpseDefs>
|
||
-->
|
||
|
||
<!-- 视觉效果 -->
|
||
<showVisualEffects>true</showVisualEffects>
|
||
<!-- <workingEffecter>Mote_CorpseConverter_Working</workingEffecter>
|
||
<conversionEffecter>Mote_CorpseConverter_Conversion</conversionEffecter> -->
|
||
<workingSound>PowerOnSmall</workingSound>
|
||
<conversionSound>DropPod_Leaving</conversionSound>
|
||
<completionSound>ResearchComplete</completionSound>
|
||
|
||
<!-- 显示设置 -->
|
||
<showProgress>true</showProgress>
|
||
<showRadius>true</showRadius>
|
||
|
||
<!-- 自动标记拆除配置 -->
|
||
<enableAutoMarkForDeconstruction>true</enableAutoMarkForDeconstruction>
|
||
<markDeconstructionInterval>1200</markDeconstructionInterval> <!-- 3天 -->
|
||
<markDeconstructionRadius>10</markDeconstructionRadius>
|
||
<fuelConsumptionPerMark>0</fuelConsumptionPerMark>
|
||
<!-- <markEffecter>Mote_CorpseConverter_Mark</markEffecter> -->
|
||
<!-- <markSound>Hiss</markSound>
|
||
<markCompleteSound>ResearchComplete</markCompleteSound> -->
|
||
|
||
<!-- 排除机械族尸体 -->
|
||
<excludeMechanoidCorpses>true</excludeMechanoidCorpses>
|
||
</li>
|
||
|
||
<li Class="ArachnaeSwarm.CompProperties_SwarmMaintenance">
|
||
<maxMaintenance>100</maxMaintenance>
|
||
<maintenanceDecayPerDay>10</maintenanceDecayPerDay>
|
||
<damagePerSecondWhenEmpty>2</damagePerSecondWhenEmpty>
|
||
<warningThreshold>0.2</warningThreshold>
|
||
<maintenanceThresholdForJob>0.5</maintenanceThresholdForJob>
|
||
</li>
|
||
</comps>
|
||
</ThingDef>
|
||
<ThingDef ParentName="BuildingBase">
|
||
<defName>ARA_Carapace_Column</defName>
|
||
<label>骨柱</label>
|
||
<description>阿拉克涅的骨花通过催化尸体而转变得到的柱子,虫群可以将其拆除以得到甲壳素。</description>
|
||
<uiOrder>2040</uiOrder>
|
||
<altitudeLayer>Building</altitudeLayer>
|
||
<passability>Standable</passability>
|
||
<fillPercent>0.25</fillPercent>
|
||
<pathCost>0</pathCost>
|
||
<uiIconScale>0.8</uiIconScale>
|
||
<canOverlapZones>false</canOverlapZones>
|
||
<graphicData>
|
||
<drawSize>(1.25,1.25)</drawSize>
|
||
<drawOffset>(0,0,0.2)</drawOffset>
|
||
<texPath>ArachnaeSwarm/Building/ARA_HiveShip_Heart_Pedestal</texPath>
|
||
<graphicClass>Graphic_Single</graphicClass>
|
||
<shaderType>CutoutComplex</shaderType>
|
||
<shadowData>
|
||
<volume>(0.3, 0.5, 0.3)</volume>
|
||
<offset>(0,0,-0.23)</offset>
|
||
</shadowData>
|
||
<damageData>
|
||
<rect>(0.2,0.2,0.6,0.6)</rect>
|
||
</damageData>
|
||
</graphicData>
|
||
<statBases>
|
||
<MaxHitPoints>20</MaxHitPoints>
|
||
<WorkToBuild>750</WorkToBuild>
|
||
<Mass>10</Mass>
|
||
<Flammability>0</Flammability>
|
||
<Beauty>0</Beauty>
|
||
</statBases>
|
||
<costStuffCount>0</costStuffCount>
|
||
<stuffCategories Inherit="False"/>
|
||
<costList>
|
||
<ARA_Carapace>20</ARA_Carapace>
|
||
</costList>
|
||
<holdsRoof>true</holdsRoof>
|
||
<canOverlapZones>true</canOverlapZones>
|
||
<rotatable>false</rotatable>
|
||
<fertility>0</fertility>
|
||
<building>
|
||
<isInert>true</isInert>
|
||
<ai_chillDestination>false</ai_chillDestination>
|
||
<paintable>true</paintable>
|
||
</building>
|
||
</ThingDef>
|
||
</Defs> |