2025-8-13

This commit is contained in:
2025-08-13 10:36:53 +08:00
parent 9870849cf9
commit 5a09353cef
10 changed files with 1000 additions and 857 deletions

View File

@@ -0,0 +1,551 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<ThingDef Name="Wula_AI_Engineer_Mother" ParentName="HeavyMechanoid">
<defName>Wula_AI_Engineer_Mother</defName>
<label>PMu-7"西比尔卡"</label>
<description>乌拉帝国的机械开拓单元,通常被投放到荒无人烟的星球上进行初步开发。这种型号的开拓单元可以生产以自杀式袭击攻击敌人的乌拉猫猫,以及配备护盾的指挥官乌拉猫猫。</description>
<uiIconPath>Wula/Things/Wula_AI_Bomb_Mother/Wula_AI_Bomb_Mother_Icon</uiIconPath>
<statBases>
<BandwidthCost>4</BandwidthCost>
<MoveSpeed>4</MoveSpeed>
<VacuumResistance MayRequire="Ludeon.RimWorld.Odyssey">1</VacuumResistance>
<!-- 有自带护甲,对热量伤害有高抵抗 -->
<ArmorRating_Sharp>0.75</ArmorRating_Sharp>
<ArmorRating_Blunt>0.75</ArmorRating_Blunt>
<ArmorRating_Heat>2.00</ArmorRating_Heat>
<CarryingCapacity>1200</CarryingCapacity>
<ShootingAccuracyPawn>100</ShootingAccuracyPawn>
<IncomingDamageFactor>0.75</IncomingDamageFactor>
<MechEnergyLossPerHP MayRequire="Ludeon.RimWorld.Biotech">0.1</MechEnergyLossPerHP>
<WastepacksPerRecharge MayRequire="Ludeon.RimWorld.Biotech">5</WastepacksPerRecharge>
</statBases>
<race>
<fleshType>Mechanoid</fleshType>
<body>Wula_AI_Engineer_Mother_Body</body>
<baseBodySize>10.0</baseBodySize>
<baseHealthScale>4</baseHealthScale>
<lifeStageAges>
<li>
<def>MechanoidFullyFormed</def>
<soundWounded>Pawn_Mech_Tunneler_Wounded</soundWounded>
<soundDeath>Pawn_Mech_Tunneler_Death</soundDeath>
<soundCall>Pawn_Mech_Tunneler_Call</soundCall>
</li>
</lifeStageAges>
<bulletStaggerEffecterDef>TunnelerSlowedDown</bulletStaggerEffecterDef>
</race>
<tools Inherit="False">
<li>
<label>机械足踢击</label>
<labelNoLocation>踢击</labelNoLocation>
<capacities>
<li>Blunt</li>
</capacities>
<power>5</power>
<cooldownTime>3</cooldownTime>
<linkedBodyPartsGroup>Legs</linkedBodyPartsGroup>
<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
</li>
</tools>
<comps>
<!--加上这个组件的机械体会直接跳过原版指挥范围判定-->
<li Class="WulaFallenEmpire.CompProperties_GlobalMechCommand" />
</comps>
</ThingDef>
<AbilityDef>
<defName>Wula_AI_Engineer_Mother_Ability</defName>
<label>部署CAt-44"指挥官猫猫"</label>
<description>向所在单元格部署一只CAt-44"指挥官猫猫",这种机械体比起同类来说拥有很高的防御,在配备了远程武器的同时还配备了一个不会过载的护盾发生器,可以掩护敢死猫猫的前进。</description>
<iconPath>Wula/Things/WULA_Commander_Cat/WULA_Cat_Thin_south</iconPath>
<writeCombatLog>True</writeCombatLog>
<showPsycastEffects>False</showPsycastEffects>
<cooldownTicksRange>8000</cooldownTicksRange>
<verbProperties>
<verbClass>Verb_CastAbility</verbClass>
<range>14.9</range>
<warmupTime>0.25</warmupTime>
<soundCast>AcidSpray_Resolve</soundCast>
<targetable>false</targetable>
<targetParams>
<canTargetSelf>true</canTargetSelf>
</targetParams>
</verbProperties>
<comps>
<li Class="CompProperties_AbilityLaunchProjectile">
<projectileDef>Bullet_Wula_AI_Engineer_Mother_Ability</projectileDef>
</li>
</comps>
</AbilityDef>
<ThingDef ParentName="BaseBullet">
<defName>Bullet_Wula_AI_Engineer_Mother_Ability</defName>
<label>CAt-44"指挥官猫猫"</label>
<thingClass>Projectile_SpawnsPawnZeroAge</thingClass>
<graphicData>
<texPath>Things/Building/Security/BroadshieldProjector</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<projectile>
<speed>41</speed>
<spawnsPawnKind>Mech_WULA_Cat_Commander</spawnsPawnKind>
<tryAdjacentFreeSpaces>true</tryAdjacentFreeSpaces>
</projectile>
</ThingDef>
<ThingDef ParentName="Wula_AI_Engineer_Mother">
<defName>Wula_AI_Engineer_Mother_Attack</defName>
<label>PMu-7A"斯托洛维耶"</label>
<description>乌拉帝国的机械开拓单元,通常被投放到荒无人烟的星球上进行初步开发。这种型号的开拓单元可以生产装备轻型武器的乌拉猫猫,并且可以在战场上投放低角护盾。</description>
<uiIconPath>Wula/Things/Wula_AI_Bomb_Mother/Wula_AI_Bomb_Mother_Icon</uiIconPath>
</ThingDef>
<AbilityDef>
<defName>Wula_AI_Engineer_Mother_Attack_Ability</defName>
<label>部署低角护盾</label>
<description>向所在单元格部署一个低角护盾,该护盾不会由于攻击而过载,但是会在几十秒后烧毁。</description>
<iconPath>Things/Building/Security/BroadshieldProjector</iconPath>
<writeCombatLog>True</writeCombatLog>
<showPsycastEffects>False</showPsycastEffects>
<cooldownTicksRange>36000</cooldownTicksRange>
<verbProperties>
<verbClass>Verb_CastAbility</verbClass>
<range>14.9</range>
<warmupTime>0.25</warmupTime>
<soundCast>AcidSpray_Resolve</soundCast>
<targetable>false</targetable>
<targetParams>
<canTargetSelf>true</canTargetSelf>
</targetParams>
</verbProperties>
<comps>
<li Class="CompProperties_AbilityLaunchProjectile">
<projectileDef>Bullet_Wula_AI_Engineer_Mother_Attack_Ability</projectileDef>
</li>
</comps>
</AbilityDef>
<ThingDef ParentName="BaseBullet">
<defName>Bullet_Wula_AI_Engineer_Mother_Attack_Ability</defName>
<label>低角护盾</label>
<thingClass>Projectile_SpawnsThing</thingClass>
<graphicData>
<texPath>Things/Building/Security/BroadshieldProjector</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<projectile>
<explosionRadius>19.9</explosionRadius> <!-- Must be kept in sync with range of Gun_TacticalTurret -->
<speed>41</speed>
<spawnsThingDef>Wula_shieldProjector</spawnsThingDef>
<tryAdjacentFreeSpaces>true</tryAdjacentFreeSpaces>
</projectile>
</ThingDef>
<ThingDef ParentName="BuildingBase">
<defName>Wula_shieldProjector</defName>
<label>乌拉帝国低角护盾</label>
<description>一个比常规低角护盾保护范围更大的护盾由乌拉帝国的PMu-7系列机械体部署。它可以无限地吸收来袭火力但是会在一段时间后烧毁。</description>
<altitudeLayer>BuildingOnTop</altitudeLayer>
<drawerType>MapMeshAndRealTime</drawerType>
<pathCost>0</pathCost>
<passability>Standable</passability>
<fillPercent>0.35</fillPercent>
<graphicData>
<texPath>Things/Building/Security/BroadshieldProjector</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>0.9</drawSize>
<shadowData>
<volume>(0.3, 0.2, 0.3)</volume>
<offset>(0,0,-0.1)</offset>
</shadowData>
<damageData>
<rect>(0.2,0.2,0.6,0.6)</rect>
</damageData>
</graphicData>
<statBases>
<MaxHitPoints>250</MaxHitPoints>
<Flammability>0.5</Flammability>
</statBases>
<tickerType>Normal</tickerType>
<killedLeavings/>
<rotatable>false</rotatable>
<selectable>true</selectable>
<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
<soundImpactDefault>BulletImpact_Metal</soundImpactDefault>
<repairEffect>ConstructMetal</repairEffect>
<resourcesFractionWhenDeconstructed>0</resourcesFractionWhenDeconstructed>
<building>
<claimable>false</claimable>
<destroySound>BuildingDestroyed_Metal_Small</destroySound>
<ai_chillDestination>false</ai_chillDestination>
<isEdifice>false</isEdifice>
<destroyEffecter>Broadshield_Burnout</destroyEffecter>
</building>
<comps>
<li Class="CompProperties_ProjectileInterceptor">
<radius>6.9</radius>
<interceptGroundProjectiles>true</interceptGroundProjectiles>
<interceptNonHostileProjectiles>true</interceptNonHostileProjectiles>
<interceptOutgoingProjectiles>false</interceptOutgoingProjectiles>
<color>(0.9, 0.2, 0.2)</color>
<idlePulseSpeed>3</idlePulseSpeed>
<minIdleAlpha>0.2</minIdleAlpha>
<disarmedByEmpForTicks>600</disarmedByEmpForTicks>
<drawWithNoSelection>True</drawWithNoSelection>
<activeSound>Broadshield_Ambience</activeSound>
</li>
<li Class="CompProperties_DestroyAfterDelay">
<delayTicks>1800</delayTicks>
<destroyMode>KillFinalize</destroyMode>
<countdownLabel>烧毁于</countdownLabel>
</li>
</comps>
</ThingDef>
<PawnKindDef ParentName="HeavyMechanoidKind">
<defName>Wula_AI_Engineer_Mother_PawnKind</defName>
<label>PMu-7"西比尔卡"</label>
<race>Wula_AI_Engineer_Mother</race>
<defaultFactionType>PlayerColony</defaultFactionType>
<allowInMechClusters>false</allowInMechClusters>
<combatPower>1000</combatPower>
<isBoss>true</isBoss>
<maxPerGroup>1</maxPerGroup>
<isGoodBreacher>true</isGoodBreacher>
<lifeStages>
<li>
<bodyGraphicData>
<texPath>Wula/Things/Wula_AI_Bomb_Mother/Bodies/Naked_Thin</texPath>
<maskPath>Wula/Things/WULA_Cat/AllegianceOverlays/None</maskPath>
<shaderType>CutoutWithOverlay</shaderType>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>5</drawSize>
</bodyGraphicData>
</li>
</lifeStages>
<weaponMoney>99999~99999</weaponMoney>
<weaponTags>
<li>Wula_AI_Engineer_Mother_Weapon</li>
</weaponTags>
<controlGroupPortraitZoom>0.3</controlGroupPortraitZoom>
</PawnKindDef>
<PawnKindDef ParentName="HeavyMechanoidKind">
<defName>Wula_AI_Engineer_Mother_Attack_PawnKind</defName>
<label>PMu-7A"斯托洛维耶"</label>
<race>Wula_AI_Engineer_Mother_Attack</race>
<defaultFactionType>PlayerColony</defaultFactionType>
<allowInMechClusters>false</allowInMechClusters>
<combatPower>1000</combatPower>
<isBoss>true</isBoss>
<maxPerGroup>1</maxPerGroup>
<lifeStages>
<li>
<bodyGraphicData>
<texPath>Wula/Things/Wula_AI_Bomb_Mother/Bodies/Naked_Thin</texPath>
<maskPath>Wula/Things/WULA_Cat/AllegianceOverlays/None</maskPath>
<shaderType>CutoutWithOverlay</shaderType>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>5</drawSize>
</bodyGraphicData>
</li>
</lifeStages>
<weaponMoney>99999~99999</weaponMoney>
<weaponTags>
<li>Wula_AI_Engineer_Mother_Attack_Weapon</li>
</weaponTags>
<controlGroupPortraitZoom>0.3</controlGroupPortraitZoom>
</PawnKindDef>
<RecipeDef ParentName="MediumMechanoidRecipe">
<defName>WULA_Build_AI_Engineer_Mother</defName>
<label>建造PMu-7"西比尔卡"</label>
<description>建造一台PMu-7"西比尔卡"开拓单元。</description>
<ingredients Inherit="False">
<li>
<filter>
<thingDefs>
<li>Steel</li>
</thingDefs>
</filter>
<count>600</count>
</li>
<li>
<filter>
<thingDefs>
<li>Plasteel</li>
</thingDefs>
</filter>
<count>250</count>
</li>
<li>
<filter>
<thingDefs>
<li>ComponentIndustrial</li>
</thingDefs>
</filter>
<count>24</count>
</li>
<li>
<filter>
<thingDefs>
<li>ComponentSpacer</li>
</thingDefs>
</filter>
<count>4</count>
</li>
</ingredients>
<products>
<Wula_AI_Engineer_Mother>1</Wula_AI_Engineer_Mother>
</products>
<descriptionHyperlinks>
<ThingDef>Wula_AI_Engineer_Mother</ThingDef>
</descriptionHyperlinks>
<researchPrerequisite>Wula_AI_Engineer_Mother_Technology</researchPrerequisite>
</RecipeDef>
<RecipeDef ParentName="MediumMechanoidRecipe">
<defName>WULA_Build_AI_Engineer_Mother_Attack</defName>
<label>建造PMu-7A"斯托洛维耶"</label>
<description>建造一台PMu-7A"斯托洛维耶"开拓单元。</description>
<ingredients Inherit="False">
<li>
<filter>
<thingDefs>
<li>Steel</li>
</thingDefs>
</filter>
<count>600</count>
</li>
<li>
<filter>
<thingDefs>
<li>Plasteel</li>
</thingDefs>
</filter>
<count>250</count>
</li>
<li>
<filter>
<thingDefs>
<li>ComponentIndustrial</li>
</thingDefs>
</filter>
<count>24</count>
</li>
<li>
<filter>
<thingDefs>
<li>ComponentSpacer</li>
</thingDefs>
</filter>
<count>4</count>
</li>
</ingredients>
<products>
<Wula_AI_Engineer_Mother_Attack>1</Wula_AI_Engineer_Mother_Attack>
</products>
<descriptionHyperlinks>
<ThingDef>Wula_AI_Engineer_Mother_Attack</ThingDef>
</descriptionHyperlinks>
<researchPrerequisite>Wula_AI_Engineer_Mother_Technology</researchPrerequisite>
</RecipeDef>
<ThingDef ParentName="BaseDrone" MayRequire="Ludeon.RimWorld.Odyssey">
<defName>Mech_WULA_Cat_Bomb</defName>
<label>CAt-89"敢死猫猫"</label>
<description>乌拉帝国的一种小型机械体,浑身缠满炸药,以自杀式袭击攻击敌方。</description>
<uiIconPath>Wula/Things/WULA_bomb_Cat/WULA_Cat_Thin_south</uiIconPath>
<race>
<thinkTreeConstant>HunterDroneConstant</thinkTreeConstant>
<baseHealthScale>0.35</baseHealthScale>
<baseBodySize>0.7</baseBodySize>
<hasCorpse>true</hasCorpse>
<body>Mech_Light</body>
<lifeStageAges>
<li>
<def>MechanoidFullyFormed</def>
<minAge>0</minAge>
<soundWounded>Pawn_Hunter_Wounded</soundWounded>
<soundDeath>Pawn_Hunter_Death</soundDeath>
<soundCall>Pawn_Hunter_Call</soundCall>
</li>
</lifeStageAges>
</race>
<statBases>
<MoveSpeed>4</MoveSpeed>
</statBases>
<comps>
<li Class="CompProperties_MechPowerCell">
<totalPowerTicks>1100</totalPowerTicks> <!-- 5 hours -->
<labelOverride>电池电量</labelOverride>
<tooltipOverride>这是被临时生产的乌拉猫猫,它们很快就会因为能源耗尽而倒地。</tooltipOverride>
<showGizmoOnNonPlayerControlled>true</showGizmoOnNonPlayerControlled>
</li>
<li Class="CompProperties_HunterDrone">
<explosionRadius>1.5</explosionRadius>
<explosionDamageType>Bomb</explosionDamageType>
<explosionDamageAmount>40</explosionDamageAmount>
</li>
</comps>
<tools Inherit="False">
<li>
<label>head</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>6</power>
<cooldownTime>2.6</cooldownTime>
<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
</li>
</tools>
</ThingDef>
<ThingDef ParentName="BaseDrone" MayRequire="Ludeon.RimWorld.Odyssey">
<defName>Mech_WULA_Cat_Commander</defName>
<label>CAt-44"指挥官猫猫"</label>
<description>乌拉帝国的一种小型机械体,比起同类来说拥有很高的防御,在配备了远程武器的同时还配备了一个护盾发生器,这种盾会同时阻拦向外发射的射弹和向盾内发射的射弹。</description>
<uiIconPath>Wula/Things/WULA_Commander_Cat/WULA_Cat_Thin_south</uiIconPath>
<race>
<baseHealthScale>3</baseHealthScale>
<thinkTreeConstant>SentryDroneConstant</thinkTreeConstant>
<baseBodySize>0.7</baseBodySize>
<hasCorpse>true</hasCorpse>
<body>Mech_Light</body>
<lifeStageAges>
<li>
<def>MechanoidFullyFormed</def>
<minAge>0</minAge>
<soundWounded>Pawn_Hunter_Wounded</soundWounded>
<soundDeath>Pawn_Hunter_Death</soundDeath>
<soundCall>Pawn_Hunter_Call</soundCall>
</li>
</lifeStageAges>
</race>
<statBases>
<MoveSpeed>4</MoveSpeed>
<ArmorRating_Sharp>0.5</ArmorRating_Sharp>
<ArmorRating_Blunt>0.5</ArmorRating_Blunt>
<ArmorRating_Heat>1.00</ArmorRating_Heat>
<IncomingDamageFactor>0.75</IncomingDamageFactor>
</statBases>
<comps>
<li Class="CompProperties_MechPowerCell">
<totalPowerTicks>2200</totalPowerTicks> <!-- 1 hours -->
<labelOverride>电池电量</labelOverride>
<tooltipOverride>这是被临时生产的乌拉猫猫,它们很快就会因为能源耗尽而倒地。</tooltipOverride>
<showGizmoOnNonPlayerControlled>true</showGizmoOnNonPlayerControlled>
</li>
<li Class="CompProperties_ProjectileInterceptor">
<radius>7.5</radius>
<interceptGroundProjectiles>true</interceptGroundProjectiles>
<interceptNonHostileProjectiles>true</interceptNonHostileProjectiles>
<interceptOutgoingProjectiles>true</interceptOutgoingProjectiles>
<color>(0.9, 0.2, 0.2)</color>
<idlePulseSpeed>3</idlePulseSpeed>
<minIdleAlpha>0.2</minIdleAlpha>
<disarmedByEmpForTicks>600</disarmedByEmpForTicks>
<drawWithNoSelection>True</drawWithNoSelection>
<activeSound>Broadshield_Ambience</activeSound>
</li>
</comps>
<tools Inherit="False">
<li>
<label>head</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>6</power>
<cooldownTime>2.6</cooldownTime>
<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
</li>
</tools>
</ThingDef>
<ThingDef ParentName="BaseDrone" MayRequire="Ludeon.RimWorld.Odyssey">
<defName>Mech_WULA_Cat_Inf</defName>
<label>CAt-90"步兵猫猫"</label>
<description>乌拉帝国的一种小型机械体装备了一把DLa-4"云母"突击步枪附下挂刺刀,以在战场上拖住敌军。</description>
<uiIconPath>Wula/Things/WULA_Attack_Cat/WULA_Cat_Thin_south</uiIconPath>
<race>
<thinkTreeConstant>SentryDroneConstant</thinkTreeConstant>
<baseBodySize>0.7</baseBodySize>
<hasCorpse>true</hasCorpse>
<body>Mech_Light</body>
<lifeStageAges>
<li>
<def>MechanoidFullyFormed</def>
<minAge>0</minAge>
<soundWounded>Pawn_Hunter_Wounded</soundWounded>
<soundDeath>Pawn_Hunter_Death</soundDeath>
<soundCall>Pawn_Hunter_Call</soundCall>
</li>
</lifeStageAges>
</race>
<statBases>
<MoveSpeed>4</MoveSpeed>
</statBases>
<comps>
<li Class="CompProperties_MechPowerCell">
<totalPowerTicks>4400</totalPowerTicks> <!-- 2 hours -->
<labelOverride>电池电量</labelOverride>
<tooltipOverride>这是被临时生产的乌拉猫猫,它们很快就会因为能源耗尽而倒地。</tooltipOverride>
<showGizmoOnNonPlayerControlled>true</showGizmoOnNonPlayerControlled>
</li>
</comps>
<tools Inherit="False">
<li>
<label>head</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>6</power>
<cooldownTime>2.6</cooldownTime>
<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
</li>
</tools>
</ThingDef>
<PawnKindDef ParentName="Mech_WULA_Cat_Soldier_PawnKind" MayRequire="Ludeon.RimWorld.Odyssey">
<defName>Mech_WULA_Cat_Bomb</defName>
<label>炸弹乌拉猫猫</label>
<race>Mech_WULA_Cat_Bomb</race>
<forceNoDeathNotification>true</forceNoDeathNotification>
<lifeStages Inherit="False">
<li>
<bodyGraphicData>
<texPath>Wula/Things/WULA_bomb_Cat/WULA_Cat_Thin</texPath>
<maskPath>Wula/Things/WULA_bomb_Cat/AllegianceOverlays/None</maskPath>
<shaderType>CutoutWithOverlay</shaderType>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>1.1</drawSize>
</bodyGraphicData>
</li>
</lifeStages>
</PawnKindDef>
<PawnKindDef ParentName="Mech_WULA_Cat_Soldier_PawnKind" MayRequire="Ludeon.RimWorld.Odyssey">
<defName>Mech_WULA_Cat_Inf</defName>
<label>步兵乌拉猫猫</label>
<race>Mech_WULA_Cat_Inf</race>
<forceNoDeathNotification>true</forceNoDeathNotification>
<weaponTags>
<li>Wula_Assault_Cat_Weapon</li>
</weaponTags>
</PawnKindDef>
<PawnKindDef ParentName="Mech_WULA_Cat_Soldier_PawnKind" MayRequire="Ludeon.RimWorld.Odyssey">
<defName>Mech_WULA_Cat_Commander</defName>
<label>指挥官乌拉猫猫</label>
<race>Mech_WULA_Cat_Commander</race>
<forceNoDeathNotification>true</forceNoDeathNotification>
<weaponTags>
<li>Wula_Assault_Cat_Weapon</li>
</weaponTags>
<lifeStages Inherit="False">
<li>
<bodyGraphicData>
<texPath>Wula/Things/WULA_Commander_Cat/WULA_Cat_Thin</texPath>
<maskPath>Wula/Things/WULA_Commander_Cat/AllegianceOverlays/None</maskPath>
<shaderType>CutoutWithOverlay</shaderType>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>1.1</drawSize>
</bodyGraphicData>
</li>
</lifeStages>
</PawnKindDef>
</Defs>