补医药茧
This commit is contained in:
@@ -654,7 +654,7 @@
|
||||
<AbilityDef ParentName="ARA_CocoonSpew_Base">
|
||||
<defName>ARA_Cocoon_Medicine</defName>
|
||||
<label>织物医药茧</label>
|
||||
<description>投放一枚医药茧,内含可以孵化一组医疗用品或化学品的营养和遗传物质——参阅茧的超链接,了解其能生产的所有装备的特点。</description>
|
||||
<description>投放一枚医药茧,内含可以孵化一组医疗用品或化学品的营养和遗传物质——参阅茧的超链接,了解其能生产的所有物品的特点。</description>
|
||||
<iconPath>ArachnaeSwarm/UI/Abilities/ARA_Cocoon_Medicine</iconPath>
|
||||
<comps>
|
||||
<li Class="CompProperties_AbilityLaunchProjectile">
|
||||
@@ -667,4 +667,49 @@
|
||||
</li>
|
||||
</comps>
|
||||
</AbilityDef>
|
||||
<AbilityDef ParentName="ARA_CocoonSpew_Base">
|
||||
<defName>ARA_Cocoon_Medicine_From_Corpse</defName>
|
||||
<label>尸织:织物医药茧</label>
|
||||
<description>指定一具尚未腐烂或轻微腐烂的尸体,将其转化为一枚医药茧,尸体剩余的营养值会转化为茧的营养值——参阅茧的超链接,了解其能生产的所有物品的特点。</description>
|
||||
<iconPath>ArachnaeSwarm/UI/Abilities/ARA_Cocoon_Weapon_2Stage</iconPath>
|
||||
<verbProperties>
|
||||
<verbClass>Verb_CastAbilityTouch</verbClass>
|
||||
<range>-1</range>
|
||||
<warmupTime>7</warmupTime>
|
||||
<soundCast>AcidSpray_Resolve</soundCast>
|
||||
<violent>false</violent>
|
||||
<targetable>true</targetable>
|
||||
<targetParams Inherit="False">
|
||||
<canTargetSelf>false</canTargetSelf>
|
||||
<canTargetMechs>false</canTargetMechs>
|
||||
<canTargetBuildings>false</canTargetBuildings>
|
||||
<canTargetCorpses>true</canTargetCorpses>
|
||||
</targetParams>
|
||||
</verbProperties>
|
||||
<cooldownTicksRange>1000</cooldownTicksRange>
|
||||
<jobDef>CastAbilityOnThingMelee</jobDef>
|
||||
<charges>10</charges>
|
||||
<cooldownPerCharge>true</cooldownPerCharge>
|
||||
<comps>
|
||||
<li Class="ArachnaeSwarm.CompProperties_AbilityTransformCorpse">
|
||||
<buildingDef>ARA_Cocoon_Medicine_From_Corpse</buildingDef>
|
||||
<nutritionToFuelRatio>1</nutritionToFuelRatio>
|
||||
<requireFreshCorpse>false</requireFreshCorpse>
|
||||
<maxRotStage>Rotting</maxRotStage> <!-- 允许新鲜和略腐烂的尸体 -->
|
||||
<sound>AcidSpray_Resolve</sound>
|
||||
</li>
|
||||
<li Class="ArachnaeSwarm.CompProperties_AbilityShowTemperatureRange">
|
||||
<temperatureCheckBuilding>ARA_Cocoon_Weapon_2Stage</temperatureCheckBuilding>
|
||||
<customLabel>温度要求</customLabel>
|
||||
<showCurrentTemperature>true</showCurrentTemperature>
|
||||
</li>
|
||||
<li Class="ArachnaeSwarm.CompProperties_AbilityShowInteractiveThing">
|
||||
<cocoonBuildingDef>ARA_Cocoon_Weapon_2Stage</cocoonBuildingDef>
|
||||
<customLabel>可孵化物品列表</customLabel>
|
||||
<showResearchRequirements>true</showResearchRequirements>
|
||||
<showNutritionCost>true</showNutritionCost>
|
||||
<showIncubationTime>true</showIncubationTime>
|
||||
</li>
|
||||
</comps>
|
||||
</AbilityDef>
|
||||
</Defs>
|
||||
@@ -484,6 +484,7 @@
|
||||
<li Class="HediffCompProperties_GiveAbility">
|
||||
<abilityDefs>
|
||||
<li>ARA_Cocoon_Medicine</li>
|
||||
<li>ARA_Cocoon_Medicine_From_Corpse</li>
|
||||
<li>ARA_MimicNematode_Needle_Fire</li>
|
||||
</abilityDefs>
|
||||
</li>
|
||||
|
||||
@@ -1296,8 +1296,8 @@
|
||||
<spawnsThingDef>ARA_Cocoon_Medicine</spawnsThingDef>
|
||||
</projectile>
|
||||
</ThingDef>
|
||||
<ThingDef ParentName="ARA_Cocoon_Base">
|
||||
<defName>ARA_Cocoon_Medicine</defName>
|
||||
<ThingDef Name="ARA_Cocoon_Medicine" ParentName="ARA_Cocoon_Base" Abstract="True">
|
||||
<!-- <defName>ARA_Cocoon_Medicine</defName> -->
|
||||
<label>阿拉克涅孵化茧 医药</label>
|
||||
<description>一个脆弱、易燃、黏滑的囊状物,是阿拉克涅蜜罐种所诞之卵,内含孵化一组医疗用品或化学品的营养物质,可以通过阿拉克涅蜜罐种的交互完成激活进程——参阅茧的超链接,了解其能生产的所有装备的特点。\n\n孵化茧对温度极度敏感(该类型的茧适温为0~12°C),需要小心保护!</description>
|
||||
<descriptionHyperlinks>
|
||||
@@ -1312,21 +1312,6 @@
|
||||
</statBases>
|
||||
|
||||
<comps>
|
||||
<!-- The new, GrowthVat-style fuel component -->
|
||||
<li Class="ArachnaeSwarm.CompProperties_RefuelableNutrition">
|
||||
<fuelCapacity>10</fuelCapacity>
|
||||
<fuelLabel>虫蜜</fuelLabel>
|
||||
<fuelFilter>
|
||||
<thingDefs>
|
||||
<li>ARA_InsectJelly</li>
|
||||
</thingDefs>
|
||||
</fuelFilter>
|
||||
<fuelConsumptionRate>0</fuelConsumptionRate> <!-- IMPORTANT: Disable base class consumption -->
|
||||
<showAllowAutoRefuelToggle>true</showAllowAutoRefuelToggle>
|
||||
<initialFuelPercent>1</initialFuelPercent>
|
||||
<autoRefuelPercent>1</autoRefuelPercent>
|
||||
<initialConfigurableTargetFuelLevel>999</initialConfigurableTargetFuelLevel>
|
||||
</li>
|
||||
<!-- The refactored producer component -->
|
||||
<li Class="ArachnaeSwarm.CompProperties_InteractiveProducer">
|
||||
<!-- <processes>
|
||||
@@ -1390,4 +1375,46 @@
|
||||
</li>
|
||||
</comps>
|
||||
</ThingDef>
|
||||
<ThingDef ParentName="ARA_Cocoon_Medicine">
|
||||
<defName>ARA_Cocoon_Medicine</defName>
|
||||
|
||||
<comps>
|
||||
<!-- The new, GrowthVat-style fuel component -->
|
||||
<li Class="ArachnaeSwarm.CompProperties_RefuelableNutrition">
|
||||
<fuelCapacity>30</fuelCapacity>
|
||||
<fuelLabel>虫蜜</fuelLabel>
|
||||
<fuelFilter>
|
||||
<thingDefs>
|
||||
<li>ARA_InsectJelly</li>
|
||||
</thingDefs>
|
||||
</fuelFilter>
|
||||
<fuelConsumptionRate>0</fuelConsumptionRate> <!-- IMPORTANT: Disable base class consumption -->
|
||||
<showAllowAutoRefuelToggle>true</showAllowAutoRefuelToggle>
|
||||
<initialFuelPercent>0.2</initialFuelPercent>
|
||||
<autoRefuelPercent>1</autoRefuelPercent>
|
||||
<initialConfigurableTargetFuelLevel>999</initialConfigurableTargetFuelLevel>
|
||||
</li>
|
||||
</comps>
|
||||
</ThingDef>
|
||||
<ThingDef ParentName="ARA_Cocoon_Medicine">
|
||||
<defName>ARA_Cocoon_Medicine_From_Corpse</defName>
|
||||
|
||||
<comps>
|
||||
<!-- The new, GrowthVat-style fuel component -->
|
||||
<li Class="ArachnaeSwarm.CompProperties_RefuelableNutrition">
|
||||
<fuelCapacity>30</fuelCapacity>
|
||||
<fuelLabel>虫蜜</fuelLabel>
|
||||
<fuelFilter>
|
||||
<thingDefs>
|
||||
<li>ARA_InsectJelly</li>
|
||||
</thingDefs>
|
||||
</fuelFilter>
|
||||
<fuelConsumptionRate>0</fuelConsumptionRate> <!-- IMPORTANT: Disable base class consumption -->
|
||||
<showAllowAutoRefuelToggle>true</showAllowAutoRefuelToggle>
|
||||
<initialFuelPercent>1</initialFuelPercent>
|
||||
<autoRefuelPercent>1</autoRefuelPercent>
|
||||
<initialConfigurableTargetFuelLevel>999</initialConfigurableTargetFuelLevel>
|
||||
</li>
|
||||
</comps>
|
||||
</ThingDef>
|
||||
</Defs>
|
||||
Reference in New Issue
Block a user