This commit is contained in:
2025-10-21 17:34:41 +08:00
parent a3ca5040e0
commit ef79645c19
19 changed files with 1319 additions and 92 deletions

Binary file not shown.

View File

@@ -1469,8 +1469,29 @@
<angleOffset>0</angleOffset>
<autoAttack>true</autoAttack>
</li>
<li Class="ArachnaeSwarm.HediffCompProperties_DrawMote">
<mote>ARA_Mote_Hivelord_Turret_Range</mote> <!-- 大小和range没有严格对应关系需要自己试出来drawSize -->
<hideMoteWhenNotDrafted>true</hideMoteWhenNotDrafted>
</li>
</comps>
</HediffDef>
<ThingDef ParentName="MoteBase">
<defName>ARA_Mote_Hivelord_Turret_Range</defName>
<thingClass>MoteAttached</thingClass>
<altitudeLayer>LightingOverlay</altitudeLayer>
<drawOffscreen>true</drawOffscreen>
<mote>
<solidTime>9999999</solidTime>
<needsMaintenance>true</needsMaintenance>
</mote>
<graphicData>
<graphicClass>Graphic_Mote</graphicClass>
<texPath>Things/Mote/CombatCommandMask</texPath>
<shaderType>MoteGlow</shaderType>
<color>(32, 17, 0, 255)</color>
<drawSize>66</drawSize>
</graphicData>
</ThingDef>
<AbilityDef>
<defName>ARA_Skyraider_Empthrower</defName>
<label>空天种转换——电磁风暴</label>
@@ -1559,8 +1580,29 @@
<angleOffset>0</angleOffset>
<autoAttack>true</autoAttack>
</li>
<li Class="ArachnaeSwarm.HediffCompProperties_DrawMote">
<mote>ARA_Mote_Empthrower_Turret_Range</mote>
<hideMoteWhenNotDrafted>true</hideMoteWhenNotDrafted>
</li>
</comps>
</HediffDef>
<ThingDef ParentName="MoteBase">
<defName>ARA_Mote_Empthrower_Turret_Range</defName>
<thingClass>MoteAttached</thingClass>
<altitudeLayer>LightingOverlay</altitudeLayer>
<drawOffscreen>true</drawOffscreen>
<mote>
<solidTime>9999999</solidTime>
<needsMaintenance>true</needsMaintenance>
</mote>
<graphicData>
<graphicClass>Graphic_Mote</graphicClass>
<texPath>Things/Mote/CombatCommandMask</texPath>
<shaderType>MoteGlow</shaderType>
<color>(13, 191, 200, 25)</color>
<drawSize>51</drawSize>
</graphicData>
</ThingDef>
<!-- 禁卫种 -->
<HediffDef>

View File

@@ -39,10 +39,10 @@
<raidCommonalityFromPointsCurve>
<points>
<li>(300, 0)</li>
<li>(700, 0)</li>
<li>(1400, 0)</li>
<li>(2800, 0)</li>
<li>(4000, 0)</li>
<li>(700, 1)</li>
<li>(1400, 1.8)</li>
<li>(2800, 2.2)</li>
<li>(4000, 2.6)</li>
</points>
</raidCommonalityFromPointsCurve>
<pawnGroupMakers>
@@ -77,7 +77,7 @@
</options>
</li>
</pawnGroupMakers>
<!-- <raidLootMaker>MechanoidRaidLootMaker</raidLootMaker> -->
<raidLootMaker>ARA_Hostile_Hive_RaidLootMaker</raidLootMaker>
<raidLootValueFromPointsCurve>
<points>
<li>(35, 8)</li>
@@ -85,6 +85,7 @@
<li>(1000, 250)</li>
<li>(2000, 400)</li>
<li>(4000, 500)</li>
<li>(10000, 1500)</li>
</points>
</raidLootValueFromPointsCurve>
<humanlikeFaction>true</humanlikeFaction>
@@ -96,7 +97,7 @@
<li>Cloth</li>
</thingDefs>
</apparelStuffFilter>
<earliestRaidDays>0</earliestRaidDays>
<earliestRaidDays>45</earliestRaidDays>
<permanentEnemy>true</permanentEnemy>
<hostileToFactionlessHumanlikes>true</hostileToFactionlessHumanlikes>
<maxPawnCostPerTotalPointsCurve>
@@ -116,4 +117,17 @@
<li MayRequire="Ludeon.RimWorld.Biotech">Children</li>
</disallowedRaidAgeRestrictions>
</FactionDef>
<ThingSetMakerDef>
<defName>ARA_Hostile_Hive_RaidLootMaker</defName>
<root Class="ThingSetMaker_MarketValue">
<fixedParams>
<filter>
<thingDefs>
<li>ARA_InsectJelly</li>
<li>ARA_Carapace</li>
</thingDefs>
</filter>
</fixedParams>
</root>
</ThingSetMakerDef>
</Defs>

View File

@@ -718,6 +718,12 @@
</recipes>
<comps>
<li Class="ArachnaeSwarm.CompProperties_UniquePawn">
<globalVariable>Unique_Arachnae_Queen</globalVariable>
<showDeathMessage>true</showDeathMessage>
<deathMessageKey>ARA_QueenAlreadyExists</deathMessageKey>
<!-- <killDamageDef>AcidBurn</killDamageDef> -->
</li>
<li Class="ArachnaeSwarm.CompProperties_HediffGiver">
<hediffs>
<li>ARA_Queen_0_Stage</li>

View File

@@ -411,8 +411,8 @@
<warmupTime>0.5</warmupTime>
<defaultProjectile>Bullet_ARA_RW_Toxic_Needle_MG</defaultProjectile>
<range>25.9</range>
<burstShotCount>36</burstShotCount>
<ticksBetweenBurstShots>2</ticksBetweenBurstShots>
<burstShotCount>28</burstShotCount>
<ticksBetweenBurstShots>4</ticksBetweenBurstShots>
<soundCast>SpitterSpit</soundCast>
<targetParams>
<canTargetLocations>true</canTargetLocations>
@@ -2131,13 +2131,13 @@
<tradeability>None</tradeability>
<thingSetMakerTags Inherit="False" />
<comps>
<li Class="ArachnaeSwarm.CompProperties_ExtraIncubationInfo">
<!-- <li Class="ArachnaeSwarm.CompProperties_ExtraIncubationInfo">
<cocoonDefs>
<li>ARA_Cocoon_Weapon</li>
<li>ARA_Cocoon_Weapon_From_Death</li>
<li>ARA_BioforgeIncubator_Thing</li>
</cocoonDefs>
</li>
</li> -->
<li Class="ArachnaeSwarm.CompProperties_CustomUniqueWeapon" MayRequire="Ludeon.RimWorld.Odyssey">
<forcedTraits>
<li>ARA_Weapon_Damage_Icez</li>

View File

@@ -120,10 +120,6 @@
<CleaningTimeFactor>0.6</CleaningTimeFactor>
<Beauty>2</Beauty>
</statBases>
<costList>
<Steel>2</Steel>
<ARA_Carapace>1</ARA_Carapace>
</costList>
<pathCost>10</pathCost>
<constructEffect>ConstructMetal</constructEffect>
<constructionSkillPrerequisite>6</constructionSkillPrerequisite>

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<ThingDef Name="ARA_InteractiveEggSac_Base" ParentName="BuildingNaturalBase" Abstract="True">
<thingClass>Building</thingClass>
<thingClass>ArachnaeSwarm.Building_Incubatable</thingClass>
<category>Building</category>
<size>(1,1)</size>
<!-- <minifiedDef>MinifiedThing</minifiedDef> -->
@@ -21,6 +21,7 @@
<rotatable>false</rotatable>
<tickerType>Normal</tickerType>
<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
<minifiedDef>MinifiedThing</minifiedDef>
<statBases>
<Mass>10</Mass>
<MaxHitPoints>20</MaxHitPoints>
@@ -498,71 +499,39 @@
</li>
</comps>
</ThingDef>
<!-- 科技 -->
<ThingDef ParentName="ARA_CocoonSpew_Base_Proj">
<defName>ARA_Proj_EggSac_Techprint</defName>
<graphicData>
<texPath>ArachnaeSwarm/Building/ARA_InteractiveEggSac_Techprint</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<projectile>
<spawnsThingDef>ARA_InteractiveEggSac_Techprint</spawnsThingDef>
</projectile>
</ThingDef>
<ThingDef ParentName="ARA_Cocoon_Base">
<defName>ARA_InteractiveEggSac_Techprint</defName>
<label>阿拉克涅基因试验卵</label>
<description>一个脆弱、易燃、黏滑的囊状物,它无法孵化任何督虫,而是可以孵化一些特定的科技蓝图,阿拉克涅女皇种可以通过与其交互将其激活。\n\n该虫卵需要使用大量精华素维持工作并且能研究的项目以其落地时的研究完成度为准那些尚未解锁的科技将无法孵化其蓝图。</description>
<statBases>
<MarketValue>2000</MarketValue>
</statBases>
<!-- 女皇卵 -->
<ThingDef ParentName="ARA_InteractiveEggSac_Base">
<defName>ARA_InteractiveEggSac_Queen</defName>
<label>阿拉克涅女皇种卵囊</label>
<description>用于孵化阿拉克涅女皇种的超巨型卵囊,表皮坚硬地堪比堡垒,内部蕴含的遗传物质和营养足以孵化出这个星球闻所未闻的庞然大物。</description>
<descriptionHyperlinks>
<ThingDef>ARA_Gene_Essence</ThingDef>
<ThingDef>ArachnaeQueen_Race</ThingDef>
</descriptionHyperlinks>
<graphicData>
<texPath>ArachnaeSwarm/Building/ARA_InteractiveEggSac_Techprint</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>(1.1,1.1)</drawSize>
<shadowData>
<volume>(0.7, 0.4, 0.7)</volume>
<offset>(0,0,-0.1)</offset>
</shadowData>
<color>(0.9, 0.9 ,0.5)</color>
<drawSize>(3,3)</drawSize>
</graphicData>
<statBases>
<MarketValue>1200</MarketValue>
</statBases>
<size>(3,3)</size>
<comps>
<!-- The new, GrowthVat-style fuel component -->
<li Class="ArachnaeSwarm.CompProperties_RefuelableNutrition">
<fuelCapacity>100</fuelCapacity>
<fuelLabel>精华素</fuelLabel>
<fuelFilter>
<thingDefs>
<li>ARA_Gene_Essence</li>
</thingDefs>
</fuelFilter>
<fuelConsumptionRate>0</fuelConsumptionRate> <!-- IMPORTANT: Disable base class consumption -->
<showAllowAutoRefuelToggle>false</showAllowAutoRefuelToggle>
<initialFuelPercent>0.02</initialFuelPercent>
<autoRefuelPercent>1</autoRefuelPercent>
<initialConfigurableTargetFuelLevel>0</initialConfigurableTargetFuelLevel>
<li Class="CompProperties_Glower">
<glowRadius>12</glowRadius>
<glowColor>(230, 230, 128, 0)</glowColor>
</li>
<!-- 研究生产组件 -->
<li Class="ArachnaeSwarm.CompProperties_ResearchProducer">
<whitelist>
<li Class="ArachnaeSwarm.CompProperties_SpawnPawnFromList">
<spawnablePawns>
<li>
<pawnKind>ARA_ArachnaeQueen</pawnKind>
<delayTicks>180000</delayTicks>
</li>
</spawnablePawns>
<!-- <whitelist>
<li>ARA_ArachnaeQueen</li>
</whitelist>
</whitelist> -->
<destroyOnSpawn>true</destroyOnSpawn>
<damagePerTickWhenUnfueled>0.2</damagePerTickWhenUnfueled>
<minNutritionToStart>1.0</minNutritionToStart>
<nutritionPerResearchPoint>0.06</nutritionPerResearchPoint>
<productionTicksPerResearchPoint>30</productionTicksPerResearchPoint>
</li>
<li Class="ArachnaeSwarm.CompProperties_TemperatureRuinableDamage">
<minSafeTemperature>-30</minSafeTemperature>
<maxSafeTemperature>55</maxSafeTemperature>
<progressPerDegreePerTick>0.00005</progressPerDegreePerTick>
<damagePerTick>0.005</damagePerTick>
<recoveryRate>0.001</recoveryRate>
</li>
</comps>
</ThingDef>
@@ -1440,4 +1409,72 @@
</li>
</comps>
</ThingDef>
<!-- 科技 -->
<ThingDef ParentName="ARA_CocoonSpew_Base_Proj">
<defName>ARA_Proj_EggSac_Techprint</defName>
<graphicData>
<texPath>ArachnaeSwarm/Building/ARA_InteractiveEggSac_Techprint</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<projectile>
<spawnsThingDef>ARA_InteractiveEggSac_Techprint</spawnsThingDef>
</projectile>
</ThingDef>
<ThingDef ParentName="ARA_Cocoon_Base">
<defName>ARA_InteractiveEggSac_Techprint</defName>
<label>阿拉克涅基因试验卵</label>
<description>一个脆弱、易燃、黏滑的囊状物,它无法孵化任何督虫,而是可以孵化一些特定的科技蓝图,阿拉克涅女皇种可以通过与其交互将其激活。\n\n该虫卵需要使用大量精华素维持工作并且能研究的项目以其落地时的研究完成度为准那些尚未解锁的科技将无法孵化其蓝图。</description>
<statBases>
<MarketValue>2000</MarketValue>
</statBases>
<descriptionHyperlinks>
<ThingDef>ARA_Gene_Essence</ThingDef>
</descriptionHyperlinks>
<graphicData>
<texPath>ArachnaeSwarm/Building/ARA_InteractiveEggSac_Techprint</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>(1.1,1.1)</drawSize>
<shadowData>
<volume>(0.7, 0.4, 0.7)</volume>
<offset>(0,0,-0.1)</offset>
</shadowData>
</graphicData>
<comps>
<!-- The new, GrowthVat-style fuel component -->
<li Class="ArachnaeSwarm.CompProperties_RefuelableNutrition">
<fuelCapacity>100</fuelCapacity>
<fuelLabel>精华素</fuelLabel>
<fuelFilter>
<thingDefs>
<li>ARA_Gene_Essence</li>
</thingDefs>
</fuelFilter>
<fuelConsumptionRate>0</fuelConsumptionRate> <!-- IMPORTANT: Disable base class consumption -->
<showAllowAutoRefuelToggle>false</showAllowAutoRefuelToggle>
<initialFuelPercent>0.02</initialFuelPercent>
<autoRefuelPercent>1</autoRefuelPercent>
<initialConfigurableTargetFuelLevel>0</initialConfigurableTargetFuelLevel>
</li>
<!-- 研究生产组件 -->
<li Class="ArachnaeSwarm.CompProperties_ResearchProducer">
<whitelist>
<li>ARA_ArachnaeQueen</li>
</whitelist>
<destroyOnSpawn>true</destroyOnSpawn>
<damagePerTickWhenUnfueled>0.2</damagePerTickWhenUnfueled>
<minNutritionToStart>1.0</minNutritionToStart>
<nutritionPerResearchPoint>0.06</nutritionPerResearchPoint>
<productionTicksPerResearchPoint>30</productionTicksPerResearchPoint>
</li>
<li Class="ArachnaeSwarm.CompProperties_TemperatureRuinableDamage">
<minSafeTemperature>-30</minSafeTemperature>
<maxSafeTemperature>55</maxSafeTemperature>
<progressPerDegreePerTick>0.00005</progressPerDegreePerTick>
<damagePerTick>0.005</damagePerTick>
<recoveryRate>0.001</recoveryRate>
</li>
</comps>
</ThingDef>
</Defs>

View File

@@ -221,9 +221,6 @@
</building>
<repairEffect>EatVegetarian</repairEffect>
<filthLeaving>Filth_Slime</filthLeaving>
<costList>
<Steel>20</Steel>
</costList>
<statBases>
<MaxHitPoints>10</MaxHitPoints>
<Mass>4</Mass>

View File

@@ -93,4 +93,9 @@
<ARA_NeedSpecificArachnaeToStartResearchProduction>需要{0}才能开始研究生产</ARA_NeedSpecificArachnaeToStartResearchProduction>
<researchProjectsAvailable>可用的研究项目</researchProjectsAvailable>
<ARA_TechprintProductionComplete>生产完成:{0}个{1}{2}研究所需)</ARA_TechprintProductionComplete>
<ARA_QueenAlreadyExists>新诞生女皇种被基因性痉挛杀死了——由于阿拉克涅虫群在蜂巢意识层面上的结构性保护,一个虫巢只能有一只女皇种。</ARA_QueenAlreadyExists>
<ARA_ResurrectionPrevented>没有来自更高级节点的允许,{0} 将从基因层面拒绝任何复活。</ARA_ResurrectionPrevented>
<CannotBeUninstalled>孵化期间无法重新安装</CannotBeUninstalled>
</LanguageData>