暂存
This commit is contained in:
Binary file not shown.
@@ -4,7 +4,7 @@
|
||||
<JobDef>
|
||||
<defName>ARA_DeployWormhole</defName>
|
||||
<driverClass>ArachnaeSwarm.JobDriver_DeployWormhole</driverClass>
|
||||
<reportString>deploying wormhole.</reportString>
|
||||
<reportString>正在部署虫洞。</reportString>
|
||||
<allowOpportunisticPrefix>true</allowOpportunisticPrefix>
|
||||
</JobDef>
|
||||
|
||||
|
||||
@@ -4,19 +4,18 @@
|
||||
<!-- ==================== 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>
|
||||
<label>阿拉克涅坑道虫虫洞</label>
|
||||
<description>阿拉克涅虫洞网络的主体组成部分。它可以向远方发射尾巴作为虫洞出口,它是阿拉克涅坑道虫头部的一部分,装入虫洞的物体会被坑道虫加压移动从而快速旅行,虫洞允许双向通行。</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>
|
||||
<texPath>ArachnaeSwarm/Building/ARA_Wormhole_A</texPath>
|
||||
<graphicClass>Graphic_Single</graphicClass>
|
||||
<shaderType>CutoutComplex</shaderType>
|
||||
<drawSize>(2.2,2.2)</drawSize>
|
||||
<shadowData>
|
||||
<volume>(1.6, 0.5, 1.6)</volume>
|
||||
<offset>(0,0,-0.1)</offset>
|
||||
</shadowData>
|
||||
</graphicData>
|
||||
<altitudeLayer>Building</altitudeLayer>
|
||||
<passability>Impassable</passability>
|
||||
@@ -35,10 +34,6 @@
|
||||
<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>
|
||||
@@ -52,11 +47,10 @@
|
||||
<targetFuelLevelConfigurable>true</targetFuelLevelConfigurable>
|
||||
</li>
|
||||
<li Class="ArachnaeSwarm.CompProperties_LaunchableWormhole">
|
||||
<fuelNeededToLaunch>50</fuelNeededToLaunch>
|
||||
<maxLaunchDistance>100</maxLaunchDistance>
|
||||
<fuelPerTile>2.5</fuelPerTile>
|
||||
</li>
|
||||
</comps>
|
||||
<designationCategory>Misc</designationCategory>
|
||||
<designationCategory>ARA_Buildings</designationCategory>
|
||||
<building>
|
||||
<ai_chillDestination>false</ai_chillDestination>
|
||||
</building>
|
||||
@@ -68,14 +62,18 @@
|
||||
<!-- ==================== 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>
|
||||
<label>阿拉克涅坑道虫虫洞出口</label>
|
||||
<description>一个被远程部署的虫洞出口。它是阿拉克涅坑道虫尾巴的一部分,装入虫洞的物体会被坑道虫加压移动从而快速旅行,虫洞允许双向通行。</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>
|
||||
<texPath>ArachnaeSwarm/Building/ARA_Wormhole_B</texPath>
|
||||
<graphicClass>Graphic_Single</graphicClass>
|
||||
<shaderType>CutoutComplex</shaderType>
|
||||
<drawSize>(2.2,2.2)</drawSize>
|
||||
<shadowData>
|
||||
<volume>(1.6, 0.5, 1.6)</volume>
|
||||
<offset>(0,0,-0.1)</offset>
|
||||
</shadowData>
|
||||
</graphicData>
|
||||
<altitudeLayer>Building</altitudeLayer>
|
||||
<passability>Impassable</passability>
|
||||
@@ -85,10 +83,6 @@
|
||||
</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>
|
||||
|
||||
21
1.6/1.6/Defs/WorldObjectDefs/ARA_Wormhole_WorldObjects.xml
Normal file
21
1.6/1.6/Defs/WorldObjectDefs/ARA_Wormhole_WorldObjects.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Defs>
|
||||
|
||||
<WorldObjectDef>
|
||||
<defName>ARA_TravelingWormhole</defName>
|
||||
<label>掘进中的虫洞</label>
|
||||
<worldObjectClass>ArachnaeSwarm.TravelingWormhole</worldObjectClass>
|
||||
<texture>World/WorldObjects/Caravan</texture>
|
||||
<useDynamicDrawer>true</useDynamicDrawer>
|
||||
<expandingIcon>true</expandingIcon>
|
||||
<expandingIconTexture>World/WorldObjects/Expanding/Caravan</expandingIconTexture>
|
||||
<expandingIconPriority>100</expandingIconPriority>
|
||||
<expandMore>true</expandMore>
|
||||
<modExtensions>
|
||||
<li Class="ArachnaeSwarm.DefModExtension_TravelingWormhole">
|
||||
<travelSpeed>10</travelSpeed>
|
||||
</li>
|
||||
</modExtensions>
|
||||
</WorldObjectDef>
|
||||
|
||||
</Defs>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<LanguageData>
|
||||
|
||||
<!-- Commands & Messages -->
|
||||
<CommandDeployWormholePortalB_Pilot>部署虫洞传送门</CommandDeployWormholePortalB_Pilot>
|
||||
<CommandDeployWormholePortalB_PilotDesc>选择一名驾驶员来启动一个B端传送门。</CommandDeployWormholePortalB_PilotDesc>
|
||||
<NoPilotAvailable>没有可用的驾驶员</NoPilotAvailable>
|
||||
|
||||
</LanguageData>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<LanguageData>
|
||||
|
||||
<!-- Commands & Messages -->
|
||||
<CommandDeployWormholePortalB_Pilot>部署虫洞传送门</CommandDeployWormholePortalB_Pilot>
|
||||
<CommandDeployWormholePortalB_PilotDesc>选择一名驾驶员来启动一个B端传送门。</CommandDeployWormholePortalB_PilotDesc>
|
||||
<NoPilotAvailable>没有可用的驾驶员</NoPilotAvailable>
|
||||
|
||||
</LanguageData>
|
||||
Reference in New Issue
Block a user