This commit is contained in:
2025-10-29 17:32:33 +08:00
parent e503192955
commit a3fb539bbe
9 changed files with 664 additions and 68 deletions

Binary file not shown.

View File

@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<!-- 能力定义 -->
<AbilityDef>
<defName>ARA_SpawnFlyOverTest</defName>
<label>召唤飞越物体</label>
<description>测试召唤不同类型的飞越物体</description>
<label>母舰召唤</label>
<description>召唤虫巢母舰,启动攻击事件链(测试用)</description>
<iconPath>ArachnaeSwarm/UI/Abilities/ARA_Ability_Morph</iconPath>
<cooldownTicksRange>1</cooldownTicksRange>
<hotKey>Misc12</hotKey>
@@ -33,11 +32,10 @@
</li>
</comps>
</AbilityDef>
<!-- 能力定义 -->
<AbilityDef>
<defName>ARA_Spawn_ARA_HiveCorvette_Rocket</defName>
<label>天巫巡航:酸烧炮扫射</label>
<description>召唤天巫种兽虫,高速掠过战场,使用其迅捷天灾炮对目标区域发起打击。在飞行期间,它会使用血链棘刺炮打击遇到的敌人。</description>
<description>召唤天巫种兽虫,高速掠过战场,使用其迅捷天灾炮对目标区域发起打击。\n\n在飞行期间,它会使用血链棘刺炮打击遇到的敌人由于攻击区间较少血链棘刺炮只能打击前7个遇到的目标</description>
<iconPath>ArachnaeSwarm/UI/Abilities/ARA_Ability_Morph</iconPath>
<cooldownTicksRange>1</cooldownTicksRange>
<hotKey>Misc12</hotKey>
@@ -84,11 +82,10 @@
</li>
</comps>
</AbilityDef>
<!-- 能力定义 -->
<AbilityDef>
<defName>ARA_Spawn_ARA_HiveCorvette_Bombardment</defName>
<label>天巫攻击:酸液轰炸</label>
<description>召唤天巫种兽虫,慢速掠过战场,对大范围目标区域进行酸团轰炸。在飞行期间,它会使用血链棘刺炮打击遇到的敌人。</description>
<label>天巫巡航:酸液轰炸</label>
<description>召唤天巫种兽虫,慢速掠过战场,对大范围目标区域进行酸团轰炸。\n\n在飞行期间,它会使用血链棘刺炮打击遇到的所有敌人。</description>
<iconPath>ArachnaeSwarm/UI/Abilities/ARA_Ability_Morph</iconPath>
<cooldownTicksRange>1</cooldownTicksRange>
<hotKey>Misc12</hotKey>
@@ -106,6 +103,11 @@
</targetParams>
</verbProperties>
<comps>
<li Class="ArachnaeSwarm.CompProperties_AircraftStrike">
<requiredAircraftType>ARA_HiveCorvette_Entity</requiredAircraftType>
<aircraftCooldownTicks>120</aircraftCooldownTicks> <!-- 2天冷却 -->
<aircraftsPerUse>1</aircraftsPerUse>
</li>
<li Class="ArachnaeSwarm.CompProperties_AbilitySpawnFlyOver">
<flyOverDef>ARA_HiveCorvette_Bombardment</flyOverDef>
<flyOverType>GroundStrafing</flyOverType>

View File

@@ -1,5 +1,79 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<ThingDef ParentName="BuildingBase">
<defName>ARA_HiveCorvette_Building</defName>
<label>天巫种兽虫</label>
<description>天巫种兽虫</description>
<thingClass>Building_PassengerShuttle</thingClass>
<preventDroppingThingsOn>true</preventDroppingThingsOn>
<altitudeLayer>Building</altitudeLayer>
<pathCost>50</pathCost>
<blockWind>true</blockWind>
<passability>PassThroughOnly</passability>
<fillPercent>0.5</fillPercent>
<size>(5,5)</size>
<drawHighlight>true</drawHighlight>
<highlightColor>(0.56, 0.62, 0.9)</highlightColor>
<uiIconScale>1</uiIconScale>
<graphicData>
<texPath>ArachnaeSwarm/FlyOverThing/ARA_HiveCorvette_Shadow</texPath>
<graphicClass>Graphic_Single</graphicClass>
<shaderType>TransparentPostLight</shaderType>
<drawSize>(5,5)</drawSize>
<color>(195,195,195,255)</color>
</graphicData>
<statBases>
<MaxHitPoints>600</MaxHitPoints>
<Flammability>0.5</Flammability>
<WorkToBuild>36000</WorkToBuild>
<Mass>125</Mass>
<Comfort>0.65</Comfort>
</statBases>
<tickerType>Normal</tickerType>
<designationCategory>ARA_Buildings</designationCategory>
<constructionSkillPrerequisite>6</constructionSkillPrerequisite>
<costList>
<Steel>250</Steel>
<Plasteel>150</Plasteel>
<ComponentIndustrial>6</ComponentIndustrial>
<ShuttleEngine>1</ShuttleEngine>
</costList>
<canOverlapZones>true</canOverlapZones>
<killedLeavings>
</killedLeavings>
<rotatable>true</rotatable>
<hasInteractionCell>false</hasInteractionCell>
<defaultPlacingRot>East</defaultPlacingRot>
<selectable>true</selectable>
<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
<soundImpactDefault>BulletImpact_Metal</soundImpactDefault>
<preventSkyfallersLandingOn>true</preventSkyfallersLandingOn>
<drawerType>RealtimeOnly</drawerType>
<repairEffect>ConstructMetal</repairEffect>
<forceDebugSpawnable>true</forceDebugSpawnable>
<building>
<destroySound>BuildingDestroyed_Metal_Big</destroySound>
<paintable>true</paintable>
<isInert>true</isInert>
</building>
<comps>
<li Class="ArachnaeSwarm.CompProperties_AircraftHangar">
<aircraftDef>ARA_HiveCorvette_Entity</aircraftDef>
<aircraftCount>1</aircraftCount>
<skyfallerLeaving>PassengerShuttleLeaving</skyfallerLeaving>
</li>
</comps>
<placeWorkers>
<li>PlaceWorker_NotUnderRoof</li>
</placeWorkers>
<uiOrder>2600</uiOrder>
</ThingDef>
<ThingDef>
<defName>ARA_HiveCorvette_Entity</defName>
<label>天巫种兽虫</label>
<description>什么这是个记录数量用的thingdef你不应该在任何场合下看到这个。</description>
</ThingDef>
<ThingDef Parent="EtherealThingBase">
<defName>ARA_HiveShip</defName>
<label>虫巢母舰</label>