更新一些小问题
This commit is contained in:
Binary file not shown.
@@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Defs>
|
<Defs>
|
||||||
<RecipeDef Name="ARA_SkillTraining_Abstract" Abstract="True">
|
<RecipeDef Name="ARA_SkillTraining_Abstract" Abstract="True">
|
||||||
<description>根据选择的技能进行等级训练,没有花销,也不会产出什么东西,仅仅是获得工作的经验值。</description>
|
<description>根据选择的技能进行等级训练,没有花销,也不会产出什么东西,仅仅是获得工作的经验值。\n\n技能训练属于“基本”类型工作,如果不希望虫群一直训练,可以将该类型工作优先级降低。</description>
|
||||||
<jobString>训练技能中。</jobString>
|
<jobString>训练技能中。</jobString>
|
||||||
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
|
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
|
||||||
<ingredients>
|
<ingredients>
|
||||||
@@ -17,26 +17,13 @@
|
|||||||
<li>ARA_SkillTraining_Building</li>
|
<li>ARA_SkillTraining_Building</li>
|
||||||
</recipeUsers>
|
</recipeUsers>
|
||||||
</RecipeDef>
|
</RecipeDef>
|
||||||
<WorkGiverDef>
|
|
||||||
<defName>ARA_SkillTraining_Building_Bills</defName>
|
|
||||||
<label>技能训练</label>
|
|
||||||
<giverClass>WorkGiver_DoBill</giverClass>
|
|
||||||
<workType>BasicWorker</workType>
|
|
||||||
<priorityInType>75</priorityInType>
|
|
||||||
<fixedBillGiverDefs>
|
|
||||||
<li>ARA_SkillTraining_Building</li>
|
|
||||||
</fixedBillGiverDefs>
|
|
||||||
<verb>训练于</verb>
|
|
||||||
<gerund>训练于</gerund>
|
|
||||||
<prioritizeSustains>true</prioritizeSustains>
|
|
||||||
<canBeDoneByMechs>false</canBeDoneByMechs>
|
|
||||||
</WorkGiverDef>
|
|
||||||
|
|
||||||
<!-- 射击技能训练 -->
|
<!-- 射击技能训练 -->
|
||||||
<RecipeDef ParentName="ARA_SkillTraining_Abstract">
|
<RecipeDef ParentName="ARA_SkillTraining_Abstract">
|
||||||
<defName>ARA_TrainShooting</defName>
|
<defName>ARA_TrainShooting</defName>
|
||||||
<label>技能训练(射击)</label>
|
<label>技能训练(射击)</label>
|
||||||
<workSkill>Shooting</workSkill>
|
<workSkill>Shooting</workSkill>
|
||||||
|
<requiredGiverWorkType>BasicWorker</requiredGiverWorkType>
|
||||||
<skillRequirements>
|
<skillRequirements>
|
||||||
<Shooting>0</Shooting>
|
<Shooting>0</Shooting>
|
||||||
</skillRequirements>
|
</skillRequirements>
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
<defName>ARA_Technology_1WMT</defName>
|
<defName>ARA_Technology_1WMT</defName>
|
||||||
<label>节点WMT-1"突破"</label>
|
<label>节点WMT-1"突破"</label>
|
||||||
<description>允许女皇种和工艺种进化到下一个阶段。</description>
|
<description>允许女皇种和工艺种进化到下一个阶段。</description>
|
||||||
<baseCost>1000</baseCost>
|
<baseCost>3000</baseCost>
|
||||||
<researchViewX>4.50</researchViewX>
|
<researchViewX>4.50</researchViewX>
|
||||||
<researchViewY>3.20</researchViewY>
|
<researchViewY>3.20</researchViewY>
|
||||||
<requiredResearchBuilding>ARA_ResearchBench</requiredResearchBuilding>
|
<requiredResearchBuilding>ARA_ResearchBench</requiredResearchBuilding>
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
<defName>ARA_Technology_2WMT</defName>
|
<defName>ARA_Technology_2WMT</defName>
|
||||||
<label>节点WMT-2"突破2"</label>
|
<label>节点WMT-2"突破2"</label>
|
||||||
<description>允许女皇种和工艺种进化到下一个阶段。</description>
|
<description>允许女皇种和工艺种进化到下一个阶段。</description>
|
||||||
<baseCost>2500</baseCost>
|
<baseCost>7000</baseCost>
|
||||||
<researchViewX>9.00</researchViewX>
|
<researchViewX>9.00</researchViewX>
|
||||||
<researchViewY>3.20</researchViewY>
|
<researchViewY>3.20</researchViewY>
|
||||||
<requiredResearchBuilding>ARA_ResearchBench</requiredResearchBuilding> <!-- ARA_MorphableResearchBench-->
|
<requiredResearchBuilding>ARA_ResearchBench</requiredResearchBuilding> <!-- ARA_MorphableResearchBench-->
|
||||||
@@ -122,6 +122,7 @@
|
|||||||
</prerequisites>
|
</prerequisites>
|
||||||
</ResearchProjectDef>
|
</ResearchProjectDef>
|
||||||
|
|
||||||
|
<!-- 等素材画好再启用 -->
|
||||||
<ResearchProjectDef ParentName="ARA_techBase">
|
<ResearchProjectDef ParentName="ARA_techBase">
|
||||||
<defName>ARA_Technology_1THD</defName>
|
<defName>ARA_Technology_1THD</defName>
|
||||||
<label>节点THD-1"灵能闪电"</label>
|
<label>节点THD-1"灵能闪电"</label>
|
||||||
|
|||||||
@@ -57,8 +57,8 @@
|
|||||||
<WorkToMake>1000</WorkToMake>
|
<WorkToMake>1000</WorkToMake>
|
||||||
<MarketValue>50</MarketValue>
|
<MarketValue>50</MarketValue>
|
||||||
<Mass>0.01</Mass>
|
<Mass>0.01</Mass>
|
||||||
<ARA_IncubationCost>20</ARA_IncubationCost>
|
<ARA_IncubationCost>30</ARA_IncubationCost>
|
||||||
<ARA_IncubationTime>5</ARA_IncubationTime>
|
<ARA_IncubationTime>8</ARA_IncubationTime>
|
||||||
</statBases>
|
</statBases>
|
||||||
<techLevel>Animal</techLevel>
|
<techLevel>Animal</techLevel>
|
||||||
<ingestible>
|
<ingestible>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
<genericMarketSellable>false</genericMarketSellable>
|
<genericMarketSellable>false</genericMarketSellable>
|
||||||
<socialPropernessMatters>true</socialPropernessMatters>
|
<socialPropernessMatters>true</socialPropernessMatters>
|
||||||
<statBases>
|
<statBases>
|
||||||
<MarketValue>2</MarketValue>
|
<MarketValue>30</MarketValue>
|
||||||
<Mass>0.025</Mass>
|
<Mass>0.025</Mass>
|
||||||
<Nutrition>1</Nutrition>
|
<Nutrition>1</Nutrition>
|
||||||
<FoodPoisonChanceFixedHuman>0</FoodPoisonChanceFixedHuman>
|
<FoodPoisonChanceFixedHuman>0</FoodPoisonChanceFixedHuman>
|
||||||
@@ -89,7 +89,7 @@
|
|||||||
<healthAffectsPrice>false</healthAffectsPrice>
|
<healthAffectsPrice>false</healthAffectsPrice>
|
||||||
<stackLimit>500</stackLimit>
|
<stackLimit>500</stackLimit>
|
||||||
<statBases>
|
<statBases>
|
||||||
<MarketValue>1</MarketValue>
|
<MarketValue>10</MarketValue>
|
||||||
<MaxHitPoints>200</MaxHitPoints>
|
<MaxHitPoints>200</MaxHitPoints>
|
||||||
<Mass>0.01</Mass>
|
<Mass>0.01</Mass>
|
||||||
<StuffPower_Armor_Sharp>1.3</StuffPower_Armor_Sharp>
|
<StuffPower_Armor_Sharp>1.3</StuffPower_Armor_Sharp>
|
||||||
@@ -152,7 +152,7 @@
|
|||||||
<healthAffectsPrice>false</healthAffectsPrice>
|
<healthAffectsPrice>false</healthAffectsPrice>
|
||||||
<stackLimit>30</stackLimit>
|
<stackLimit>30</stackLimit>
|
||||||
<statBases>
|
<statBases>
|
||||||
<MarketValue>15</MarketValue>
|
<MarketValue>120</MarketValue>
|
||||||
<MaxHitPoints>50</MaxHitPoints>
|
<MaxHitPoints>50</MaxHitPoints>
|
||||||
<Mass>0.01</Mass>
|
<Mass>0.01</Mass>
|
||||||
</statBases>
|
</statBases>
|
||||||
|
|||||||
@@ -118,7 +118,7 @@
|
|||||||
<capacities>
|
<capacities>
|
||||||
<li>ARA_Whip</li>
|
<li>ARA_Whip</li>
|
||||||
</capacities>
|
</capacities>
|
||||||
<power>14</power>
|
<power>10</power>
|
||||||
<armorPenetration>1.25</armorPenetration>
|
<armorPenetration>1.25</armorPenetration>
|
||||||
<cooldownTime>1.75</cooldownTime>
|
<cooldownTime>1.75</cooldownTime>
|
||||||
<extraMeleeDamages>
|
<extraMeleeDamages>
|
||||||
|
|||||||
@@ -1037,8 +1037,8 @@
|
|||||||
<staticSunShadowHeight>0</staticSunShadowHeight>
|
<staticSunShadowHeight>0</staticSunShadowHeight>
|
||||||
<terrainAffordanceNeeded>ARA_Creep</terrainAffordanceNeeded>
|
<terrainAffordanceNeeded>ARA_Creep</terrainAffordanceNeeded>
|
||||||
<statBases>
|
<statBases>
|
||||||
<MarketValue>1000</MarketValue>
|
<MarketValue>4000</MarketValue>
|
||||||
<MaxHitPoints>1000</MaxHitPoints>
|
<MaxHitPoints>100</MaxHitPoints>
|
||||||
<WorkToBuild>2800</WorkToBuild>
|
<WorkToBuild>2800</WorkToBuild>
|
||||||
<Flammability>1.0</Flammability>
|
<Flammability>1.0</Flammability>
|
||||||
</statBases>
|
</statBases>
|
||||||
|
|||||||
@@ -59,6 +59,9 @@
|
|||||||
<defName>ARA_InteractiveEggSac</defName>
|
<defName>ARA_InteractiveEggSac</defName>
|
||||||
<label>阿拉克涅虫卵囊</label>
|
<label>阿拉克涅虫卵囊</label>
|
||||||
<description>一个脆弱、易燃、黏滑的囊状物,是阿拉克涅女皇种所诞之卵,内含哺育一只新督虫所需的营养和遗传物质,可以通过阿拉克涅女皇种的交互完成激活进程——参阅虫卵的超链接,了解各个督虫的特点。\n\n卵囊对温度极度敏感(该类型的卵适温为-25~30°C),需要小心保护!</description>
|
<description>一个脆弱、易燃、黏滑的囊状物,是阿拉克涅女皇种所诞之卵,内含哺育一只新督虫所需的营养和遗传物质,可以通过阿拉克涅女皇种的交互完成激活进程——参阅虫卵的超链接,了解各个督虫的特点。\n\n卵囊对温度极度敏感(该类型的卵适温为-25~30°C),需要小心保护!</description>
|
||||||
|
<statBases>
|
||||||
|
<MarketValue>3000</MarketValue>
|
||||||
|
</statBases>
|
||||||
<descriptionHyperlinks>
|
<descriptionHyperlinks>
|
||||||
<ThingDef>ArachnaeNode_Race_ShieldHead</ThingDef>
|
<ThingDef>ArachnaeNode_Race_ShieldHead</ThingDef>
|
||||||
<ThingDef>ArachnaeNode_Race_WeaponSmith</ThingDef>
|
<ThingDef>ArachnaeNode_Race_WeaponSmith</ThingDef>
|
||||||
@@ -177,6 +180,9 @@
|
|||||||
<color>(0.9, 0.9 ,0.5)</color>
|
<color>(0.9, 0.9 ,0.5)</color>
|
||||||
<drawSize>(1.1,1.1)</drawSize>
|
<drawSize>(1.1,1.1)</drawSize>
|
||||||
</graphicData>
|
</graphicData>
|
||||||
|
<statBases>
|
||||||
|
<MarketValue>5000</MarketValue>
|
||||||
|
</statBases>
|
||||||
|
|
||||||
<comps>
|
<comps>
|
||||||
<li Class="CompProperties_Glower">
|
<li Class="CompProperties_Glower">
|
||||||
@@ -225,6 +231,9 @@
|
|||||||
<graphicData>
|
<graphicData>
|
||||||
<drawSize>(1.2,1.2)</drawSize>
|
<drawSize>(1.2,1.2)</drawSize>
|
||||||
</graphicData>
|
</graphicData>
|
||||||
|
<statBases>
|
||||||
|
<MarketValue>8000</MarketValue>
|
||||||
|
</statBases>
|
||||||
|
|
||||||
<comps>
|
<comps>
|
||||||
<li Class="CompProperties_Glower">
|
<li Class="CompProperties_Glower">
|
||||||
@@ -292,6 +301,9 @@
|
|||||||
<li>ARA_Technology_6KYC</li>
|
<li>ARA_Technology_6KYC</li>
|
||||||
<li>ARA_Technology_2KYC</li>
|
<li>ARA_Technology_2KYC</li>
|
||||||
</researchPrerequisites>
|
</researchPrerequisites>
|
||||||
|
<statBases>
|
||||||
|
<MarketValue>10000</MarketValue>
|
||||||
|
</statBases>
|
||||||
|
|
||||||
<comps>
|
<comps>
|
||||||
<li Class="CompProperties_Glower">
|
<li Class="CompProperties_Glower">
|
||||||
@@ -355,6 +367,9 @@
|
|||||||
<graphicData>
|
<graphicData>
|
||||||
<drawSize>(1.2,1.2)</drawSize>
|
<drawSize>(1.2,1.2)</drawSize>
|
||||||
</graphicData>
|
</graphicData>
|
||||||
|
<statBases>
|
||||||
|
<MarketValue>12000</MarketValue>
|
||||||
|
</statBases>
|
||||||
|
|
||||||
<comps>
|
<comps>
|
||||||
<li Class="CompProperties_Glower">
|
<li Class="CompProperties_Glower">
|
||||||
@@ -426,6 +441,9 @@
|
|||||||
<researchPrerequisites>
|
<researchPrerequisites>
|
||||||
<li>ARA_Technology_7KYC</li>
|
<li>ARA_Technology_7KYC</li>
|
||||||
</researchPrerequisites>
|
</researchPrerequisites>
|
||||||
|
<statBases>
|
||||||
|
<MarketValue>15000</MarketValue>
|
||||||
|
</statBases>
|
||||||
|
|
||||||
<comps>
|
<comps>
|
||||||
<li Class="CompProperties_Glower">
|
<li Class="CompProperties_Glower">
|
||||||
@@ -538,6 +556,9 @@
|
|||||||
<ThingDef>ARA_Pantyhose_White</ThingDef>
|
<ThingDef>ARA_Pantyhose_White</ThingDef>
|
||||||
<ThingDef>ARA_Maid_Uniform</ThingDef>
|
<ThingDef>ARA_Maid_Uniform</ThingDef>
|
||||||
</descriptionHyperlinks>
|
</descriptionHyperlinks>
|
||||||
|
<statBases>
|
||||||
|
<MarketValue>2000</MarketValue>
|
||||||
|
</statBases>
|
||||||
|
|
||||||
<comps>
|
<comps>
|
||||||
<!-- The new, GrowthVat-style fuel component -->
|
<!-- The new, GrowthVat-style fuel component -->
|
||||||
@@ -618,6 +639,9 @@
|
|||||||
<ThingDef>ARA_RW_Basic_Acid_Bladder_Gun</ThingDef>
|
<ThingDef>ARA_RW_Basic_Acid_Bladder_Gun</ThingDef>
|
||||||
<ThingDef>ARA_RW_Basic_Fist_Needle_Gun</ThingDef>
|
<ThingDef>ARA_RW_Basic_Fist_Needle_Gun</ThingDef>
|
||||||
</descriptionHyperlinks>
|
</descriptionHyperlinks>
|
||||||
|
<statBases>
|
||||||
|
<MarketValue>2000</MarketValue>
|
||||||
|
</statBases>
|
||||||
|
|
||||||
<comps>
|
<comps>
|
||||||
<li Class="ArachnaeSwarm.CompProperties_RefuelableNutrition">
|
<li Class="ArachnaeSwarm.CompProperties_RefuelableNutrition">
|
||||||
@@ -701,6 +725,9 @@
|
|||||||
<ThingDef>ARA_Pantyhose_White</ThingDef>
|
<ThingDef>ARA_Pantyhose_White</ThingDef>
|
||||||
<ThingDef>ARA_Maid_Uniform</ThingDef>
|
<ThingDef>ARA_Maid_Uniform</ThingDef>
|
||||||
</descriptionHyperlinks>
|
</descriptionHyperlinks>
|
||||||
|
<statBases>
|
||||||
|
<MarketValue>5000</MarketValue>
|
||||||
|
</statBases>
|
||||||
|
|
||||||
<comps>
|
<comps>
|
||||||
<!-- The new, GrowthVat-style fuel component -->
|
<!-- The new, GrowthVat-style fuel component -->
|
||||||
@@ -786,6 +813,9 @@
|
|||||||
<ThingDef>ARA_RW_Toxic_Needle_MG</ThingDef>
|
<ThingDef>ARA_RW_Toxic_Needle_MG</ThingDef>
|
||||||
<ThingDef>ARA_RW_Basic_SkyHive_Gun</ThingDef>
|
<ThingDef>ARA_RW_Basic_SkyHive_Gun</ThingDef>
|
||||||
</descriptionHyperlinks>
|
</descriptionHyperlinks>
|
||||||
|
<statBases>
|
||||||
|
<MarketValue>5000</MarketValue>
|
||||||
|
</statBases>
|
||||||
|
|
||||||
<comps>
|
<comps>
|
||||||
<!-- The new, GrowthVat-style fuel component -->
|
<!-- The new, GrowthVat-style fuel component -->
|
||||||
@@ -862,6 +892,9 @@
|
|||||||
<defName>ARA_Cocoon_Cloth_2Stage</defName>
|
<defName>ARA_Cocoon_Cloth_2Stage</defName>
|
||||||
<label>阿拉克涅孵化茧 织物 等级2</label>
|
<label>阿拉克涅孵化茧 织物 等级2</label>
|
||||||
<description>一个脆弱、易燃、黏滑的囊状物,是阿拉克涅工艺种所诞之卵,内含孵化一套基础织物装备的营养物质,可以通过阿拉克涅工艺种的交互完成激活进程——参阅茧的超链接,了解其能生产的所有装备的特点。\n\n孵化茧对温度极度敏感(该类型的茧适温为10~16°C),需要小心保护!</description>
|
<description>一个脆弱、易燃、黏滑的囊状物,是阿拉克涅工艺种所诞之卵,内含孵化一套基础织物装备的营养物质,可以通过阿拉克涅工艺种的交互完成激活进程——参阅茧的超链接,了解其能生产的所有装备的特点。\n\n孵化茧对温度极度敏感(该类型的茧适温为10~16°C),需要小心保护!</description>
|
||||||
|
<statBases>
|
||||||
|
<MarketValue>10000</MarketValue>
|
||||||
|
</statBases>
|
||||||
|
|
||||||
<comps>
|
<comps>
|
||||||
<!-- The new, GrowthVat-style fuel component -->
|
<!-- The new, GrowthVat-style fuel component -->
|
||||||
@@ -947,6 +980,9 @@
|
|||||||
<ThingDef>ARA_RW_Acid_Mortar</ThingDef>
|
<ThingDef>ARA_RW_Acid_Mortar</ThingDef>
|
||||||
<ThingDef>ARA_MW_Scything_Talons</ThingDef>
|
<ThingDef>ARA_MW_Scything_Talons</ThingDef>
|
||||||
</descriptionHyperlinks>
|
</descriptionHyperlinks>
|
||||||
|
<statBases>
|
||||||
|
<MarketValue>10000</MarketValue>
|
||||||
|
</statBases>
|
||||||
|
|
||||||
<comps>
|
<comps>
|
||||||
<!-- The new, GrowthVat-style fuel component -->
|
<!-- The new, GrowthVat-style fuel component -->
|
||||||
@@ -1048,10 +1084,12 @@
|
|||||||
<descriptionHyperlinks>
|
<descriptionHyperlinks>
|
||||||
<ThingDef>ARA_PheromoneSolvent</ThingDef>
|
<ThingDef>ARA_PheromoneSolvent</ThingDef>
|
||||||
</descriptionHyperlinks>
|
</descriptionHyperlinks>
|
||||||
|
|
||||||
<researchPrerequisites>
|
<researchPrerequisites>
|
||||||
<li>ARA_Technology_1MED</li>
|
<li>ARA_Technology_1MED</li>
|
||||||
</researchPrerequisites>
|
</researchPrerequisites>
|
||||||
|
<statBases>
|
||||||
|
<MarketValue>3000</MarketValue>
|
||||||
|
</statBases>
|
||||||
|
|
||||||
<comps>
|
<comps>
|
||||||
<!-- The new, GrowthVat-style fuel component -->
|
<!-- The new, GrowthVat-style fuel component -->
|
||||||
@@ -1087,7 +1125,7 @@
|
|||||||
<whitelist>
|
<whitelist>
|
||||||
<li>ArachnaeNode_Race_Myrmecocystus</li>
|
<li>ArachnaeNode_Race_Myrmecocystus</li>
|
||||||
</whitelist>
|
</whitelist>
|
||||||
<spawnCount>10</spawnCount>
|
<spawnCount>30</spawnCount>
|
||||||
<destroyOnSpawn>True</destroyOnSpawn>
|
<destroyOnSpawn>True</destroyOnSpawn>
|
||||||
<minSafeTemperature>0</minSafeTemperature>
|
<minSafeTemperature>0</minSafeTemperature>
|
||||||
<maxSafeTemperature>12</maxSafeTemperature>
|
<maxSafeTemperature>12</maxSafeTemperature>
|
||||||
|
|||||||
@@ -333,6 +333,7 @@
|
|||||||
<terrainAffordanceNeeded>ARA_Creep</terrainAffordanceNeeded>
|
<terrainAffordanceNeeded>ARA_Creep</terrainAffordanceNeeded>
|
||||||
<pathCost>50</pathCost>
|
<pathCost>50</pathCost>
|
||||||
<statBases>
|
<statBases>
|
||||||
|
<MarketValue>20000</MarketValue>
|
||||||
<MaxHitPoints>250</MaxHitPoints>
|
<MaxHitPoints>250</MaxHitPoints>
|
||||||
<WorkToBuild>2800</WorkToBuild>
|
<WorkToBuild>2800</WorkToBuild>
|
||||||
<Flammability>1.0</Flammability>
|
<Flammability>1.0</Flammability>
|
||||||
@@ -461,6 +462,7 @@
|
|||||||
<li>ARA_Technology_4NPT</li>
|
<li>ARA_Technology_4NPT</li>
|
||||||
</researchPrerequisites>
|
</researchPrerequisites>
|
||||||
<statBases>
|
<statBases>
|
||||||
|
<MarketValue>20000</MarketValue>
|
||||||
<MaxHitPoints>250</MaxHitPoints>
|
<MaxHitPoints>250</MaxHitPoints>
|
||||||
<WorkToBuild>2800</WorkToBuild>
|
<WorkToBuild>2800</WorkToBuild>
|
||||||
<Flammability>1.0</Flammability>
|
<Flammability>1.0</Flammability>
|
||||||
|
|||||||
@@ -1,14 +1,28 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Defs>
|
<Defs>
|
||||||
<WorkGiverDef>
|
<WorkGiverDef>
|
||||||
<defName>ARA_Refuel_Nutrition</defName>
|
<defName>ARA_Refuel_Nutrition</defName>
|
||||||
<label>补充营养</label>
|
<label>补充营养</label>
|
||||||
<giverClass>ArachnaeSwarm.WorkGiver_Refuel_Nutrition</giverClass>
|
<giverClass>ArachnaeSwarm.WorkGiver_Refuel_Nutrition</giverClass>
|
||||||
<workType>Hauling</workType>
|
<workType>Hauling</workType>
|
||||||
<priorityInType>60</priorityInType>
|
<priorityInType>60</priorityInType>
|
||||||
<verb>补充</verb>
|
<verb>补充</verb>
|
||||||
<gerund>补充</gerund>
|
<gerund>补充</gerund>
|
||||||
<scanThings>true</scanThings>
|
<scanThings>true</scanThings>
|
||||||
<scanCells>false</scanCells>
|
<scanCells>false</scanCells>
|
||||||
</WorkGiverDef>
|
</WorkGiverDef>
|
||||||
|
<WorkGiverDef>
|
||||||
|
<defName>ARA_SkillTraining_Building_Bills</defName>
|
||||||
|
<label>技能训练</label>
|
||||||
|
<giverClass>WorkGiver_DoBill</giverClass>
|
||||||
|
<workType>BasicWorker</workType>
|
||||||
|
<priorityInType>99999</priorityInType>
|
||||||
|
<fixedBillGiverDefs>
|
||||||
|
<li>ARA_SkillTraining_Building</li>
|
||||||
|
</fixedBillGiverDefs>
|
||||||
|
<verb>训练于</verb>
|
||||||
|
<gerund>训练于</gerund>
|
||||||
|
<prioritizeSustains>false</prioritizeSustains>
|
||||||
|
<canBeDoneByMechs>false</canBeDoneByMechs>
|
||||||
|
</WorkGiverDef>
|
||||||
</Defs>
|
</Defs>
|
||||||
Binary file not shown.
@@ -1,7 +1,12 @@
|
|||||||
{
|
{
|
||||||
"Version": 1,
|
"Version": 1,
|
||||||
"WorkspaceRootPath": "D:\\SteamLibrary\\steamapps\\common\\RimWorld\\Mods\\ArachnaeSwarm\\Source\\ArachnaeSwarm\\",
|
"WorkspaceRootPath": "E:\\SteamLibrary\\steamapps\\common\\RimWorld\\Mods\\ArachnaeSwarm\\Source\\ArachnaeSwarm\\",
|
||||||
"Documents": [],
|
"Documents": [
|
||||||
|
{
|
||||||
|
"AbsoluteMoniker": "D:0:0:{EAE0DB6B-E282-C812-7F5A-6D13E9D24581}|ArachnaeSwarm.csproj|e:\\steamlibrary\\steamapps\\common\\rimworld\\mods\\arachnaeswarm\\source\\arachnaeswarm\\building_comps\\ara_buildingterrainspawn\\compdelayedterrainspawn.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
|
"RelativeMoniker": "D:0:0:{EAE0DB6B-E282-C812-7F5A-6D13E9D24581}|ArachnaeSwarm.csproj|solutionrelative:building_comps\\ara_buildingterrainspawn\\compdelayedterrainspawn.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||||
|
}
|
||||||
|
],
|
||||||
"DocumentGroupContainers": [
|
"DocumentGroupContainers": [
|
||||||
{
|
{
|
||||||
"Orientation": 0,
|
"Orientation": 0,
|
||||||
@@ -9,11 +14,24 @@
|
|||||||
"DocumentGroups": [
|
"DocumentGroups": [
|
||||||
{
|
{
|
||||||
"DockedWidth": 200,
|
"DockedWidth": 200,
|
||||||
"SelectedChildIndex": -1,
|
"SelectedChildIndex": 1,
|
||||||
"Children": [
|
"Children": [
|
||||||
{
|
{
|
||||||
"$type": "Bookmark",
|
"$type": "Bookmark",
|
||||||
"Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}"
|
"Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 0,
|
||||||
|
"Title": "CompDelayedTerrainSpawn.cs",
|
||||||
|
"DocumentMoniker": "E:\\SteamLibrary\\steamapps\\common\\RimWorld\\Mods\\ArachnaeSwarm\\Source\\ArachnaeSwarm\\Building_Comps\\ARA_BuildingTerrainSpawn\\CompDelayedTerrainSpawn.cs",
|
||||||
|
"RelativeDocumentMoniker": "Building_Comps\\ARA_BuildingTerrainSpawn\\CompDelayedTerrainSpawn.cs",
|
||||||
|
"ToolTip": "E:\\SteamLibrary\\steamapps\\common\\RimWorld\\Mods\\ArachnaeSwarm\\Source\\ArachnaeSwarm\\Building_Comps\\ARA_BuildingTerrainSpawn\\CompDelayedTerrainSpawn.cs",
|
||||||
|
"RelativeToolTip": "Building_Comps\\ARA_BuildingTerrainSpawn\\CompDelayedTerrainSpawn.cs",
|
||||||
|
"ViewState": "AgIAAA0AAAAAAAAAAAAywD0AAAAhAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2025-10-12T15:30:31.391Z",
|
||||||
|
"EditorCaption": ""
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -46,11 +46,27 @@ namespace ArachnaeSwarm
|
|||||||
{
|
{
|
||||||
if (current.InBounds(parent.Map) && current.Walkable(parent.Map))
|
if (current.InBounds(parent.Map) && current.Walkable(parent.Map))
|
||||||
{
|
{
|
||||||
|
// 添加:检查当前地形是否有 ARA_Creep 标签
|
||||||
|
TerrainDef currentTerrain = parent.Map.terrainGrid.TerrainAt(current);
|
||||||
|
if (currentTerrain != null && HasCreepTag(currentTerrain))
|
||||||
|
{
|
||||||
|
continue; // 跳过有 ARA_Creep 标签的地面
|
||||||
|
}
|
||||||
|
|
||||||
parent.Map.terrainGrid.SetTerrain(current, Props.terrainToSpawn);
|
parent.Map.terrainGrid.SetTerrain(current, Props.terrainToSpawn);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 检查地形是否具有 ARA_Creep 标签
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>如果地形有 ARA_Creep 标签则返回 true</returns>
|
||||||
|
private bool HasCreepTag(TerrainDef terrain)
|
||||||
|
{
|
||||||
|
return terrain.tags != null && terrain.tags.Contains("ARA_Creep");
|
||||||
|
}
|
||||||
|
|
||||||
// NOTICE: There is NO CompTick() method here. This component does not perform any updates after it has spawned.
|
// NOTICE: There is NO CompTick() method here. This component does not perform any updates after it has spawned.
|
||||||
// NOTICE: There is NO ExposeData() method for timers because there are NO timers to save.
|
// NOTICE: There is NO ExposeData() method for timers because there are NO timers to save.
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user