183 lines
6.9 KiB
XML
183 lines
6.9 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>
|
|
<minifiedDef>MinifiedThing</minifiedDef>
|
|
<uiIconPath>ArachnaeSwarm/Building/ARA_HiveShip_Heart_Icon</uiIconPath>
|
|
<graphicData>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
<texPath>ArachnaeSwarm/Building/ARA_HiveShip_Heart_Pedestal</texPath>
|
|
<drawSize>(3.25,3.25)</drawSize>
|
|
<addTopAltitudeBias>true</addTopAltitudeBias>
|
|
</graphicData>
|
|
<statBases>
|
|
<MaxHitPoints>1500</MaxHitPoints>
|
|
<Mass>30</Mass>
|
|
<GravshipRange>0</GravshipRange>
|
|
<SubstructureSupport>800</SubstructureSupport>
|
|
<MarketValue>5000</MarketValue>
|
|
</statBases>
|
|
<!-- 应用 ModExtension -->
|
|
<modExtensions>
|
|
<li Class="ArachnaeSwarm.ArachnaeGravEngineExtension">
|
|
<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>Impassable</passability>
|
|
<canOverlapZones>false</canOverlapZones>
|
|
<building>
|
|
<ai_neverTrashThis>true</ai_neverTrashThis>
|
|
<deconstructible>false</deconstructible>
|
|
<relatedBuildCommands>
|
|
<li>GravshipHull</li>
|
|
</relatedBuildCommands>
|
|
<relatedTerrain>
|
|
<li>Substructure</li>
|
|
</relatedTerrain>
|
|
</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>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="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> |