Merge branch 'master' of https://git.ra3battle.cn/Kalospacer/ArachnaeSwarm
This commit is contained in:
Binary file not shown.
11
1.6/1.6/Defs/JobDefs/ARA_Jobs_Nutrition.xml
Normal file
11
1.6/1.6/Defs/JobDefs/ARA_Jobs_Nutrition.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Defs>
|
||||
|
||||
<JobDef>
|
||||
<defName>ARA_Refuel_Nutrition</defName>
|
||||
<driverClass>ArachnaeSwarm.JobDriver_Refuel_Nutrition</driverClass>
|
||||
<reportString>正在为 TargetA 补充营养。</reportString>
|
||||
<allowOpportunisticPrefix>true</allowOpportunisticPrefix>
|
||||
</JobDef>
|
||||
|
||||
</Defs>
|
||||
@@ -1628,6 +1628,53 @@
|
||||
</alienPartGenerator>
|
||||
</generalSettings>
|
||||
<raceRestriction>
|
||||
<!-- 无法拥有的内源性基因 -->
|
||||
<blackEndoCategories MayRequire="Ludeon.RimWorld.Biotech">
|
||||
<li MayRequire="Ludeon.RimWorld.Biotech">HairColor</li>
|
||||
<li MayRequire="Ludeon.RimWorld.Biotech">Melanin</li>
|
||||
<li MayRequire="Ludeon.RimWorld.Biotech">BodyType</li>
|
||||
<li MayRequire="Ludeon.RimWorld.Biotech">Ears</li>
|
||||
<li MayRequire="Ludeon.RimWorld.Biotech">Nose</li>
|
||||
<li MayRequire="Ludeon.RimWorld.Biotech">Voice</li>
|
||||
<li MayRequire="Ludeon.RimWorld.Biotech">Headbone</li>
|
||||
<li MayRequire="Ludeon.RimWorld.Biotech">Head</li>
|
||||
<li MayRequire="Ludeon.RimWorld.Biotech">Jaw</li>
|
||||
</blackEndoCategories>
|
||||
<!-- 无法拥有的Tag基因 -->
|
||||
<blackGeneTags MayRequire="Ludeon.RimWorld.Biotech">
|
||||
<li MayRequire="Ludeon.RimWorld.Biotech">EyeColor</li>
|
||||
<li MayRequire="Ludeon.RimWorld.Biotech">Tail</li>
|
||||
<li MayRequire="Ludeon.RimWorld.Biotech">BeardStyle</li>
|
||||
<li MayRequire="Ludeon.RimWorld.Biotech">Fur</li>
|
||||
</blackGeneTags>
|
||||
<!-- 无法拥有的基因列表 -->
|
||||
<blackGeneList>
|
||||
<li MayRequire="Ludeon.RimWorld.Biotech">Furskin</li>
|
||||
<li MayRequire="Ludeon.RimWorld.Biotech">Brow_Heavy</li>
|
||||
</blackGeneList>
|
||||
<!-- 禁止的异形变种 -->
|
||||
<blackXenotypeList>
|
||||
<li MayRequire="Ludeon.RimWorld.Biotech">Dirtmole</li>
|
||||
<li MayRequire="Ludeon.RimWorld.Biotech">Genie</li>
|
||||
<li MayRequire="Ludeon.RimWorld.Biotech">Hussar</li>
|
||||
<li MayRequire="Ludeon.RimWorld.Biotech">Sanguophage</li>
|
||||
<li MayRequire="Ludeon.RimWorld.Biotech">Neanderthal</li>
|
||||
<li MayRequire="Ludeon.RimWorld.Biotech">Pigskin</li>
|
||||
<li MayRequire="Ludeon.RimWorld.Biotech">Impid</li>
|
||||
<li MayRequire="Ludeon.RimWorld.Biotech">Waster</li>
|
||||
<li MayRequire="Ludeon.RimWorld.Biotech">Yttakin</li>
|
||||
<li MayRequire="Ludeon.RimWorld.Biotech">Highmate</li>
|
||||
</blackXenotypeList>
|
||||
<!-- 异种类型列表 -->
|
||||
<xenotypeList>
|
||||
</xenotypeList>
|
||||
<onlyUseRaceRestrictedXenotypes>true</onlyUseRaceRestrictedXenotypes>
|
||||
<!-- 食物列表 -->
|
||||
<whiteFoodList>
|
||||
<li>ARA_InsectJelly</li>
|
||||
<li>ARA_NutrientPasteMeal</li>
|
||||
<li>ARA_PheromoneSolvent</li>
|
||||
</whiteFoodList>
|
||||
<onlyEatRaceRestrictedFood>true</onlyEatRaceRestrictedFood>
|
||||
</raceRestriction>
|
||||
</alienRace>
|
||||
|
||||
@@ -499,80 +499,7 @@
|
||||
</li>
|
||||
</comps>
|
||||
</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>
|
||||
<size>(2,2)</size>
|
||||
<graphicData>
|
||||
<texPath>ArachnaeSwarm/Building/ARA_MorphableResearchBench</texPath>
|
||||
<graphicClass>Graphic_Single</graphicClass>
|
||||
<shaderType>CutoutComplex</shaderType>
|
||||
<drawSize>(2.5,2.5)</drawSize>
|
||||
</graphicData>
|
||||
<altitudeLayer>Building</altitudeLayer>
|
||||
<passability>Impassable</passability>
|
||||
<castEdgeShadows>false</castEdgeShadows>
|
||||
<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="ArachnaeSwarm.CompProperties_DelayedTerrainSpawn">
|
||||
<terrainToSpawn>ARA_InsectCreep</terrainToSpawn>
|
||||
<spawnRadius>3</spawnRadius>
|
||||
</li>
|
||||
<li Class="CompProperties_ReportWorkSpeed">
|
||||
<workSpeedStat>ResearchSpeedFactor</workSpeedStat>
|
||||
</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>2.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_SmartThermostat</defName>
|
||||
<label>阿拉克涅纤管虫</label>
|
||||
@@ -643,93 +570,4 @@
|
||||
</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>
|
||||
<shadowData>
|
||||
<volume>(1.6, 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_Carapace>150</ARA_Carapace>
|
||||
<ARA_Activated_Bacterium>25</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>Laboratory</workTableRoomRole>
|
||||
<workTableNotInRoomRoleFactor>0.8</workTableNotInRoomRoleFactor>
|
||||
</building>
|
||||
<terrainAffordanceNeeded>ARA_Creep</terrainAffordanceNeeded>
|
||||
<comps>
|
||||
<li Class="CompProperties_Flickable"/>
|
||||
<li Class="ArachnaeSwarm.CompProperties_MultiFuelSpawner">
|
||||
<spawnIntervalRange>
|
||||
<min>120000</min> <!-- 2天 -->
|
||||
<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>
|
||||
<fuelFilter>
|
||||
<categories>
|
||||
<li>MeatRaw</li>
|
||||
<li>PlantFoodRaw</li>
|
||||
</categories>
|
||||
<disallowedThingDefs>
|
||||
<li>Milk</li>
|
||||
<li>InsectJelly</li>
|
||||
</disallowedThingDefs>
|
||||
</fuelFilter>
|
||||
<fuelCapacity>50</fuelCapacity>
|
||||
<fuelConsumptionRate>30</fuelConsumptionRate>
|
||||
<consumeFuelOnlyWhenUsed>true</consumeFuelOnlyWhenUsed>
|
||||
</li>
|
||||
<li Class="ArachnaeSwarm.CompProperties_DelayedTerrainSpawn">
|
||||
<terrainToSpawn>ARA_InsectCreep</terrainToSpawn>
|
||||
<spawnRadius>6</spawnRadius>
|
||||
</li>
|
||||
</comps>
|
||||
</ThingDef>
|
||||
</Defs>
|
||||
@@ -54,22 +54,6 @@
|
||||
<maxDistance>80</maxDistance> <!-- 供能范围 -->
|
||||
<maxSimultaneous>10</maxSimultaneous>
|
||||
<maxEfficiency>0.9</maxEfficiency>
|
||||
</li>
|
||||
|
||||
<!-- 全新的、只负责画线的组件 -->
|
||||
<li Class="ArachnaeSwarm.CompProperties_LineDrawer">
|
||||
<linkableBuildings>
|
||||
<li>ARA_BioforgeIncubator</li>
|
||||
<li>ARA_BioforgeIncubator_Thing</li>
|
||||
<li>ARA_GrowthVat</li>
|
||||
<li>ARA_MorphableResearchBench</li>
|
||||
<li>ARANutrientDispenser</li>
|
||||
<li>ARA_WormholePortal_A</li>
|
||||
<li>ARA_Acidling_AutoMortar</li>
|
||||
<li>CatastropheMissileSilo</li>
|
||||
<li>ARA_AutoSniperCannon</li>
|
||||
</linkableBuildings>
|
||||
<maxDistance>80</maxDistance>
|
||||
<lineTexturePath>ArachnaeSwarm/Building/Nutrition_Pie</lineTexturePath>
|
||||
</li>
|
||||
|
||||
@@ -192,7 +176,7 @@
|
||||
<li>ARA_NutrientNetworkTower</li>
|
||||
</linkableFacilities>
|
||||
</li>
|
||||
|
||||
|
||||
<li Class="ArachnaeSwarm.CompProperties_DelayedTerrainSpawn">
|
||||
<terrainToSpawn>ARA_InsectCreep</terrainToSpawn>
|
||||
<spawnRadius>6</spawnRadius>
|
||||
@@ -511,4 +495,221 @@
|
||||
</li>
|
||||
</comps>
|
||||
</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>(3,3)</drawSize>
|
||||
<drawOffset>(0, 0, 0.25)</drawOffset>
|
||||
</graphicData>
|
||||
<altitudeLayer>Building</altitudeLayer>
|
||||
<passability>Impassable</passability>
|
||||
<castEdgeShadows>false</castEdgeShadows>
|
||||
<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="ArachnaeSwarm.CompProperties_DelayedTerrainSpawn">
|
||||
<terrainToSpawn>ARA_InsectCreep</terrainToSpawn>
|
||||
<spawnRadius>3</spawnRadius>
|
||||
</li>
|
||||
<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>
|
||||
<drawWithNoSelection>true</drawWithNoSelection>
|
||||
</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>2.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>
|
||||
<shadowData>
|
||||
<volume>(1.6, 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_Carapace>150</ARA_Carapace>
|
||||
<ARA_Activated_Bacterium>25</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>Laboratory</workTableRoomRole>
|
||||
<workTableNotInRoomRoleFactor>0.8</workTableNotInRoomRoleFactor>
|
||||
</building>
|
||||
<terrainAffordanceNeeded>ARA_Creep</terrainAffordanceNeeded>
|
||||
<comps>
|
||||
<li Class="CompProperties_Flickable"/>
|
||||
<!--<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>50</fuelCapacity>
|
||||
<fuelConsumptionRate>0</fuelConsumptionRate>
|
||||
<consumeFuelOnlyWhenUsed>true</consumeFuelOnlyWhenUsed>
|
||||
|
||||
<targetFuelLevelConfigurable>true</targetFuelLevelConfigurable>
|
||||
<showAllowAutoRefuelToggle>true</showAllowAutoRefuelToggle>
|
||||
</li>
|
||||
<li Class="CompProperties_Refuelable">
|
||||
<fuelLabel>虫蜜</fuelLabel>
|
||||
<fuelGizmoLabel>虫蜜</fuelGizmoLabel>
|
||||
|
||||
<fuelCapacity>100.0</fuelCapacity>
|
||||
<fuelConsumptionRate>0</fuelConsumptionRate>
|
||||
<consumeFuelOnlyWhenUsed>true</consumeFuelOnlyWhenUsed>
|
||||
|
||||
<fuelFilter>
|
||||
<thingDefs>
|
||||
<li>ARA_InsectJelly</li>
|
||||
</thingDefs>
|
||||
</fuelFilter>
|
||||
|
||||
<targetFuelLevelConfigurable>true</targetFuelLevelConfigurable>
|
||||
<showAllowAutoRefuelToggle>true</showAllowAutoRefuelToggle>
|
||||
<canEjectFuel>true</canEjectFuel>
|
||||
</li>
|
||||
<li Class="ArachnaeSwarm.CompProperties_NutritionToFuelConverter">
|
||||
<checkInterval>200</checkInterval>
|
||||
<nutritionCost>1</nutritionCost>
|
||||
<workAmount>2000</workAmount>
|
||||
<fuelAmount>1</fuelAmount>
|
||||
</li>
|
||||
|
||||
<!-- 燃料满了自动弹出 -->
|
||||
<li Class="ArachnaeSwarm.CompProperties_AutoEjector">
|
||||
<!-- 精确指定要监控的燃料组件 -->
|
||||
<targetComp>CompRefuelable</targetComp>
|
||||
<!-- 在燃料达到99%时弹出 -->
|
||||
<ejectAtPercent>0.99</ejectAtPercent>
|
||||
</li>
|
||||
|
||||
<li Class="ArachnaeSwarm.CompProperties_DelayedTerrainSpawn">
|
||||
<terrainToSpawn>ARA_InsectCreep</terrainToSpawn>
|
||||
<spawnRadius>6</spawnRadius>
|
||||
</li>
|
||||
</comps>
|
||||
</ThingDef>
|
||||
</Defs>
|
||||
@@ -299,8 +299,9 @@
|
||||
<terrainAffordanceNeeded>Heavy</terrainAffordanceNeeded>
|
||||
<comps>
|
||||
<li Class="CompProperties_Forbiddable" />
|
||||
<li Class="ArachnaeSwarm.CompProperties_RefuelableNutrition">
|
||||
<fuelCapacity>100</fuelCapacity>
|
||||
<li Class="ArachnaeSwarm.CompProperties_RefuelableNutrition_WithKey">
|
||||
<saveKeysPrefix>nutrition</saveKeysPrefix>
|
||||
<fuelCapacity>5.0</fuelCapacity>
|
||||
<fuelFilter>
|
||||
<thingDefs>
|
||||
<li>ARA_InsectJelly</li>
|
||||
@@ -451,8 +452,9 @@
|
||||
<terrainAffordanceNeeded>Heavy</terrainAffordanceNeeded>
|
||||
<comps>
|
||||
<li Class="CompProperties_Forbiddable" />
|
||||
<li Class="ArachnaeSwarm.CompProperties_RefuelableNutrition">
|
||||
<fuelCapacity>20</fuelCapacity>
|
||||
<li Class="ArachnaeSwarm.CompProperties_RefuelableNutrition_WithKey">
|
||||
<saveKeysPrefix>nutrition</saveKeysPrefix>
|
||||
<fuelCapacity>5.0</fuelCapacity>
|
||||
<fuelFilter>
|
||||
<thingDefs>
|
||||
<li>ARA_InsectJelly</li>
|
||||
@@ -623,8 +625,9 @@
|
||||
</statBases>
|
||||
<tickerType>Normal</tickerType>
|
||||
<comps>
|
||||
<li Class="ArachnaeSwarm.CompProperties_RefuelableNutrition">
|
||||
<fuelCapacity>10</fuelCapacity>
|
||||
<li Class="ArachnaeSwarm.CompProperties_RefuelableNutrition_WithKey">
|
||||
<saveKeysPrefix>nutrition</saveKeysPrefix>
|
||||
<fuelCapacity>5.0</fuelCapacity>
|
||||
<fuelFilter>
|
||||
<thingDefs>
|
||||
<li>ARA_InsectJelly</li>
|
||||
|
||||
14
1.6/1.6/Defs/WorkGiverDefs/ARA_WorkGivers.xml
Normal file
14
1.6/1.6/Defs/WorkGiverDefs/ARA_WorkGivers.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Defs>
|
||||
<WorkGiverDef>
|
||||
<defName>ARA_Refuel_Nutrition</defName>
|
||||
<label>补充营养</label>
|
||||
<giverClass>ArachnaeSwarm.WorkGiver_Refuel_Nutrition</giverClass>
|
||||
<workType>Hauling</workType>
|
||||
<priorityInType>60</priorityInType>
|
||||
<verb>补充</verb>
|
||||
<gerund>补充</gerund>
|
||||
<scanThings>true</scanThings>
|
||||
<scanCells>false</scanCells>
|
||||
</WorkGiverDef>
|
||||
</Defs>
|
||||
Reference in New Issue
Block a user