Files
ArachnaeSwarm/1.6/1.6/Defs/Thing_building/ARA_WormholeDefs.xml
2025-10-08 16:13:54 +08:00

126 lines
4.9 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<!-- ==================== A端传送门 ==================== -->
<ThingDef ParentName="BuildingBase">
<defName>ARA_WormholePortal_A</defName>
<label>阿拉克涅坑道种</label>
<description>一只巨大的阿拉克涅辅虫,是阿拉克涅虫洞网络的主体组成部分。它可以接受虫族的指令,向远方的目的地延展自己的尾部以形成一条地下通路,通过头部进入地下通路的物体和人员会被坑道种加压移动从而向尾部快速移动,虫洞允许双向通行。</description>
<thingClass>ArachnaeSwarm.Building_WormholePortal_A</thingClass>
<graphicData>
<texPath>ArachnaeSwarm/Building/ARA_Wormhole_A</texPath>
<graphicClass>Graphic_Single</graphicClass>
<shaderType>CutoutComplex</shaderType>
<drawSize>(4,4)</drawSize>
<shadowData>
<volume>(1.6, 2.5, 1)</volume>
<offset>(0,0,-0.1)</offset>
</shadowData>
</graphicData>
<altitudeLayer>Building</altitudeLayer>
<passability>Impassable</passability>
<fillPercent>1</fillPercent>
<tickerType>Normal</tickerType>
<category>Building</category>
<rotatable>false</rotatable>
<researchPrerequisites>
<li>ARA_Technology_1TUN</li>
</researchPrerequisites>
<statBases>
<MaxHitPoints>1000</MaxHitPoints>
<WorkToBuild>8000</WorkToBuild>
<Flammability>0.5</Flammability>
<Mass>100</Mass>
</statBases>
<uiIconScale>0.85</uiIconScale>
<size>(4,4)</size>
<costList>
<ARA_InsectJelly>50</ARA_InsectJelly>
<ARA_Activated_Bacterium>50</ARA_Activated_Bacterium>
<ARA_Carapace>200</ARA_Carapace>
</costList>
<comps>
<li Class="CompProperties_Glower">
<overlightRadius>7.0</overlightRadius>
<glowRadius>14</glowRadius>
<glowColor>(220,210,171,0)</glowColor>
<colorPickerEnabled>true</colorPickerEnabled>
</li>
<li Class="CompProperties_Flickable"/>
<li Class="ArachnaeSwarm.CompProperties_RefuelableNutrition">
<fuelCapacity>500.0</fuelCapacity>
<fuelFilter>
<thingDefs>
<li>ARA_InsectJelly</li>
</thingDefs>
</fuelFilter>
<fuelGizmoLabel>虫蜜</fuelGizmoLabel>
<showAllowAutoRefuelToggle>true</showAllowAutoRefuelToggle>
<targetFuelLevelConfigurable>true</targetFuelLevelConfigurable>
</li>
<li Class="ArachnaeSwarm.CompProperties_LaunchableWormhole">
<fuelPerTile>2.5</fuelPerTile>
</li>
<li Class="CompProperties_AffectedByFacilities">
<linkableFacilities>
<li>ARA_NutrientNetworkTower</li>
</linkableFacilities>
</li>
<li Class="ArachnaeSwarm.CompProperties_DelayedTerrainSpawn">
<terrainToSpawn>ARA_InsectCreep</terrainToSpawn>
<spawnRadius>5</spawnRadius>
</li>
</comps>
<designationCategory>ARA_Buildings</designationCategory>
<terrainAffordanceNeeded>ARA_Creep</terrainAffordanceNeeded>
<building>
<ai_chillDestination>false</ai_chillDestination>
</building>
<portal>
<traverseSound>TraversePitGate</traverseSound>
</portal>
</ThingDef>
<!-- ==================== B端传送门 ==================== -->
<ThingDef ParentName="BuildingBase">
<defName>ARA_WormholePortal_B</defName>
<label>阿拉克涅坑道种尾部出口</label>
<description>阿拉克涅坑道种的尾巴,是其狭长身躯形成的地下通路的出口。通过尾部进入地下通路的物体和人员会被坑道种加压移动从而向头部快速移动,虫洞允许双向通行。</description>
<thingClass>ArachnaeSwarm.Building_WormholePortal_B</thingClass>
<rotatable>false</rotatable>
<graphicData>
<texPath>ArachnaeSwarm/Building/ARA_Wormhole_B</texPath>
<graphicClass>Graphic_Single</graphicClass>
<shaderType>CutoutComplex</shaderType>
<drawSize>(4,4)</drawSize>
<shadowData>
<volume>(2.6, 2.5, 1.6)</volume>
<offset>(0,0,-0.1)</offset>
</shadowData>
</graphicData>
<altitudeLayer>Building</altitudeLayer>
<passability>Impassable</passability>
<statBases>
<MaxHitPoints>500</MaxHitPoints>
<Flammability>0.5</Flammability>
</statBases>
<size>(2,2)</size>
<comps>
<li Class="CompProperties_Glower">
<overlightRadius>7.0</overlightRadius>
<glowRadius>14</glowRadius>
<glowColor>(220,210,171,0)</glowColor>
<colorPickerEnabled>true</colorPickerEnabled>
</li>
<li Class="CompProperties_Flickable"/>
<li Class="ArachnaeSwarm.CompProperties_DelayedTerrainSpawn">
<terrainToSpawn>ARA_InsectCreep</terrainToSpawn>
<spawnRadius>12</spawnRadius>
</li>
</comps>
<tradeability>None</tradeability>
<portal>
<traverseSound>TraversePitGate</traverseSound>
</portal>
</ThingDef>
</Defs>