训练器,缩卵,自杀技能

This commit is contained in:
Tourswen
2025-10-09 00:15:33 +08:00
parent 5869706ffb
commit d16f1cee31
20 changed files with 457 additions and 164 deletions

View File

@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<AbilityDef ParentName="AbilityTouchBase">
<defName>ARA_BindDrone</defName>
<label>信息素标记</label>
@@ -1080,88 +1079,6 @@
</comps>
</AbilityDef>
<AbilityDef>
<defName>ARA_Pouch_Hatching_Acidling</defName>
<label>蜕荚孵化:爆裂种</label>
<description>立刻在脚下孵化三只阿拉克涅爆裂种辅虫,它们会对敌方发起自杀性攻击。</description>
<iconPath>ArachnaeSwarm/UI/Abilities/ARA_BaseRace_Launcher</iconPath>
<cooldownTicksRange>5000</cooldownTicksRange>
<aiCanUse>true</aiCanUse>
<displayOrder>300</displayOrder>
<displayGizmoWhileUndrafted>true</displayGizmoWhileUndrafted>
<disableGizmoWhileUndrafted>false</disableGizmoWhileUndrafted>
<warmupStartSound>AcidSpray_Warmup</warmupStartSound>
<verbProperties>
<verbClass>Verb_CastAbility</verbClass>
<range>24</range>
<warmupTime>0.1</warmupTime>
<soundCast>AcidSpray_Resolve</soundCast>
<violent>false</violent>
<targetable>false</targetable>
<targetParams>
<canTargetSelf>true</canTargetSelf>
</targetParams>
</verbProperties>
<comps>
<li Class="ArachnaeSwarm.CompProperties_AbilityLaunchMultiProjectile">
<projectileDef>ArachnaeBase_Race_Acidling_Proj</projectileDef>
<numProjectiles>3</numProjectiles>
</li>
<li Class="ArachnaeSwarm.CompProperties_AbilityNeedCost">
<customLabel>饮食</customLabel>
<showProgressBar>true</showProgressBar>
<needDef>Food</needDef>
<needCost>0.2</needCost>
<failMessage>营养值不足,需要进食</failMessage>
</li>
<li Class="ArachnaeSwarm.CompProperties_AbilityDestroyOwnBodyPart">
<bodyPartsToDestroy>
<li>ARA_Pouch</li>
</bodyPartsToDestroy>
</li>
</comps>
</AbilityDef>
<AbilityDef>
<defName>ARA_Pouch_Hatching_Pouch</defName>
<label>蜕荚孵化:菌瘤</label>
<description>排出一枚菌瘤,将附近的大片地区转变为菌毯地形,以方便虫群进行活动,并阻碍敌军的前进。</description>
<iconPath>ArachnaeSwarm/UI/Abilities/ARA_TumorSpew</iconPath>
<cooldownTicksRange>5000</cooldownTicksRange>
<aiCanUse>true</aiCanUse>
<displayOrder>300</displayOrder>
<displayGizmoWhileUndrafted>true</displayGizmoWhileUndrafted>
<disableGizmoWhileUndrafted>false</disableGizmoWhileUndrafted>
<warmupStartSound>AcidSpray_Warmup</warmupStartSound>
<verbProperties>
<verbClass>Verb_CastAbility</verbClass>
<range>24</range>
<warmupTime>0.1</warmupTime>
<soundCast>AcidSpray_Resolve</soundCast>
<violent>false</violent>
<targetable>false</targetable>
<targetParams>
<canTargetSelf>true</canTargetSelf>
</targetParams>
</verbProperties>
<comps>
<li Class="CompProperties_AbilityLaunchProjectile">
<projectileDef>ARA_Proj_Tumor</projectileDef>
</li>
<li Class="ArachnaeSwarm.CompProperties_AbilityNeedCost">
<customLabel>饮食</customLabel>
<showProgressBar>true</showProgressBar>
<needDef>Food</needDef>
<needCost>0.2</needCost>
<failMessage>营养值不足,需要进食</failMessage>
</li>
<li Class="ArachnaeSwarm.CompProperties_AbilityDestroyOwnBodyPart">
<bodyPartsToDestroy>
<li>ARA_Pouch</li>
</bodyPartsToDestroy>
</li>
</comps>
</AbilityDef>
<AbilityDef>
<defName>ARA_BaseRace_Acidcut_Hatching</defName>
<label>酸噬种军团</label>
@@ -1381,4 +1298,158 @@
</li>
</comps>
</HediffDef>
<AbilityDef>
<defName>ARA_Pouch_Hatching_Acidling</defName>
<label>蜕荚孵化:爆裂种</label>
<description>立刻在脚下孵化三只阿拉克涅爆裂种辅虫,它们会对敌方发起自杀性攻击。</description>
<iconPath>ArachnaeSwarm/UI/Abilities/ARA_BaseRace_Launcher</iconPath>
<cooldownTicksRange>5000</cooldownTicksRange>
<aiCanUse>true</aiCanUse>
<displayOrder>300</displayOrder>
<displayGizmoWhileUndrafted>true</displayGizmoWhileUndrafted>
<disableGizmoWhileUndrafted>false</disableGizmoWhileUndrafted>
<warmupStartSound>AcidSpray_Warmup</warmupStartSound>
<verbProperties>
<verbClass>Verb_CastAbility</verbClass>
<range>24</range>
<warmupTime>0.1</warmupTime>
<soundCast>AcidSpray_Resolve</soundCast>
<violent>false</violent>
<targetable>false</targetable>
<targetParams>
<canTargetSelf>true</canTargetSelf>
</targetParams>
</verbProperties>
<comps>
<li Class="ArachnaeSwarm.CompProperties_AbilityLaunchMultiProjectile">
<projectileDef>ArachnaeBase_Race_Acidling_Proj</projectileDef>
<numProjectiles>3</numProjectiles>
</li>
<li Class="ArachnaeSwarm.CompProperties_AbilityNeedCost">
<customLabel>饮食</customLabel>
<showProgressBar>true</showProgressBar>
<needDef>Food</needDef>
<needCost>0.2</needCost>
<failMessage>营养值不足,需要进食</failMessage>
</li>
<li Class="ArachnaeSwarm.CompProperties_AbilityDestroyOwnBodyPart">
<bodyPartsToDestroy>
<li>ARA_Pouch</li>
</bodyPartsToDestroy>
</li>
</comps>
</AbilityDef>
<AbilityDef>
<defName>ARA_Pouch_Hatching_Pouch</defName>
<label>蜕荚孵化:菌瘤</label>
<description>排出一枚菌瘤,将附近的大片地区转变为菌毯地形,以方便虫群进行活动,并阻碍敌军的前进。</description>
<iconPath>ArachnaeSwarm/UI/Abilities/ARA_TumorSpew</iconPath>
<cooldownTicksRange>5000</cooldownTicksRange>
<aiCanUse>true</aiCanUse>
<displayOrder>300</displayOrder>
<displayGizmoWhileUndrafted>true</displayGizmoWhileUndrafted>
<disableGizmoWhileUndrafted>false</disableGizmoWhileUndrafted>
<warmupStartSound>AcidSpray_Warmup</warmupStartSound>
<verbProperties>
<verbClass>Verb_CastAbility</verbClass>
<range>24</range>
<warmupTime>0.1</warmupTime>
<soundCast>AcidSpray_Resolve</soundCast>
<violent>false</violent>
<targetable>false</targetable>
<targetParams>
<canTargetSelf>true</canTargetSelf>
</targetParams>
</verbProperties>
<comps>
<li Class="CompProperties_AbilityLaunchProjectile">
<projectileDef>ARA_Proj_Tumor</projectileDef>
</li>
<li Class="ArachnaeSwarm.CompProperties_AbilityNeedCost">
<customLabel>饮食</customLabel>
<showProgressBar>true</showProgressBar>
<needDef>Food</needDef>
<needCost>0.2</needCost>
<failMessage>营养值不足,需要进食</failMessage>
</li>
<li Class="ArachnaeSwarm.CompProperties_AbilityDestroyOwnBodyPart">
<bodyPartsToDestroy>
<li>ARA_Pouch</li>
</bodyPartsToDestroy>
</li>
</comps>
</AbilityDef>
<AbilityDef>
<defName>ARA_Suicide_Ability</defName>
<label>自杀</label>
<description>只要一声令下,阿拉克涅虫族随时可以为了虫巢的大业立刻死去</description>
<iconPath>ArachnaeSwarm/UI/Abilities/ARA_Suicide_Ability</iconPath>
<cooldownTicksRange>1</cooldownTicksRange>
<aiCanUse>true</aiCanUse>
<displayOrder>300</displayOrder>
<displayGizmoWhileUndrafted>true</displayGizmoWhileUndrafted>
<disableGizmoWhileUndrafted>false</disableGizmoWhileUndrafted>
<warmupStartSound>AcidSpray_Warmup</warmupStartSound>
<verbProperties>
<verbClass>Verb_CastAbility</verbClass>
<range>24</range>
<warmupTime>15</warmupTime>
<soundCast>AcidSpray_Resolve</soundCast>
<violent>false</violent>
<targetable>false</targetable>
<targetParams>
<canTargetSelf>true</canTargetSelf>
</targetParams>
</verbProperties>
<comps>
<li Class="ArachnaeSwarm.CompProperties_AbilityDestroyOwnBodyPart">
<bodyPartsToDestroy>
<li>Brain</li>
</bodyPartsToDestroy>
</li>
</comps>
</AbilityDef>
<AbilityDef>
<defName>ARA_Hibernate_Ability</defName>
<label>休眠状态</label>
<description>阿拉克涅虫群用膜将自己包裹起来,转换为一个静态的活体组织,以降低蜂巢意志的负荷。进入休眠状态将清空休息条和饥饿条;不过在休眠状态下,虫族不需要进食。</description>
<iconPath>ArachnaeSwarm/UI/Abilities/ARA_Hibernate_Ability</iconPath>
<cooldownTicksRange>144000</cooldownTicksRange>
<targetRequired>false</targetRequired>
<casterMustBeCapableOfViolence>false</casterMustBeCapableOfViolence>
<displayOrder>301</displayOrder>
<verbProperties>
<verbClass>Verb_CastAbility</verbClass>
<drawAimPie>false</drawAimPie>
<requireLineOfSight>false</requireLineOfSight>
<warmupTime>5</warmupTime>
<range>19.9</range>
<targetable>false</targetable>
<targetParams>
<canTargetSelf>True</canTargetSelf>
</targetParams>
</verbProperties>
<comps>
<li Class="ArachnaeSwarm.CompProperties_AbilityNeedCost">
<customLabel>饮食</customLabel>
<showProgressBar>true</showProgressBar>
<needDef>Food</needDef>
<needCost>1</needCost>
<failMessage>营养值不足,需要进食</failMessage>
</li>
<li Class="ArachnaeSwarm.CompProperties_AbilityTerrainRestriction">
<terrainDefs>
<li>ARA_InsectCreep</li>
<li>ARA_InsectCreepFloor</li>
</terrainDefs>
<!-- <casterTerrainFailMessage>在阿拉克涅菌毯上才能使用此技能</casterTerrainFailMessage>
<disabledReasonKey>不在阿拉克涅菌毯上</disabledReasonKey> -->
</li>
<li Class="ArachnaeSwarm.CompProperties_AbilityTransform">
<buildingDef>ARA_Hibernate_Sac</buildingDef>
</li>
</comps>
</AbilityDef>
</Defs>

View File

@@ -23,6 +23,14 @@
</targetParams>
</verbProperties>
<comps>
<li Class="ArachnaeSwarm.CompProperties_AbilityTerrainRestriction">
<terrainDefs>
<li>ARA_InsectCreep</li>
<li>ARA_InsectCreepFloor</li>
</terrainDefs>
<!-- <casterTerrainFailMessage>在阿拉克涅菌毯上才能使用此技能</casterTerrainFailMessage>
<disabledReasonKey>不在阿拉克涅菌毯上</disabledReasonKey> -->
</li>
<li Class="ArachnaeSwarm.CompProperties_AbilityTransform">
<buildingDef>ARA_MorphableResearchBench</buildingDef>
</li>

View File

@@ -30,6 +30,20 @@
<li Class="ArachnaeSwarm.HediffCompProperties_HiveMindMaster">
<scanIntervalTicks>3200</scanIntervalTicks>
</li>
<li Class="HediffCompProperties_GiveHediffsInRange">
<range>6</range>
<hediff>ARA_CreepyCrawly_Hediff</hediff>
<mote IsNull="True"/>
<hideMoteWhenNotDrafted>true</hideMoteWhenNotDrafted>
<targetingParameters>
<canTargetBuildings>false</canTargetBuildings>
<canTargetAnimals>false</canTargetAnimals>
<canTargetMechs>false</canTargetMechs>
<canTargetSelf>false</canTargetSelf>
<onlyTargetColonists>true</onlyTargetColonists>
</targetingParameters>
<onlyPawnsInSameFaction>false</onlyPawnsInSameFaction>
</li>
</comps>
</HediffDef>
<HediffDef>
@@ -57,6 +71,20 @@
</li>
</stages>
<comps>
<li Class="HediffCompProperties_GiveHediffsInRange">
<range>6</range>
<hediff>ARA_CreepyCrawly_Hediff</hediff>
<mote IsNull="True"/>
<hideMoteWhenNotDrafted>true</hideMoteWhenNotDrafted>
<targetingParameters>
<canTargetBuildings>false</canTargetBuildings>
<canTargetAnimals>false</canTargetAnimals>
<canTargetMechs>false</canTargetMechs>
<canTargetSelf>false</canTargetSelf>
<onlyTargetColonists>true</onlyTargetColonists>
</targetingParameters>
<onlyPawnsInSameFaction>false</onlyPawnsInSameFaction>
</li>
<li Class="ArachnaeSwarm.HediffCompProperties_HiveMindDrone">
<unlinkedDieDelayTicks>6400</unlinkedDieDelayTicks> <!-- Default to 30 seconds -->
</li>
@@ -77,6 +105,20 @@
<isBad>false</isBad>
<scenarioCanAdd>false</scenarioCanAdd>
<comps>
<li Class="HediffCompProperties_GiveHediffsInRange">
<range>6</range>
<hediff>ARA_CreepyCrawly_Hediff</hediff>
<mote IsNull="True"/>
<hideMoteWhenNotDrafted>true</hideMoteWhenNotDrafted>
<targetingParameters>
<canTargetBuildings>false</canTargetBuildings>
<canTargetAnimals>false</canTargetAnimals>
<canTargetMechs>false</canTargetMechs>
<canTargetSelf>false</canTargetSelf>
<onlyTargetColonists>true</onlyTargetColonists>
</targetingParameters>
<onlyPawnsInSameFaction>false</onlyPawnsInSameFaction>
</li>
</comps>
<stages>
<li>
@@ -163,27 +205,6 @@
<severityChangeIn>0.01</severityChangeIn>
<severityChangeOut>-0.01</severityChangeOut>
</li>
<li Class="ArachnaeSwarm.HediffCompProperties_GiveHediffsInRangeToRace">
<range>6</range>
<hediff>ARA_CreepyCrawly_Hediff</hediff>
<mote>Mote_ARA_CreepyCrawly_HediffLinkLine</mote>
<!-- 定义可以被影响的种族列表 -->
<!-- <targetRaces>
<li>Human</li>
</targetRaces> -->
<!-- 其他参数和原版一样 -->
<targetingParameters>
<canTargetBuildings>false</canTargetBuildings>
<canTargetAnimals>false</canTargetAnimals>
<canTargetMechs>false</canTargetMechs>
<canTargetSelf>true</canTargetSelf>
<onlyTargetColonists>true</onlyTargetColonists>
</targetingParameters>
<onlyPawnsInSameFaction>false</onlyPawnsInSameFaction>
<hideMoteWhenNotDrafted>true</hideMoteWhenNotDrafted>
</li>
</comps>
<stages>
<li>

View File

@@ -78,6 +78,10 @@
<maxGenerationAge>2</maxGenerationAge>
<minGenerationAge>1</minGenerationAge>
<canBeScattered>false</canBeScattered>
<abilities>
<li>ARA_Suicide_Ability</li>
<li>ARA_Hibernate_Ability</li>
</abilities>
<xenotypeSet>
<xenotypeChances>

View File

@@ -3,26 +3,40 @@
<RecipeDef Name="ARA_SkillTraining_Abstract" Abstract="True">
<description>根据选择的技能进行等级训练,没有花销,也不会产出什么东西,仅仅是获得工作的经验值。</description>
<jobString>训练技能中。</jobString>
<workAmount>500</workAmount>
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<ingredients>
</ingredients>
<products>
</products>
<requiredGiverWorkType>BasicWorker</requiredGiverWorkType>
<workAmount>300</workAmount>
<effectWorking>Smith</effectWorking>
<soundWorking>Recipe_Surgery</soundWorking>
<workSkillLearnFactor>16</workSkillLearnFactor>
<!-- <soundWorking>Recipe_Surgery</soundWorking> -->
<workSkillLearnFactor>1</workSkillLearnFactor>
<recipeUsers>
<li>ARA_SkillTraining_Building</li>
</recipeUsers>
</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">
<defName>ARA_TrainShooting</defName>
<label>技能训练(射击)</label>
<workSkill>Shooting</workSkill>
<workAmount>12000</workAmount>
<skillRequirements>
<Shooting>0</Shooting>
</skillRequirements>
@@ -33,7 +47,6 @@
<defName>ARA_TrainMelee</defName>
<label>技能训练(近战)</label>
<workSkill>Melee</workSkill>
<workAmount>10000</workAmount>
<skillRequirements>
<Melee>0</Melee>
</skillRequirements>
@@ -44,7 +57,6 @@
<defName>ARA_TrainConstruction</defName>
<label>技能训练(建造)</label>
<workSkill>Construction</workSkill>
<workAmount>15000</workAmount>
<skillRequirements>
<Construction>0</Construction>
</skillRequirements>
@@ -55,7 +67,6 @@
<defName>ARA_TrainMining</defName>
<label>技能训练(采矿)</label>
<workSkill>Mining</workSkill>
<workAmount>18000</workAmount>
<skillRequirements>
<Mining>0</Mining>
</skillRequirements>
@@ -66,7 +77,6 @@
<defName>ARA_TrainCooking</defName>
<label>技能训练(烹饪)</label>
<workSkill>Cooking</workSkill>
<workAmount>8000</workAmount>
<skillRequirements>
<Cooking>0</Cooking>
</skillRequirements>
@@ -77,7 +87,6 @@
<defName>ARA_TrainPlants</defName>
<label>技能训练(种植)</label>
<workSkill>Plants</workSkill>
<workAmount>14000</workAmount>
<skillRequirements>
<Plants>0</Plants>
</skillRequirements>
@@ -88,7 +97,6 @@
<defName>ARA_TrainAnimals</defName>
<label>技能训练(驯兽)</label>
<workSkill>Animals</workSkill>
<workAmount>16000</workAmount>
<skillRequirements>
<Animals>0</Animals>
</skillRequirements>
@@ -99,7 +107,6 @@
<defName>ARA_TrainMedicine</defName>
<label>技能训练(医疗)</label>
<workSkill>Medicine</workSkill>
<workAmount>12000</workAmount>
<skillRequirements>
<Medicine>0</Medicine>
</skillRequirements>
@@ -110,7 +117,6 @@
<defName>ARA_TrainSocial</defName>
<label>技能训练(社交)</label>
<workSkill>Social</workSkill>
<workAmount>9000</workAmount>
<skillRequirements>
<Social>0</Social>
</skillRequirements>
@@ -121,7 +127,6 @@
<defName>ARA_TrainCrafting</defName>
<label>技能训练(手工)</label>
<workSkill>Crafting</workSkill>
<workAmount>13000</workAmount>
<skillRequirements>
<Crafting>0</Crafting>
</skillRequirements>
@@ -132,7 +137,6 @@
<defName>ARA_TrainArtistic</defName>
<label>技能训练(艺术)</label>
<workSkill>Artistic</workSkill>
<workAmount>11000</workAmount>
<skillRequirements>
<Artistic>0</Artistic>
</skillRequirements>

View File

@@ -11,19 +11,6 @@
<factionDef>ARA_New_Hive</factionDef>
</playerFaction>
<parts>
<li Class="ScenPart_PlanetLayer">
<def>PlanetLayer</def>
<layer>Orbit</layer>
<settingsDef>Orbit</settingsDef>
<hide>True</hide>
<tag>Orbit</tag>
<connections>
<li>
<tag>Surface</tag>
<zoomMode>ZoomIn</zoomMode>
</li>
</connections>
</li>
<li Class="ScenPart_GameStartDialog">
<def>GameStartDialog</def>
<text>女皇种已抵达既定地区。行星环境检测:宜居。生物质资源:丰富。本地原生文明:威胁等级-低。\n神经织网重构完成。欢迎加入我们。\n\n初始指令\n确保女皇种生存。女皇种是巢穴的根基。\n孵化阿拉克涅虫卵。扩充本地虫族种群数量。\n同化本地生物质。储存能够确保虫群生存的物资。\n重建基因树。让我们再次完整。\n\n为了蜂群的存续。</text>

View File

@@ -393,8 +393,9 @@
<!-- 生育能力 -->
<onlyReproduceWithRestrictedRaces>true</onlyReproduceWithRestrictedRaces>
<canReproduce>false</canReproduce>
<!-- <workGiverList>
</workGiverList> -->
<workGiverList>
<li>ARA_SkillTraining_Building_Bills</li>
</workGiverList>
<!-- 允许的特质类型 -->
<traitList>
</traitList>
@@ -736,6 +737,14 @@
<li>ARA_InsectJelly</li>
</blackFoodList>
<onlyEatRaceRestrictedFood>false</onlyEatRaceRestrictedFood>
<recipeList>
<li>ARA_TrainShooting</li>
<li>ARA_TrainMelee</li>
<li>ARA_TrainCooking</li>
<li>ARA_TrainPlants</li>
<li>ARA_TrainMedicine</li>
</recipeList>
<onlyDoRaceRestrictedRecipes>false</onlyDoRaceRestrictedRecipes>
</raceRestriction>
</alienRace>
@@ -886,6 +895,13 @@
</generalSettings>
<raceRestriction>
<onlyEatRaceRestrictedFood>true</onlyEatRaceRestrictedFood>
<recipeList>
<li>ARA_TrainShooting</li>
<li>ARA_TrainMelee</li>
<li>ARA_TrainConstruction</li>
<li>ARA_TrainMining</li>
</recipeList>
<onlyDoRaceRestrictedRecipes>false</onlyDoRaceRestrictedRecipes>
</raceRestriction>
</alienRace>
@@ -1003,6 +1019,12 @@
</generalSettings>
<raceRestriction>
<onlyEatRaceRestrictedFood>true</onlyEatRaceRestrictedFood>
<recipeList>
<li>ARA_TrainShooting</li>
<li>ARA_TrainMelee</li>
<li>ARA_TrainCrafting</li>
</recipeList>
<onlyDoRaceRestrictedRecipes>false</onlyDoRaceRestrictedRecipes>
</raceRestriction>
</alienRace>
@@ -1124,6 +1146,12 @@
</generalSettings>
<raceRestriction>
<onlyEatRaceRestrictedFood>true</onlyEatRaceRestrictedFood>
<recipeList>
<li>ARA_TrainShooting</li>
<li>ARA_TrainMelee</li>
<li>ARA_TrainAnimals</li>
</recipeList>
<onlyDoRaceRestrictedRecipes>false</onlyDoRaceRestrictedRecipes>
</raceRestriction>
</alienRace>
@@ -1330,6 +1358,14 @@
</bodyAddons>
</alienPartGenerator>
</generalSettings>
<raceRestriction>
<onlyEatRaceRestrictedFood>true</onlyEatRaceRestrictedFood>
<recipeList>
<li>ARA_TrainShooting</li>
<li>ARA_TrainMelee</li>
</recipeList>
<onlyDoRaceRestrictedRecipes>false</onlyDoRaceRestrictedRecipes>
</raceRestriction>
</alienRace>
<!-- 基础属性设置 -->
@@ -1455,6 +1491,11 @@
</generalSettings>
<raceRestriction>
<onlyEatRaceRestrictedFood>true</onlyEatRaceRestrictedFood>
<recipeList>
<li>ARA_TrainShooting</li>
<li>ARA_TrainMelee</li>
</recipeList>
<onlyDoRaceRestrictedRecipes>false</onlyDoRaceRestrictedRecipes>
</raceRestriction>
</alienRace>
@@ -1851,6 +1892,13 @@
<li>ARA_RW_Basic_FireSpewer_Gun</li>
<li>ARA_RW_Missile_AR_Gun</li>
</weaponList>
<recipeList>
<li>ARA_TrainShooting</li>
<li>ARA_TrainMelee</li>
<li>ARA_TrainArtistic</li>
<li>ARA_TrainSocial</li>
</recipeList>
<onlyDoRaceRestrictedRecipes>false</onlyDoRaceRestrictedRecipes>
</raceRestriction>
</alienRace>

View File

@@ -66,6 +66,7 @@
<li>ArachnaeNode_Race_Smokepop</li>
<li>ArachnaeNode_Race_Skyraider</li>
<li>ArachnaeNode_Race_NeuroSwarm</li>
<li>ArachnaeNode_Race_Praetorian</li>
<li>ArachnaeQueen_Race</li>
</targetRaces>
</li>

View File

@@ -137,6 +137,9 @@
</blueprintGraphicData>
<canBuildNonEdificesUnder>true</canBuildNonEdificesUnder>
<artificialForMeditationPurposes>false</artificialForMeditationPurposes>
<relatedBuildCommands>
<li>ARA_InsectDoor</li>
</relatedBuildCommands>
</building>
<useStuffTerrainAffordance>false</useStuffTerrainAffordance>
<terrainAffordanceNeeded>Heavy</terrainAffordanceNeeded>
@@ -148,8 +151,6 @@
<repairEffect>EatVegetarian</repairEffect>
<costStuffCount>2</costStuffCount>
<stuffCategories Inherit="False">
<li>Woody</li>
<li>Stony</li>
<li>Metallic</li>
</stuffCategories>
<costList>
@@ -181,6 +182,7 @@
<graphicData>
<texPath>ArachnaeSwarm/Building/Door/ARA_InsectDoor</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<shaderType>CutoutComplex</shaderType>
<shadowData>
<volume>(0.7, 0.6, 0.7)</volume>
<offset>(0,0,-0.1)</offset>
@@ -261,6 +263,9 @@
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>(1.4, 1.2)</drawSize>
</doorSupportGraphic>
<relatedBuildCommands>
<li>ARA_InsectWall</li>
</relatedBuildCommands>
</building>
<uiOrder>2505</uiOrder>
<uiIconPath>ArachnaeSwarm/Building/Door/ARA_InsectDoor_Icon</uiIconPath>
@@ -445,6 +450,9 @@
<bed_showSleeperBody>true</bed_showSleeperBody>
<bed_healPerDay>10</bed_healPerDay>
<bed_defaultMedical>false</bed_defaultMedical>
<relatedTerrain>
<li>ARA_InsectCreep</li>
</relatedTerrain>
</building>
<comps>
<li Class="ArachnaeSwarm.CompProperties_DelayedTerrainSpawn">
@@ -504,6 +512,9 @@
<building>
<workTableRoomRole>Laboratory</workTableRoomRole>
<workTableNotInRoomRoleFactor>0.8</workTableNotInRoomRoleFactor>
<relatedTerrain>
<li>ARA_InsectCreep</li>
</relatedTerrain>
</building>
<comps Inherit="False">
<li Class="CompProperties_ReportWorkSpeed">
@@ -566,6 +577,9 @@
<texPath>ArachnaeSwarm/Building/ARA_SmartThermostat_Blueprint</texPath>
<graphicClass>Graphic_Multi</graphicClass>
</blueprintGraphicData>
<relatedTerrain>
<li>ARA_InsectCreep</li>
</relatedTerrain>
</building>
<researchPrerequisites>
<li>ARA_Technology_6SHL</li>
@@ -598,6 +612,7 @@
<graphicData>
<texPath>ArachnaeSwarm/Building/ARA_Table1x2c</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<shaderType>CutoutComplex</shaderType>
<drawSize>(1.85,2)</drawSize>
<shadowData>
<volume>(0.85, 0.5, 0.5)</volume>
@@ -630,7 +645,16 @@
<size>(1,2)</size>
<terrainAffordanceNeeded>ARA_Creep</terrainAffordanceNeeded>
<designationCategory>ARA_Buildings</designationCategory>
<building>
<relatedTerrain>
<li>ARA_InsectCreep</li>
</relatedTerrain>
</building>
<comps>
<li Class="ArachnaeSwarm.CompProperties_DelayedTerrainSpawn">
<terrainToSpawn>ARA_InsectCreep</terrainToSpawn>
<spawnRadius>3</spawnRadius>
</li>
<li Class="CompProperties_Glower">
<glowRadius>3</glowRadius>
<glowColor>(220,210,171,0)</glowColor>
@@ -647,6 +671,7 @@
<graphicData>
<texPath>ArachnaeSwarm/Building/ARA_Chair</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<shaderType>CutoutComplex</shaderType>
<drawSize>(1,1)</drawSize>
<shadowData>
<volume>(0.5, 0.5, 0.25)</volume>
@@ -689,8 +714,15 @@
<building>
<isSittable>true</isSittable>
<paintable>true</paintable>
<relatedTerrain>
<li>ARA_InsectCreep</li>
</relatedTerrain>
</building>
<comps>
<li Class="ArachnaeSwarm.CompProperties_DelayedTerrainSpawn">
<terrainToSpawn>ARA_InsectCreep</terrainToSpawn>
<spawnRadius>2</spawnRadius>
</li>
<li Class="CompProperties_Glower">
<glowRadius>3</glowRadius>
<glowColor>(220,210,171,0)</glowColor>
@@ -714,6 +746,7 @@
<drawOffset>(0,0,0.2)</drawOffset>
<texPath>ArachnaeSwarm/Building/ARA_Column</texPath>
<graphicClass>Graphic_Single</graphicClass>
<shaderType>CutoutComplex</shaderType>
<shadowData>
<volume>(0.3, 0.5, 0.3)</volume>
<offset>(0,0,-0.23)</offset>
@@ -752,11 +785,18 @@
<isInert>true</isInert>
<ai_chillDestination>false</ai_chillDestination>
<paintable>true</paintable>
<relatedTerrain>
<li>ARA_InsectCreep</li>
</relatedTerrain>
</building>
<placeWorkers>
<li>PlaceWorker_GlowRadius</li>
</placeWorkers>
<comps>
<li Class="ArachnaeSwarm.CompProperties_DelayedTerrainSpawn">
<terrainToSpawn>ARA_InsectCreep</terrainToSpawn>
<spawnRadius>2</spawnRadius>
</li>
<li Class="CompProperties_Glower">
<glowRadius>7</glowRadius>
<glowColor>(220,210,171,0)</glowColor>
@@ -772,6 +812,7 @@
<graphicData>
<texPath>ArachnaeSwarm/Building/ARA_Shelf</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<shaderType>CutoutComplex</shaderType>
<drawSize>(2.25,2.5)</drawSize>
<drawOffset>(0,0,0.2)</drawOffset>
</graphicData>
@@ -802,17 +843,14 @@
<WorkToBuild>2500</WorkToBuild>
</statBases>
<size>(2,2)</size>
<inspectorTabs>
<!-- <inspectorTabs>
<li>ITab_Storage</li>
</inspectorTabs>
</inspectorTabs> -->
<surfaceType>Item</surfaceType>
<canOverlapZones>false</canOverlapZones>
<defaultPlacingRot Inherit="False"/>
<designationCategory>ARA_Buildings</designationCategory>
<building>
<relatedBuildCommands>
<li>Shelf</li>
</relatedBuildCommands>
<storageGroupTag>Shelf</storageGroupTag>
<fixedStorageSettings>
<filter>
@@ -847,25 +885,45 @@
</categories>
</filter>
</defaultStorageSettings>
<relatedTerrain>
<li>ARA_InsectCreep</li>
</relatedTerrain>
</building>
<comps>
<li Class="ArachnaeSwarm.CompProperties_DelayedTerrainSpawn">
<terrainToSpawn>ARA_InsectCreep</terrainToSpawn>
<spawnRadius>5</spawnRadius>
</li>
</comps>
</ThingDef>
<ThingDef ParentName="BenchBase">
<defName>ARA_SkillTraining_Building</defName>
<label>训练台</label>
<description>训练技能</description>
<label>虫爬架</label>
<description>一个供闲置阿拉克涅虫族消磨时间的活体组织,她们可以在消磨时间时顺带练习自己的技能,以免一直发送闲置信号烦扰蜂巢意志。</description>
<thingClass>Building_WorkTable</thingClass>
<drawerType>MapMeshAndRealTime</drawerType>
<graphicData>
<texPath>ArachnaeSwarm/Building/ARA_Shelf</texPath>
<texPath>ArachnaeSwarm/Building/ARA_SkillTraining_Building</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>(2.25,2.5)</drawSize>
<drawOffset>(0,0,0.2)</drawOffset>
<shaderType>CutoutComplex</shaderType>
<drawSize>(2,2)</drawSize>
<drawOffset>(0,0,0)</drawOffset>
<drawRotated>false</drawRotated>
<shadowData>
<volume>(1.3, 1.5, 0.6)</volume>
<offset>(0,0,-0.23)</offset>
</shadowData>
</graphicData>
<castEdgeShadows>true</castEdgeShadows>
<constructEffect>ConstructMetal</constructEffect>
<castEdgeShadows>false</castEdgeShadows>
<costStuffCount>50</costStuffCount>
<stuffCategories Inherit="False">
<li>Woody</li>
<li>Stony</li>
<li>Metallic</li>
</stuffCategories>
<costList>
<Steel>100</Steel>
<ARA_Carapace>20</ARA_Carapace>
</costList>
<altitudeLayer>Building</altitudeLayer>
<fillPercent>0.5</fillPercent>
@@ -894,22 +952,75 @@
</placeWorkers>
<building>
<spawnedConceptLearnOpportunity>BillsTab</spawnedConceptLearnOpportunity>
<relatedTerrain>
<li>ARA_InsectCreep</li>
</relatedTerrain>
</building>
<comps>
<li Class="ArachnaeSwarm.CompProperties_DelayedTerrainSpawn">
<terrainToSpawn>ARA_InsectCreep</terrainToSpawn>
<spawnRadius>5</spawnRadius>
</li>
<li Class="CompProperties_Glower">
<glowRadius>4</glowRadius>
<glowColor>(220,210,171,0)</glowColor>
</li>
</comps>
</ThingDef>
<ThingDef ParentName="BuildingBase">
<defName>ARA_Hibernate_Sac</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>(1,1)</size>
<graphicData>
<texPath>ArachnaeSwarm/Building/ARA_Hibernate_Sac</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>(1.1,1.2)</drawSize>
<shadowData>
<volume>(0.8, 0.8, 0.3)</volume>
</shadowData>
</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>
</statBases>
<uiOrder>2600</uiOrder>
<surfaceType>Item</surfaceType>
<building>
<deconstructible>false</deconstructible>
</building>
<!-- 不可建造,只能通过变形生成 -->
<comps Inherit="False">
<li Class="ArachnaeSwarm.CompProperties_DelayedTerrainSpawn">
<terrainToSpawn>ARA_InsectCreep</terrainToSpawn>
<spawnRadius>3</spawnRadius>
</li>
<li Class="ArachnaeSwarm.CompProperties_Morphable">
<!-- 休息速度增益例如1.0代表200%的速度 -->
<restGainMultiplier>1.0</restGainMultiplier>
<!-- 操作按钮的自定义标签 -->
<gizmoLabel>解除休眠</gizmoLabel>
<!-- 操作按钮的自定义描述 -->
<gizmoDesc>离开休眠状态,饥饿条和睡眠条将清空。</gizmoDesc>
<gizmoIconPath>ArachnaeSwarm/UI/Abilities/ARA_Hibernate_Ability</gizmoIconPath>
</li>
</comps>
</ThingDef>
<WorkGiverDef>
<defName>ARA_SkillTraining_Building_Bills</defName>
<label>训练技能</label>
<giverClass>WorkGiver_DoBill</giverClass>
<workType>Smithing</workType>
<priorityInType>75</priorityInType>
<fixedBillGiverDefs>
<li>ARA_SkillTraining_Building</li>
</fixedBillGiverDefs>
<verb>训练于</verb>
<gerund>训练于</gerund>
<requiredCapacities>
<li>Manipulation</li>
</requiredCapacities>
<prioritizeSustains>true</prioritizeSustains>
</WorkGiverDef>
</Defs>

View File

@@ -91,6 +91,11 @@
<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>
@@ -150,6 +155,9 @@
<ai_chillDestination>false</ai_chillDestination>
<haulToContainerDuration>120</haulToContainerDuration>
<workTableRoomRole>Laboratory</workTableRoomRole>
<relatedTerrain>
<li>ARA_InsectCreep</li>
</relatedTerrain>
</building>
<constructionSkillPrerequisite>4</constructionSkillPrerequisite>
<terrainAffordanceNeeded>ARA_Creep</terrainAffordanceNeeded>
@@ -279,6 +287,9 @@
</modExtensions>
<building>
<isMealSource>true</isMealSource>
<relatedTerrain>
<li>ARA_InsectCreep</li>
</relatedTerrain>
</building>
<interactionCellOffset>(0,0,3)</interactionCellOffset>
<hasInteractionCell>true</hasInteractionCell>
@@ -338,6 +349,9 @@
<building>
<workTableRoomRole>Laboratory</workTableRoomRole>
<workTableNotInRoomRoleFactor>0.8</workTableNotInRoomRoleFactor>
<relatedTerrain>
<li>ARA_InsectCreep</li>
</relatedTerrain>
</building>
<researchPrerequisites>
<li>ARA_Technology_4NPT</li>
@@ -463,6 +477,9 @@
<building>
<workTableRoomRole>Laboratory</workTableRoomRole>
<workTableNotInRoomRoleFactor>0.8</workTableNotInRoomRoleFactor>
<relatedTerrain>
<li>ARA_InsectCreep</li>
</relatedTerrain>
</building>
<comps>
<!-- a. 我们自己的队列生产组件 -->
@@ -675,6 +692,9 @@
<building>
<workTableRoomRole>Laboratory</workTableRoomRole>
<workTableNotInRoomRoleFactor>0.8</workTableNotInRoomRoleFactor>
<relatedTerrain>
<li>ARA_InsectCreep</li>
</relatedTerrain>
</building>
<terrainAffordanceNeeded>ARA_Creep</terrainAffordanceNeeded>
<comps>
@@ -806,6 +826,9 @@
<building>
<workTableRoomRole>Laboratory</workTableRoomRole>
<workTableNotInRoomRoleFactor>0.8</workTableNotInRoomRoleFactor>
<relatedTerrain>
<li>ARA_InsectCreep</li>
</relatedTerrain>
</building>
<terrainAffordanceNeeded>ARA_Creep</terrainAffordanceNeeded>
<comps>

View File

@@ -277,6 +277,7 @@
<graphicData>
<texPath>ArachnaeSwarm/Building/ARA_AutoSniperCannon_Base</texPath>
<graphicClass>Graphic_Single</graphicClass>
<shaderType>CutoutComplex</shaderType>
<drawSize>(3,3)</drawSize>
<drawOffset>(0,0,-0.1)</drawOffset>
<shadowData>
@@ -378,6 +379,9 @@
<turretGunDef>Gun_ARA_AutoSniperCannonTurret</turretGunDef>
<turretBurstWarmupTime>0.1</turretBurstWarmupTime>
<turretTopDrawSize>4.0</turretTopDrawSize>
<relatedTerrain>
<li>ARA_InsectCreep</li>
</relatedTerrain>
</building>
<designationCategory>ARA_Buildings</designationCategory>
<terrainAffordanceNeeded>ARA_Creep</terrainAffordanceNeeded>
@@ -436,6 +440,7 @@
<graphicData>
<texPath>ArachnaeSwarm/Building/ARA_AutoSniperCannon_Base</texPath>
<graphicClass>Graphic_Single</graphicClass>
<shaderType>CutoutComplex</shaderType>
<drawSize>(3,3)</drawSize>
<drawOffset>(0,0,-0.1)</drawOffset>
<shadowData>
@@ -540,6 +545,9 @@
<turretGunDef>ARA_Acidling_Artillery_AutoMortar</turretGunDef>
<turretBurstWarmupTime>10.0</turretBurstWarmupTime>
<turretTopDrawSize>3.0</turretTopDrawSize>
<relatedTerrain>
<li>ARA_InsectCreep</li>
</relatedTerrain>
</building>
<designationCategory>ARA_Buildings</designationCategory>
<terrainAffordanceNeeded>ARA_Creep</terrainAffordanceNeeded>
@@ -612,6 +620,7 @@
<graphicData>
<texPath>ArachnaeSwarm/Building/ARA_CatastropheMissileSilo_Base</texPath>
<graphicClass>Graphic_Single</graphicClass>
<shaderType>CutoutComplex</shaderType>
<drawSize>(5,5)</drawSize>
<drawOffset>(0,0,0)</drawOffset>
<shadowData>
@@ -698,6 +707,9 @@
<buildingTags>
<li>Artillery</li>
</buildingTags>
<relatedTerrain>
<li>ARA_InsectCreep</li>
</relatedTerrain>
</building>
<costStuffCount>300</costStuffCount>
<stuffCategories Inherit="False">

View File

@@ -75,6 +75,9 @@
<terrainAffordanceNeeded>ARA_Creep</terrainAffordanceNeeded>
<building>
<ai_chillDestination>false</ai_chillDestination>
<relatedTerrain>
<li>ARA_InsectCreep</li>
</relatedTerrain>
</building>
<portal>
<traverseSound>TraversePitGate</traverseSound>

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB