256 lines
9.8 KiB
XML
256 lines
9.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Defs>
|
|
<ThingDef ParentName="GravshipComponentBase">
|
|
<defName>ARA_HiveShip_Heart</defName>
|
|
<label>猎手虫巢舰-心脏</label>
|
|
<description>一艘阿拉克涅虫群猎手虫巢舰的心脏,其功能和人类的逆重引擎类似。</description>
|
|
<thingClass>ArachnaeSwarm.Building_ArachnaeGravEngine</thingClass>
|
|
<drawerType>RealtimeOnly</drawerType>
|
|
<tickerType>Normal</tickerType>
|
|
<uiIconPath>ArachnaeSwarm/Building/ARA_HiveShip_Heart_Icon</uiIconPath>
|
|
<graphicData>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
<texPath>ArachnaeSwarm/Weapon/ARA_Weapon_Empty</texPath>
|
|
<drawSize>(1,1)</drawSize>
|
|
<addTopAltitudeBias>true</addTopAltitudeBias>
|
|
<shadowData>
|
|
<volume>(3, 3, 2)</volume>
|
|
<offset>(0,0,0)</offset>
|
|
</shadowData>
|
|
</graphicData>
|
|
<statBases>
|
|
<MaxHitPoints>1500</MaxHitPoints>
|
|
<Mass>30</Mass>
|
|
<GravshipRange>0</GravshipRange>
|
|
<SubstructureSupport>800</SubstructureSupport>
|
|
<MarketValue>5000</MarketValue>
|
|
</statBases>
|
|
<terrainAffordanceNeeded>ARA_Creep</terrainAffordanceNeeded>
|
|
<researchPrerequisites Inherit="False"/>
|
|
<!-- 应用 ModExtension -->
|
|
<modExtensions>
|
|
<li Class="ArachnaeSwarm.ArachnaeGravEngineExtension">
|
|
<orbTexPath>ArachnaeSwarm/Building/ARA_HiveShip_Heart</orbTexPath>
|
|
<cooldownTexPath>ArachnaeSwarm/Building/ARA_HiveShip_Heart</cooldownTexPath>
|
|
<baseTexPath>ArachnaeSwarm/Building/ARA_HiveShip_Heart_Pedestal</baseTexPath>
|
|
<!-- 独立缩放配置 -->
|
|
<baseScale>(3.5, 3.5)</baseScale> <!-- 基座缩放 -->
|
|
<orbScale>(3.5, 3.5)</orbScale> <!-- 球体正常状态缩放 -->
|
|
<cooldownScale>(3.5, 3.5)</cooldownScale> <!-- 球体冷却状态缩放 -->
|
|
</li>
|
|
</modExtensions>
|
|
<costList>
|
|
<ARA_InsectJelly>50</ARA_InsectJelly>
|
|
<ARA_Carapace>50</ARA_Carapace>
|
|
</costList>
|
|
<size>(3,3)</size>
|
|
<researchPrerequisites Inherit="False"/>
|
|
<staticSunShadowHeight Inherit="False" IsNull="True" />
|
|
<castEdgeShadows>False</castEdgeShadows>
|
|
<fillPercent>0.6</fillPercent>
|
|
<canOverlapZones>false</canOverlapZones>
|
|
<building>
|
|
<ai_neverTrashThis>true</ai_neverTrashThis>
|
|
<deconstructible>false</deconstructible>
|
|
<relatedBuildCommands>
|
|
<li>GravshipHull</li>
|
|
</relatedBuildCommands>
|
|
<blueprintClass>Blueprint_Build</blueprintClass>
|
|
<blueprintGraphicData>
|
|
<texPath>ArachnaeSwarm/Building/ARA_HiveShip_Heart_Icon</texPath>
|
|
<graphicClass>Graphic_Multi</graphicClass>
|
|
<drawSize>(3,3)</drawSize>
|
|
</blueprintGraphicData>
|
|
</building>
|
|
<comps>
|
|
<li Class="CompProperties_SubstructureFootprint">
|
|
<radius>30</radius>
|
|
</li>
|
|
<!-- <li Class="CompProperties_Glower">
|
|
<glowRadius>8</glowRadius>
|
|
<glowColor>(199,136,114,0)</glowColor>
|
|
</li> -->
|
|
<li Class="CompProperties_AffectedByFacilities">
|
|
<linkableFacilities>
|
|
<li>GravFieldExtender</li> <!-- 硬编码 -->
|
|
<li>ARA_PilotConsole</li> <!-- 硬编码 -->
|
|
<li>ARA_HiveShip_Stomach</li>
|
|
<li>ARA_HiveShip_Tail</li>
|
|
<li>FuelOptimizer</li>
|
|
<li>SignalJammer</li>
|
|
<li>PilotSubpersonaCore</li>
|
|
<li>GravshipShieldGenerator</li>
|
|
</linkableFacilities>
|
|
</li>
|
|
<li Class="CompProperties_AmbientSound">
|
|
<sound>GravshipEngine_Ambient</sound>
|
|
</li>
|
|
</comps>
|
|
</ThingDef>
|
|
<ThingDef ParentName="GravshipComponentBase">
|
|
<defName>ARA_PilotConsole</defName>
|
|
<label>猎手虫巢舰-链接器</label>
|
|
<description>链接器是阿拉克涅虫巢用于与猎手虫巢舰进行交流的平台。</description>
|
|
<graphicData>
|
|
<graphicClass>Graphic_Multi</graphicClass>
|
|
<texPath>Things/Building/PilotConsole/PilotConsole</texPath>
|
|
<drawSize>(3.7, 2.6)</drawSize>
|
|
</graphicData>
|
|
<statBases>
|
|
<MaxHitPoints>150</MaxHitPoints>
|
|
<Mass>50</Mass>
|
|
<Flammability>0</Flammability>
|
|
<Beauty>0</Beauty>
|
|
<WorkToBuild>2500</WorkToBuild>
|
|
</statBases>
|
|
<size>(3, 3)</size>
|
|
<rotatable>true</rotatable>
|
|
<fillPercent>0.4</fillPercent>
|
|
<passability>Standable</passability>
|
|
<pathCost>14</pathCost>
|
|
<canOverlapZones>false</canOverlapZones>
|
|
<terrainAffordanceNeeded>ARA_Creep</terrainAffordanceNeeded>
|
|
<researchPrerequisites Inherit="False"/>
|
|
<costList>
|
|
<Steel>140</Steel>
|
|
<ComponentIndustrial>3</ComponentIndustrial>
|
|
</costList>
|
|
<resourcesFractionWhenDeconstructed>1</resourcesFractionWhenDeconstructed>
|
|
<constructionSkillPrerequisite>4</constructionSkillPrerequisite>
|
|
<hasInteractionCell>true</hasInteractionCell>
|
|
<interactionCellOffset>(0, 0, 0)</interactionCellOffset>
|
|
<comps>
|
|
<li Class="CompProperties_GravshipFacility">
|
|
<compClass>CompPilotConsole</compClass>
|
|
<componentTypeDef>Controls</componentTypeDef>
|
|
<requiresLOS>false</requiresLOS>
|
|
<showMaxSimultaneous>false</showMaxSimultaneous>
|
|
<maxSimultaneous>1</maxSimultaneous>
|
|
<maxDistance>200</maxDistance>
|
|
</li>
|
|
<li Class="CompProperties_Breakdownable" />
|
|
<!-- 新添加的损坏禁用器 -->
|
|
<li Class="ArachnaeSwarm.CompProperties_BreakdownDisabler">
|
|
<logRepairs>true</logRepairs>
|
|
<showVisualFeedback>true</showVisualFeedback>
|
|
</li>
|
|
</comps>
|
|
<uiOrder>2100</uiOrder>
|
|
</ThingDef>
|
|
<ThingDef ParentName="FuelTankBase">
|
|
<defName>ARA_HiveShip_Stomach</defName>
|
|
<label>猎手虫巢舰-胃囊</label>
|
|
<description>阿拉克涅虫群猎手虫巢舰的胃囊,它可以储存供虫巢舰进行移动的生物质。</description>
|
|
<graphicData>
|
|
<graphicClass>Graphic_Multi</graphicClass>
|
|
<texPath>ArachnaeSwarm/Building/ARA_HiveShip_Stomach</texPath>
|
|
<drawSize>(2, 2)</drawSize>
|
|
<shadowData>
|
|
<volume>(0.8, 0.8, 1)</volume>
|
|
<offset>(0,0,0)</offset>
|
|
</shadowData>
|
|
</graphicData>
|
|
<statBases>
|
|
<MaxHitPoints>200</MaxHitPoints>
|
|
<Mass>30</Mass>
|
|
<Flammability>1</Flammability>
|
|
<Beauty>-10</Beauty>
|
|
<WorkToBuild>2000</WorkToBuild>
|
|
</statBases>
|
|
<size>(2, 2)</size>
|
|
<costList>
|
|
<ARA_InsectJelly>15</ARA_InsectJelly>
|
|
<ARA_Carapace>50</ARA_Carapace>
|
|
</costList>
|
|
<researchPrerequisites Inherit="False"/>
|
|
<comps>
|
|
<li Class="CompProperties_Refuelable">
|
|
<fuelCapacity>100</fuelCapacity>
|
|
<targetFuelLevelConfigurable>true</targetFuelLevelConfigurable>
|
|
<initialConfigurableTargetFuelLevel>250</initialConfigurableTargetFuelLevel>
|
|
<fuelFilter>
|
|
<thingDefs>
|
|
<li>ARA_InsectJelly</li>
|
|
</thingDefs>
|
|
</fuelFilter>
|
|
<fuelLabel>营养</fuelLabel>
|
|
<fuelGizmoLabel>营养</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>猎手虫巢舰-触须</label>
|
|
<description>猎手虫巢舰用于移动的器官。</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>
|
|
<researchPrerequisites Inherit="False"/>
|
|
<costList>
|
|
<Steel>180</Steel>
|
|
<ComponentIndustrial>4</ComponentIndustrial>
|
|
</costList>
|
|
<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>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>16</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>0~0</scaleRange>
|
|
</exhaustSettings>
|
|
</li>
|
|
<li Class="CompProperties_Breakdownable" />
|
|
<!-- 新添加的损坏禁用器 -->
|
|
<li Class="ArachnaeSwarm.CompProperties_BreakdownDisabler">
|
|
<logRepairs>true</logRepairs>
|
|
<showVisualFeedback>true</showVisualFeedback>
|
|
</li>
|
|
</comps>
|
|
</ThingDef>
|
|
</Defs> |