This commit is contained in:
2025-10-24 12:02:38 +08:00
parent 15575c6486
commit e7daa86280
12 changed files with 413 additions and 138 deletions

Binary file not shown.

View File

@@ -3,15 +3,16 @@
<ThingDef ParentName="GravshipComponentBase">
<defName>ARA_HiveShip_Heart</defName>
<label>猎手虫巢舰-心脏</label>
<description>一艘阿拉克涅虫群猎手虫巢舰的心脏其功能和人类的逆重引擎类似</description>
<description>一艘阿拉克涅虫群猎手虫巢舰的心脏其功能和人类的逆重引擎类似</description>
<thingClass>ArachnaeSwarm.Building_ArachnaeGravEngine</thingClass>
<drawerType>RealtimeOnly</drawerType>
<tickerType>Normal</tickerType>
<minifiedDef>MinifiedThing</minifiedDef>
<uiIconPath>ArachnaeSwarm/Building/ARA_HiveShip_Heart_Icon</uiIconPath>
<graphicData>
<graphicClass>Graphic_Single</graphicClass>
<texPath>Things/Building/GravEngine/GravEngine</texPath>
<drawSize>(3,3)</drawSize>
<texPath>ArachnaeSwarm/Building/ARA_HiveShip_Heart_Pedestal</texPath>
<drawSize>(3.25,3.25)</drawSize>
<addTopAltitudeBias>true</addTopAltitudeBias>
</graphicData>
<statBases>
@@ -24,17 +25,15 @@
<!-- 应用 ModExtension -->
<modExtensions>
<li Class="ArachnaeSwarm.ArachnaeGravEngineExtension">
<inspectCommandTexPath>UI/Commands/ArachnaeInspect</inspectCommandTexPath>
<orbTexPath>Things/Building/ArachnaeGravEngine/ArachnaeGravEngine_Orb</orbTexPath>
<cooldownTexPath>Things/Building/ArachnaeGravEngine/ArachnaeGravEngine_Cooldown</cooldownTexPath>
<swarmIconPath>UI/Icons/ArachnaeSwarm</swarmIconPath>
<inspectCommandTexPath>UI/Commands/Inspect</inspectCommandTexPath>
<orbTexPath>ArachnaeSwarm/Building/ARA_HiveShip_Heart</orbTexPath>
<cooldownTexPath>ArachnaeSwarm/Building/ARA_HiveShip_Heart</cooldownTexPath>
</li>
</modExtensions>
<size>(3,3)</size>
<castEdgeShadows>true</castEdgeShadows>
<fillPercent>0.6</fillPercent>
<passability>PassThroughOnly</passability>
<pathCost>20</pathCost>
<passability>Impassable</passability>
<canOverlapZones>false</canOverlapZones>
<building>
<ai_neverTrashThis>true</ai_neverTrashThis>
@@ -48,20 +47,18 @@
</building>
<comps>
<li Class="CompProperties_SubstructureFootprint">
<radius>18.9</radius>
<radius>30</radius>
</li>
<li Class="CompProperties_Glower">
<glowRadius>8</glowRadius>
<glowColor>(0,218,255,0)</glowColor>
<glowColor>(199,136,114,0)</glowColor>
</li>
<li Class="CompProperties_AffectedByFacilities">
<linkableFacilities>
<li>GravFieldExtender</li>
<li>PilotConsole</li>
<li>ChemfuelTank</li>
<li>LargeChemfuelTank</li>
<li>SmallThruster</li>
<li>LargeThruster</li>
<li>GravFieldExtender</li> <!-- 硬编码 -->
<li>PilotConsole</li> <!-- 硬编码 -->
<li>ARA_HiveShip_Stomach</li>
<li>ARA_HiveShip_Tail</li>
<li>FuelOptimizer</li>
<li>SignalJammer</li>
<li>PilotSubpersonaCore</li>
@@ -73,4 +70,114 @@
</li>
</comps>
</ThingDef>
<ThingDef ParentName="FuelTankBase">
<defName>ARA_HiveShip_Stomach</defName>
<label>猎手虫巢舰-胃囊</label>
<description>阿拉克涅虫群猎手虫巢舰的胃囊,它可以储存供虫巢舰进行移动的生物质。</description>
<graphicData>
<graphicClass>Graphic_Multi</graphicClass>
<texPath>Things/Building/ChemfuelTank/ChemfuelTank</texPath>
<drawSize>(2, 2)</drawSize>
</graphicData>
<statBases>
<MaxHitPoints>200</MaxHitPoints>
<Mass>30</Mass>
<Flammability>1</Flammability>
<Beauty>-10</Beauty>
<WorkToBuild>2000</WorkToBuild>
</statBases>
<size>(2, 2)</size>
<costList>
<Steel>120</Steel>
</costList>
<researchPrerequisites>
<li>BasicGravtech</li>
</researchPrerequisites>
<comps>
<li Class="CompProperties_Refuelable">
<fuelCapacity>250</fuelCapacity>
<targetFuelLevelConfigurable>true</targetFuelLevelConfigurable>
<initialConfigurableTargetFuelLevel>250</initialConfigurableTargetFuelLevel>
<fuelFilter>
<thingDefs>
<li>Chemfuel</li>
</thingDefs>
</fuelFilter>
<fuelLabel>Chemfuel</fuelLabel>
<fuelGizmoLabel>Chemfuel</fuelGizmoLabel>
<consumeFuelOnlyWhenUsed>true</consumeFuelOnlyWhenUsed>
<autoRefuelPercent>1</autoRefuelPercent>
<showFuelGizmo>true</showFuelGizmo>
<drawOutOfFuelOverlay>false</drawOutOfFuelOverlay>
<showAllowAutoRefuelToggle>true</showAllowAutoRefuelToggle>
<canEjectFuel>true</canEjectFuel>
<drawFuelGaugeInMap>false</drawFuelGaugeInMap>
</li>
</comps>
</ThingDef>
<ThingDef ParentName="ThrusterBase">
<defName>ARA_HiveShip_Tail</defName>
<label>small thruster</label>
<description>A chemfuel thruster that increases the range of a gravship. Thrusters require an unobstructed area free of large buildings and gravship substructure.\n\nA gravship can support up to four small thrusters.</description>
<graphicData>
<graphicClass>Graphic_Multi</graphicClass>
<texPath>Things/Building/SmallThruster/SmallThruster</texPath>
<drawSize>(1.1, 2.2)</drawSize>
<shadowData>
<volume>(1, 1, 2)</volume>
</shadowData>
</graphicData>
<statBases>
<MaxHitPoints>250</MaxHitPoints>
<Flammability>0</Flammability>
<Beauty>-10</Beauty>
<WorkToBuild>10000</WorkToBuild>
<Mass>20</Mass>
</statBases>
<size>(1, 2)</size>
<constructionSkillPrerequisite>4</constructionSkillPrerequisite>
<costList>
<Steel>180</Steel>
<ComponentIndustrial>4</ComponentIndustrial>
</costList>
<researchPrerequisites>
<li>BasicGravtech</li>
</researchPrerequisites>
<comps>
<li Class="CompProperties_GravshipThruster">
<statOffsets>
<GravshipRange>10</GravshipRange>
</statOffsets>
<componentTypeDef>Thruster</componentTypeDef>
<exclusionAreaSize>(1, 0, 5)</exclusionAreaSize>
<exclusionAreaOffset>(0, 0, -5)</exclusionAreaOffset>
<directionInfluence>20</directionInfluence>
<flameSize>4.0</flameSize>
<flameOffsetsPerDirection>
<li>(0, 0, 0.5)</li>
<li>(0, 0, 0.5)</li>
<li>(0, 0, 0.5)</li>
<li>(0, 0, 0.5)</li>
</flameOffsetsPerDirection>
<flameShaderType>MoteGlow</flameShaderType>
<flameShaderParameters>
<_MainTex>/Things/Mote/SmallThruster_Burn</_MainTex>
</flameShaderParameters>
<requiresLOS>false</requiresLOS>
<maxSimultaneous>4</maxSimultaneous>
<maxDistance>500</maxDistance>
<exhaustSettings>
<exhaustFleckDef>GravshipThrusterExhaust</exhaustFleckDef>
<emissionsPerSecond>40.0</emissionsPerSecond>
<spawnRadiusRange>0.0~0.5</spawnRadiusRange>
<velocity>(0.0,0.0,-20.0)</velocity>
<velocityRotationRange>-10.0~10.0</velocityRotationRange>
<velocityMultiplierRange>0.8~1.2</velocityMultiplierRange>
<rotationOverTimeRange>-180.0~180.0</rotationOverTimeRange>
<scaleRange>1.5~3.0</scaleRange>
</exhaustSettings>
</li>
<li Class="CompProperties_Breakdownable" />
</comps>
</ThingDef>
</Defs>