This commit is contained in:
2025-09-21 14:20:33 +08:00
parent ec4a6631fd
commit 6000bb58f6
10 changed files with 698 additions and 0 deletions

Binary file not shown.

View File

@@ -0,0 +1,98 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<!-- ==================== A端传送门 ==================== -->
<ThingDef ParentName="BuildingBase">
<defName>ARA_WormholePortal_A</defName>
<label>wormhole portal (A)</label>
<description>The primary control unit of a wormhole network. It can launch a secondary portal to a distant location, establishing a stable connection.</description>
<thingClass>ArachnaeSwarm.Building_WormholePortal_A</thingClass>
<graphicData>
<texPath>Things/Building/Misc/LongRangeMineralScanner</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>(4,4)</drawSize>
<damageData>
<cornerTL>Damage/Corner</cornerTL>
<cornerTR>Damage/Corner</cornerTR>
<cornerBL>Damage/Corner</cornerBL>
<cornerBR>Damage/Corner</cornerBR>
</damageData>
</graphicData>
<altitudeLayer>Building</altitudeLayer>
<passability>Impassable</passability>
<tickerType>Normal</tickerType>
<category>Building</category>
<pathCost>50</pathCost>
<fillPercent>0.5</fillPercent>
<statBases>
<MaxHitPoints>250</MaxHitPoints>
<WorkToBuild>8000</WorkToBuild>
<Flammability>0.5</Flammability>
<Mass>100</Mass>
</statBases>
<size>(2,2)</size>
<costList>
<Plasteel>100</Plasteel>
<ComponentSpacer>6</ComponentSpacer>
</costList>
<comps>
<li Class="CompProperties_Power">
<compClass>CompPowerTrader</compClass>
<basePowerConsumption>500</basePowerConsumption>
</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">
<fuelNeededToLaunch>50</fuelNeededToLaunch>
<maxLaunchDistance>100</maxLaunchDistance>
</li>
</comps>
<designationCategory>Misc</designationCategory>
<building>
<ai_chillDestination>false</ai_chillDestination>
</building>
</ThingDef>
<!-- ==================== B端传送门 ==================== -->
<ThingDef ParentName="BuildingBase">
<defName>ARA_WormholePortal_B</defName>
<label>wormhole portal (B)</label>
<description>A remotely deployed secondary portal. It is linked to a primary portal (A) and allows for two-way travel.</description>
<thingClass>ArachnaeSwarm.Building_WormholePortal_B</thingClass>
<graphicData>
<texPath>Things/Building/Misc/LongRangeMineralScanner</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<color>(150, 150, 250)</color> <!-- A different color to distinguish -->
<drawSize>(4,4)</drawSize>
</graphicData>
<altitudeLayer>Building</altitudeLayer>
<passability>Impassable</passability>
<statBases>
<MaxHitPoints>250</MaxHitPoints>
<Flammability>0.5</Flammability>
</statBases>
<size>(2,2)</size>
<comps>
<li Class="CompProperties_Power">
<compClass>CompPowerTrader</compClass>
<basePowerConsumption>200</basePowerConsumption>
</li>
<li Class="CompProperties_Flickable"/>
</comps>
<tradeability>None</tradeability>
</ThingDef>
<!-- CompProperties for our custom launchable -->
<!-- This is referenced by the li Class above -->
</Defs>