This commit is contained in:
Tourswen
2025-11-27 12:46:09 +08:00
21 changed files with 950 additions and 428 deletions

View File

@@ -196,6 +196,32 @@
</weaponTags>
</PawnKindDef>
<PawnKindDef ParentName="HeavyMechanoidKind">
<defName>WULA_Mobile_Bunker</defName> <!-- 修改了defName以避免冲突 -->
<label>BUk-1"地堡猫猫"</label>
<race>WULA_Mobile_Bunker</race>
<allowInMechClusters>false</allowInMechClusters>
<defaultFactionType>PlayerColony</defaultFactionType>
<canMeleeAttack>false</canMeleeAttack>
<combatPower>200</combatPower>
<lifeStages>
<li>
<bodyGraphicData>
<texPath>Wula/Things/WULA_Mobile_Bunker/Bodies/Naked_Thin</texPath>
<maskPath>Wula/Things/WULA_Cat/AllegianceOverlays/None</maskPath>
<shaderType>CutoutWithOverlay</shaderType>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>3.8</drawSize>
<shadowData>
<volume>(1.4, 1.8, 1.4)</volume>
</shadowData>
</bodyGraphicData>
</li>
</lifeStages>
<controlGroupPortraitZoom>0.7</controlGroupPortraitZoom>
</PawnKindDef>
<PawnKindDef ParentName="HeavyMechanoidKind">
<defName>Wula_Mech_Mobile_Factory</defName> <!-- 修改了defName以避免冲突 -->
<label>MFm-2"陆行舰"</label>
@@ -593,7 +619,7 @@
</PawnKindDef>
<PawnKindDef>
<defName>Wula_PIA_Legion_Escort_Unit</defName>
<label>帝国冲锋</label>
<label>断爪卫</label>
<race>WulaSpecies</race>
<lifeStages>
<li>
@@ -614,23 +640,24 @@
<combatPower>500</combatPower>
<initialWillRange>10~20</initialWillRange>
<initialResistanceRange>10~20</initialResistanceRange>
<itemQuality>Poor</itemQuality>
<minApparelQuality>Poor</minApparelQuality>
<maxApparelQuality>Poor</maxApparelQuality>
<itemQuality>Legendary</itemQuality>
<minApparelQuality>Legendary</minApparelQuality>
<maxApparelQuality>Legendary</maxApparelQuality>
<apparelIgnorePollution MayRequire="Ludeon.RimWorld.Biotech">true</apparelIgnorePollution>
<ignoreFactionApparelStuffRequirements>true</ignoreFactionApparelStuffRequirements>
<isFighter>true</isFighter>
<weaponStuffOverride>Plasteel</weaponStuffOverride>
<apparelTags>
<li>Wula_Armor_Light</li>
<li>Wula_Armor_Shield</li>
<li>WULA_Manpack_Loitering_Munition</li>
<li>Wula_Armor_Super_Heavy</li>
</apparelTags>
<weaponTags>
<li>Wula_Melee_Weapon_T2</li>
<li>WULA_MW_Twohanded_ChainBroadsword</li>
</weaponTags>
<apparelRequired>
<li>WULA_Assault_Troop_PowerArmor</li>
<li>WULA_Assault_Troop_Helmet</li>
<li>WULA_Heavy_Infantry_PowerArmor</li>
<li>WULA_Heavy_Infantry_Helmet</li>
</apparelRequired>
<weaponMoney>3000~8000</weaponMoney>
<weaponMoney>999999~999999</weaponMoney>
<biocodeWeaponChance>1</biocodeWeaponChance>
<apparelAllowHeadgearChance>1</apparelAllowHeadgearChance>
<techHediffsChance>1</techHediffsChance>
@@ -639,6 +666,10 @@
<techHediffsRequired>
<li>DeathAcidifier</li>
</techHediffsRequired>
<techHediffsTags>
<li>Advanced</li>
<li>ImplantEmpireCommon</li>
</techHediffsTags>
<backstoryFiltersOverride>
<li>

View File

@@ -155,7 +155,7 @@
<!-- Get or generate guards -->
<li Class="QuestNode_LoopCount">
<loopCount>2</loopCount>
<loopCount>1</loopCount>
<node Class="QuestNode_GeneratePawn">
<faction>Wula_PIA_Legion_Faction</faction>
<kindDef>Wula_PIA_Legion_Escort_Unit</kindDef>
@@ -281,7 +281,7 @@
<!-- Shuttle -->
<li Class="QuestNode_Set">
<name>shuttleDelayTicks</name>
<value>720000</value>
<value>360000</value>
</li>
<li Class="QuestNode_ShuttleDelay">
<delayTicks>$shuttleDelayTicks</delayTicks>

View File

@@ -201,21 +201,10 @@
<label>攻击舰队调配许可</label>
<description>允许殖民地建立信标增加攻击舰队配额并使得机械乌拉可以调频天线以申请舰队空中支援包含2艘可以发起轨道炮击的巡洋舰和1艘可以提供航空器支援的航空舰。</description>
<baseCost>600</baseCost>
<researchViewX>6.00</researchViewX>
<researchViewX>1.00</researchViewX>
<researchViewY>4.40</researchViewY>
<prerequisites>
<li>WULA_Colony_License_LV2_Technology</li>
</prerequisites>
</ResearchProjectDef>
<ResearchProjectDef ParentName="WULAtechBase">
<defName>WULA_ConstructionShip_Technology</defName>
<label>拒止舰队调配许可</label>
<description>允许殖民地建立信标增加拒止舰队配额并使得机械乌拉可以调频天线以申请舰队空中支援包含1艘可以提供轨道支援的拒止舰。</description>
<baseCost>600</baseCost>
<researchViewX>6.00</researchViewX>
<researchViewY>3.80</researchViewY>
<prerequisites>
<li>WULA_Colony_License_LV2_Technology</li>
<li>WULA_Colony_License_LV1_Technology</li>
</prerequisites>
</ResearchProjectDef>
<!-- 飞行器 -->

View File

@@ -3,7 +3,7 @@
<ScenarioDef ParentName="ScenarioBase">
<defName>WULA_Start_Scenario</defName>
<label>乌拉帝国先遣队</label>
<description>乌拉帝国开发署的舰队已经抵达边缘世界,一支负责建立地面前哨站的边境殖民地</description>
<description>乌拉帝国开发署的舰队已经抵达边缘世界,一支负责建立地面前哨站的先遣队被部署到星球上。</description>
<scenario>
<summary>以三位机械乌拉为初始殖民者开始游戏。</summary>
<playerFaction>
@@ -56,9 +56,20 @@
</li>
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
<thingDef>WULA_RW_Base_AR</thingDef>
<thingDef>WULA_RW_Beam_Base_AR</thingDef>
<count>1</count>
</li>
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
<thingDef>WULA_RW_Fractal_RF</thingDef>
<count>1</count>
</li>
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
<thingDef>WULA_MW_Charge_Mace</thingDef>
<stuff>Plasteel</stuff>
<quality>Normal</quality>
</li>
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
<thingDef>WULA_MW_Charge_Mace</thingDef>

View File

@@ -59,7 +59,7 @@
</placeWorkers>
<comps>
<li Class="WulaFallenEmpire.CompProperties_CustomRadius">
<radius>21</radius> <!-- 半径大小 -->
<radius>28</radius> <!-- 半径大小 -->
<color>(1, 1, 1)</color> <!-- 绿色圆圈 -->
<radiusOffset>0</radiusOffset> <!-- 半径偏移 -->
<showInGUI>true</showInGUI>
@@ -212,6 +212,14 @@
<maxTurrets>6</maxTurrets>
<turretSpacing>1.5</turretSpacing>
</li>
<li Class="WulaFallenEmpire.CompProperties_TransformAtFullCapacity">
<targetPawnKind>WULA_Mobile_Bunker</targetPawnKind>
<requiredCapacity>6</requiredCapacity>
<cooldownHours>0</cooldownHours>
<gizmoLabel>转换为BUk-1"地堡猫猫"</gizmoLabel>
<gizmoDesc>让地堡中的两只乌拉猫猫继续操纵地堡中的机枪,剩下的乌拉猫猫抬着地堡移动——虽然很难相信但是事实就是这样的。</gizmoDesc>
<gizmoIconPath>Wula/UI/Commands/WULA_TransformToPawn</gizmoIconPath>
</li>
</comps>
</ThingDef>
<ThingDef ParentName="BaseWeaponTurret">
@@ -223,11 +231,10 @@
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<statBases>
<AccuracyTouch>0.5</AccuracyTouch>
<AccuracyShort>0.3</AccuracyShort>
<AccuracyMedium>0.25</AccuracyMedium>
<AccuracyLong>0.12</AccuracyLong>
<RangedWeapon_Cooldown>4.8</RangedWeapon_Cooldown>
<AccuracyTouch>0.8</AccuracyTouch>
<AccuracyShort>0.5</AccuracyShort>
<AccuracyMedium>0.35</AccuracyMedium>
<AccuracyLong>0.25</AccuracyLong>
<DeteriorationRate>0</DeteriorationRate>
<Mass>5</Mass>
<Flammability>0</Flammability>
@@ -236,14 +243,13 @@
<li>
<verbClass>Verb_Shoot</verbClass>
<defaultProjectile>Bullet_WULA_RW_Base_AR</defaultProjectile>
<warmupTime>0</warmupTime>
<range>21</range>
<ticksBetweenBurstShots>32</ticksBetweenBurstShots>
<burstShotCount>2</burstShotCount>
<range>28</range>
<ticksBetweenBurstShots>5</ticksBetweenBurstShots>
<burstShotCount>12</burstShotCount>
<soundCast>Shot_AssaultRifle</soundCast>
<soundCastTail>GunTail_Medium</soundCastTail>
<muzzleFlashScale>9</muzzleFlashScale>
<consumeFuelPerShot>1</consumeFuelPerShot>
<defaultCooldownTime>4</defaultCooldownTime>
</li>
</verbs>
</ThingDef>

View File

@@ -1210,9 +1210,9 @@
<projectileDef>Bullet_WULA_Striker_A_Missile</projectileDef>
<sectorAngle>60</sectorAngle> <!-- 扇形角度 -->
<sectorRange>85</sectorRange> <!-- 射程 -->
<shotCount>2</shotCount> <!-- 发射次数 -->
<shotCount>4</shotCount> <!-- 发射次数 -->
<shotInterval>0.3</shotInterval> <!-- 发射间隔 -->
<maxProjectiles>24</maxProjectiles><!-- 最大射弹数量限制-->
<maxProjectiles>48</maxProjectiles><!-- 最大射弹数量限制-->
<!-- 横向偏移配置(左右) -->
<lateralOffsetDistance>13</lateralOffsetDistance>
@@ -1560,7 +1560,7 @@
</angleCurve>
<explosionRadius>4</explosionRadius>
<explosionDamage>WULA_Firepower_Minigun_Strafe_Damage</explosionDamage>
<explosionDamageFactor>1</explosionDamageFactor>
<explosionDamageFactor>2</explosionDamageFactor>
</skyfaller>
<comps>
<li Class="WulaFallenEmpire.CompProperties_PlaySoundOnSpawn">

View File

@@ -573,7 +573,7 @@
</graphicData>
<projectile>
<damageDef>Flame</damageDef>
<damageAmountBase>20</damageAmountBase>
<damageAmountBase>35</damageAmountBase>
<speed>60</speed>
<explosionRadius>3.9</explosionRadius>
<armorPenetrationBase>1.5</armorPenetrationBase>

View File

@@ -299,6 +299,7 @@
<equippedAngleOffset>25</equippedAngleOffset>
<weaponTags Inherit="False">
<li>Wula_Melee_Weapon_T3</li>
<li>WULA_MW_Twohanded_ChainBroadsword</li>
</weaponTags>
<uiIconScale>0.8</uiIconScale>
<techLevel>Spacer</techLevel>
@@ -622,24 +623,20 @@
</li>
</comps>
</ThingDef>
<ThingDef Name="WULA_RW_Base_AR" ParentName="WULA_ExperienceCore_Weapon_Ranged">
<ThingDef Name="WULA_RW_Base_AR" ParentName="BaseHumanMakeableGun">
<defName>WULA_RW_Base_AR</defName>
<label>DLa-1"页岩"</label>
<description>乌拉帝国的基础突击步枪,仍然使用可靠的导气式结构驱动自动射击构件,是一种便宜但好用的武器,通常派发给殖民地作自卫武器之用。它下挂了一个眩光弹发射器,可以发射一枚眩光弹击晕区域内的敌人。</description>
<tickerType>Normal</tickerType>
<techLevel>Spacer</techLevel>
<destroyOnDrop>true</destroyOnDrop>
<tradeability>None</tradeability>
<graphicData>
<texPath>Wula/Weapon/WULA_RW_Base_AR</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<soundInteract>Interact_Rifle</soundInteract>
<recipeMaker>
<recipeUsers Inherit="False">
<li>WULA_WeaponArmor_Productor</li>
</recipeUsers>
<researchPrerequisite>WULA_Synth_Weapon_1_Base_Technology</researchPrerequisite>
<unfinishedThingDef>UnfinishedWeapon</unfinishedThingDef>
</recipeMaker>
<recipeMaker Inherit="False" IsNull="True"/>
<statBases>
<WorkToMake>1300</WorkToMake>
<!-- <MarketValue>370</MarketValue> -->
@@ -669,7 +666,7 @@
<ComponentIndustrial>2</ComponentIndustrial>
</costList>
<weaponTags Inherit="False">
<li>Wula_Ranged_Weapon_T1</li>
<li>Wula_Assault_Cat_Weapon</li>
</weaponTags>
<comps>
<li Class="CompProperties_EquippableAbilityReloadable">
@@ -685,59 +682,6 @@
</li>
</modExtensions>
</ThingDef>
<!-- 给猫猫的特殊武器,扔在地上会消失、没有人格核心、没有闪光弹 -->
<ThingDef ParentName="WULA_RW_Base_AR">
<destroyOnDrop>true</destroyOnDrop>
<defName>WULA_RW_Base_AR_For_Cat</defName>
<label>DLa-2"页岩"</label>
<description>乌拉帝国的基础突击步枪,仍然使用可靠的导气式结构驱动自动射击构件,是一种便宜但好用的武器,通常派发给殖民地作自卫武器之用。</description>
<tickerType>Normal</tickerType>
<techLevel>Spacer</techLevel>
<graphicData>
<texPath>Wula/Weapon/WULA_RW_Base_AR</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<soundInteract>Interact_Rifle</soundInteract>
<tradeability>None</tradeability>
<recipeMaker>
<recipeUsers Inherit="False">
<li>WULA_WeaponArmor_Productor</li>
</recipeUsers>
<researchPrerequisite>WULA_Synth_Weapon_1_Base_Technology</researchPrerequisite>
<unfinishedThingDef>UnfinishedWeapon</unfinishedThingDef>
</recipeMaker>
<statBases>
<WorkToMake>1300</WorkToMake>
<!-- <MarketValue>370</MarketValue> -->
<Mass>3.5</Mass>
<AccuracyTouch>0.75</AccuracyTouch>
<AccuracyShort>0.75</AccuracyShort>
<AccuracyMedium>0.65</AccuracyMedium>
<AccuracyLong>0.45</AccuracyLong>
<RangedWeapon_Cooldown>1.2</RangedWeapon_Cooldown>
</statBases>
<verbs>
<li>
<verbClass>Verb_Shoot</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Bullet_WULA_RW_Base_AR</defaultProjectile>
<warmupTime>1</warmupTime>
<range>25</range>
<burstShotCount>5</burstShotCount>
<ticksBetweenBurstShots>5</ticksBetweenBurstShots>
<soundCast>Shot_AssaultRifle</soundCast>
<soundCastTail>GunTail_Medium</soundCastTail>
<muzzleFlashScale>7</muzzleFlashScale>
</li>
</verbs>
<costList Inherit="False">
<WULA_Alloy>40</WULA_Alloy>
<ComponentIndustrial>2</ComponentIndustrial>
</costList>
<weaponTags Inherit="False">
<li>Wula_Assault_Cat_Weapon</li>
</weaponTags>
</ThingDef>
<ThingDef ParentName="BaseBullet">
<defName>Bullet_WULA_RW_Base_AR</defName>
<label>子弹</label>
@@ -806,6 +750,96 @@
<explosionDelay>30</explosionDelay>
</projectile>
</ThingDef>
<ThingDef ParentName="WULA_ExperienceCore_Weapon_Ranged">
<defName>WULA_RW_Fractal_RF</defName>
<label>SLr-14"蓝锥"</label>
<description>乌拉帝国的磁轨狙击枪,通过引导强大的动能发射钢针,射速较慢,但是在击中目标后仍能继续飞行,对路径上的多个敌人造成伤害。</description>
<techLevel>Spacer</techLevel>
<graphicData>
<texPath>Wula/Weapon/WULA_RW_Fractal_RF/WULA_RW_Fractal_RF</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>1.4</drawSize>
</graphicData>
<!-- <uiIconScale>0.85</uiIconScale> -->
<soundInteract>Interact_Rifle</soundInteract>
<recipeMaker>
<!-- <WorkToMake>60000</WorkToMake> -->
<recipeUsers Inherit="False">
<li>WULA_WeaponArmor_Productor</li>
</recipeUsers>
<researchPrerequisite>WULA_Synth_Weapon_1_Base_Technology</researchPrerequisite>
<unfinishedThingDef>UnfinishedWeapon</unfinishedThingDef>
</recipeMaker>
<statBases>
<WorkToMake>1200</WorkToMake>
<Mass>3.5</Mass>
<AccuracyTouch>0.3</AccuracyTouch>
<AccuracyShort>0.7</AccuracyShort>
<AccuracyMedium>1</AccuracyMedium>
<AccuracyLong>1</AccuracyLong>
<RangedWeapon_Cooldown>0.5</RangedWeapon_Cooldown>
</statBases>
<costList Inherit="False">
<WULA_Alloy>60</WULA_Alloy>
<ComponentIndustrial>3</ComponentIndustrial>
</costList>
<verbs>
<li>
<verbClass>WulaFallenEmpire.Verb_ShootWithOffset</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Bullet_WULA_RW_Fractal_RF</defaultProjectile>
<warmupTime>1.25</warmupTime>
<range>55</range>
<burstShotCount>1</burstShotCount>
<soundCast>WULA_RW_Railgun_Shootingsound</soundCast>
<soundCastTail>GunTail_Medium</soundCastTail>
<muzzleFlashScale>9</muzzleFlashScale>
</li>
</verbs>
<weaponTags Inherit="False">
<li>Wula_Ranged_Weapon_T1</li>
</weaponTags>
<comps>
<li Class="WulaFallenEmpire.CompProperties_WeaponRenderDynamic">
<TexturePath>Wula/Weapon/WULA_RW_Fractal_RF/WULA_RW_Fractal_RF_Anim</TexturePath>
<totalFrames>8</totalFrames>
<ticksPerFrame>8</ticksPerFrame>
</li>
</comps>
<modExtensions>
<li Class="WulaFallenEmpire.ModExtension_ShootWithOffset">
<offsets>
<li>(0, -1.0)</li>
</offsets>
</li>
</modExtensions>
</ThingDef>
<ThingDef ParentName="BaseBullet">
<defName>Bullet_WULA_RW_Fractal_RF</defName>
<label>蓝锥钢针弹</label>
<thingClass>WulaFallenEmpire.Projectile_WulaLineAttack</thingClass>
<modExtensions>
<li Class="WulaFallenEmpire.Wula_PathPierce_Extension">
<maxHits>-1</maxHits> <!-- 无限穿透 -->
<damageFalloff>0</damageFalloff> <!-- 无伤害衰减 -->
<preventFriendlyFire>true</preventFriendlyFire> <!-- 是否阻止友方火力 -->
<tailFleckDef>WULA_GunTail_Lighting</tailFleckDef> <!-- 拖尾特效定义 -->
</li>
</modExtensions>
<graphicData>
<texPath>Wula/Projectile/WULA_Bullet_ChargeLanceShot_Red</texPath>
<graphicClass>Graphic_Single</graphicClass>
<shaderType>TransparentPostLight</shaderType>
<drawSize>1.4</drawSize>
</graphicData>
<projectile>
<damageDef>Bullet</damageDef>
<damageAmountBase>25</damageAmountBase>
<speed>230</speed>
<armorPenetrationBase>0.5</armorPenetrationBase>
<stoppingPower>5</stoppingPower>
</projectile>
</ThingDef>
<ThingDef ParentName="WULA_ExperienceCore_Weapon_Ranged">
<defName>WULA_RW_StarDrift_SG</defName>
<label>DCs-7"黑曜石"</label>
@@ -892,101 +926,6 @@
</li>
</modExtensions>
</ThingDef>
<ThingDef ParentName="WULA_ExperienceCore_Weapon_Ranged">
<defName>WULA_RW_Fractal_RF</defName>
<label>SLr-14"蓝锥"</label>
<description>乌拉帝国的磁轨狙击枪,通过引导强大的动能发射钢针,射速较慢,但是在击中目标后仍能继续飞行,对路径上的多个敌人造成伤害。</description>
<techLevel>Spacer</techLevel>
<graphicData>
<texPath>Wula/Weapon/WULA_RW_Fractal_RF/WULA_RW_Fractal_RF</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>1.4</drawSize>
</graphicData>
<!-- <uiIconScale>0.85</uiIconScale> -->
<soundInteract>Interact_Rifle</soundInteract>
<weaponClasses>
<li>LongShots</li>
<li>RangedHeavy</li>
</weaponClasses>
<recipeMaker>
<!-- <WorkToMake>60000</WorkToMake> -->
<recipeUsers Inherit="False">
<li>WULA_WeaponArmor_Productor</li>
</recipeUsers>
<researchPrerequisite>WULA_Synth_Weapon_2_Bullet_Technology</researchPrerequisite>
<unfinishedThingDef>UnfinishedWeapon</unfinishedThingDef>
</recipeMaker>
<statBases>
<WorkToMake>2000</WorkToMake>
<Mass>3.5</Mass>
<AccuracyTouch>0.3</AccuracyTouch>
<AccuracyShort>0.7</AccuracyShort>
<AccuracyMedium>1</AccuracyMedium>
<AccuracyLong>1</AccuracyLong>
<RangedWeapon_Cooldown>0.8</RangedWeapon_Cooldown>
</statBases>
<costList Inherit="False">
<WULA_Alloy>60</WULA_Alloy>
<WULA_Charge_Cube>4</WULA_Charge_Cube>
<ComponentIndustrial>2</ComponentIndustrial>
</costList>
<verbs>
<li>
<verbClass>WulaFallenEmpire.Verb_ShootWithOffset</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Bullet_WULA_RW_Fractal_RF</defaultProjectile>
<warmupTime>4</warmupTime>
<range>85</range>
<burstShotCount>1</burstShotCount>
<soundCast>WULA_RW_Railgun_Shootingsound</soundCast>
<soundCastTail>GunTail_Medium</soundCastTail>
<muzzleFlashScale>9</muzzleFlashScale>
</li>
</verbs>
<weaponTags Inherit="False">
<li>Wula_Ranged_Weapon_T2</li>
</weaponTags>
<comps>
<li Class="WulaFallenEmpire.CompProperties_WeaponRenderDynamic">
<TexturePath>Wula/Weapon/WULA_RW_Fractal_RF/WULA_RW_Fractal_RF_Anim</TexturePath>
<totalFrames>8</totalFrames>
<ticksPerFrame>8</ticksPerFrame>
</li>
</comps>
<modExtensions>
<li Class="WulaFallenEmpire.ModExtension_ShootWithOffset">
<offsets>
<li>(0, -1.0)</li>
</offsets>
</li>
</modExtensions>
</ThingDef>
<ThingDef ParentName="BaseBullet">
<defName>Bullet_WULA_RW_Fractal_RF</defName>
<label>蓝锥钢针弹</label>
<thingClass>WulaFallenEmpire.Projectile_WulaLineAttack</thingClass>
<modExtensions>
<li Class="WulaFallenEmpire.Wula_PathPierce_Extension">
<maxHits>-1</maxHits> <!-- 无限穿透 -->
<damageFalloff>0</damageFalloff> <!-- 无伤害衰减 -->
<preventFriendlyFire>true</preventFriendlyFire> <!-- 是否阻止友方火力 -->
<tailFleckDef>WULA_GunTail_Lighting</tailFleckDef> <!-- 拖尾特效定义 -->
</li>
</modExtensions>
<graphicData>
<texPath>Wula/Projectile/WULA_Bullet_ChargeLanceShot_Red</texPath>
<graphicClass>Graphic_Single</graphicClass>
<shaderType>TransparentPostLight</shaderType>
<drawSize>1.4</drawSize>
</graphicData>
<projectile>
<damageDef>Bullet</damageDef>
<damageAmountBase>25</damageAmountBase>
<speed>230</speed>
<armorPenetrationBase>0.5</armorPenetrationBase>
<stoppingPower>5</stoppingPower>
</projectile>
</ThingDef>
<ThingDef ParentName="WULA_ExperienceCore_Weapon_Ranged">
<defName>WULA_RW_AutoCannon</defName>
<label>FLm-78"萤石"</label>
@@ -1160,11 +1099,11 @@
<recipeUsers Inherit="False">
<li>WULA_WeaponArmor_Productor</li>
</recipeUsers>
<researchPrerequisite>WULA_Synth_Weapon_2_Laser_Technology</researchPrerequisite>
<researchPrerequisite>WULA_Synth_Weapon_1_Base_Technology</researchPrerequisite>
<unfinishedThingDef>UnfinishedWeapon</unfinishedThingDef>
</recipeMaker>
<statBases>
<WorkToMake>1500</WorkToMake>
<WorkToMake>1000</WorkToMake>
<!-- <MarketValue>370</MarketValue> -->
<Mass>3.5</Mass>
<AccuracyTouch>0.75</AccuracyTouch>
@@ -1179,7 +1118,7 @@
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Bullet_WULA_RW_Penetrating_Rifle</defaultProjectile>
<warmupTime>3</warmupTime>
<range>20</range>
<range>26</range>
<burstShotCount>3</burstShotCount>
<ticksBetweenBurstShots>12</ticksBetweenBurstShots>
<soundCast>Shot_BeamRepeater</soundCast>
@@ -1191,7 +1130,6 @@
</verbs>
<costList Inherit="False">
<WULA_Alloy>70</WULA_Alloy>
<WULA_Charge_Cube>6</WULA_Charge_Cube>
<ComponentIndustrial>2</ComponentIndustrial>
</costList>
<weaponTags Inherit="False">
@@ -2048,7 +1986,7 @@
<speed>25</speed>
<damageDef>Flame</damageDef>
<explosionRadius>7</explosionRadius>
<damageAmountBase>20</damageAmountBase>
<damageAmountBase>50</damageAmountBase>
<armorPenetrationBase>0.25</armorPenetrationBase>
<stoppingPower>10</stoppingPower>
</projectile>
@@ -2129,7 +2067,7 @@
<ComponentIndustrial>8</ComponentIndustrial>
</costList>
<weaponTags Inherit="False">
<li>Wula_Ranged_Weapon_T2</li>
<li>Wula_Ranged_Weapon_T1</li>
</weaponTags>
<comps>
<li Class="CompProperties_EquippableAbilityReloadable">

View File

@@ -660,6 +660,7 @@
<specificMeatDef>Steel</specificMeatDef>
<!-- 身体类型 -->
<body>WULA_Machine_Body</body>
<baseBodySize>0.9</baseBodySize>
<!-- 年龄阶段 -->
<!-- <lifeExpectancy>5000</lifeExpectancy> -->
<lifeStageWorkSettings MayRequire="Ludeon.RimWorld.Biotech">
@@ -885,6 +886,8 @@
<WastepacksPerRecharge MayRequire="Ludeon.RimWorld.Biotech">0</WastepacksPerRecharge>
</statBases>
<race>
<baseBodySize>0.5</baseBodySize>
<baseHealthScale>1.5</baseHealthScale>
<lifeStageAges>
<li>
<def>MechanoidFullyFormed</def>
@@ -917,12 +920,20 @@
</li>
</comps>
</ThingDef>
<ThingDef ParentName="Mech_WULA_Cat_Base">
<AlienRace.ThingDef_AlienRace ParentName="Mech_WULA_Cat_Base">
<defName>Mech_WULA_Cat</defName>
<label>CAt-11"猫猫"</label>
<description>乌拉帝国的一种小型自律机械体,无需监管者,可以执行包括搬运、烹饪、种植收割、清理、急救和灭火一类的简单工作,因为似猫的外形受到乌拉星人欢迎。</description>
<description>乌拉帝国的一种小型自律机械体,无需监管者,可以执行包括搬运、烹饪、种植收割、清理、急救和灭火一类的简单工作,因为似猫的外形受到乌拉星人欢迎。\n\n\n这种机械族可以在非征召状态下拾取地上的武器以供使用。</description>
<uiIconPath>Wula/Things/WULA_Cat/WULA_Cat_Thin_south</uiIconPath>
<alienRace>
<raceRestriction>
<onlyUseRaceRestrictedApparel>true</onlyUseRaceRestrictedApparel>
</raceRestriction>
<compatibility>
<isFlesh>false</isFlesh>
</compatibility>
</alienRace>
<statBases>
<MoveSpeed>6</MoveSpeed>
<FoodPoisonChance>0.001</FoodPoisonChance>
@@ -944,12 +955,21 @@
<li>Firefighter</li>
</mechEnabledWorkTypes>
</race>
</ThingDef>
<ThingDef ParentName="Mech_WULA_Cat_Base">
</AlienRace.ThingDef_AlienRace>
<AlienRace.ThingDef_AlienRace ParentName="Mech_WULA_Cat_Base">
<defName>Mech_WULA_Cat_Constructor</defName>
<label>CAt-86"猫猫劳工"</label>
<description>乌拉帝国的一种小型自律机械体无需监管者只能执行建造和开采任务可以跳起来用手上的HAm-1"装修锤"锤烂敌人的膝盖。</description>
<description>乌拉帝国的一种小型自律机械体无需监管者只能执行建造和开采任务可以跳起来用手上的HAm-1"装修锤"锤烂敌人的膝盖。\n\n\n这种机械族可以在非征召状态下拾取地上的武器以供使用。</description>
<uiIconPath>Wula/Things/WULA_Constructor_Cat/WULA_Cat_Thin_south</uiIconPath>
<alienRace>
<raceRestriction>
<onlyUseRaceRestrictedApparel>true</onlyUseRaceRestrictedApparel>
</raceRestriction>
<compatibility>
<isFlesh>false</isFlesh>
</compatibility>
</alienRace>
<race>
<mechEnabledWorkTypes Inherit="False">
<li>Mining</li>
@@ -959,12 +979,21 @@
<statBases>
<WorkSpeedGlobal>2</WorkSpeedGlobal>
</statBases>
</ThingDef>
<ThingDef ParentName="Mech_WULA_Cat_Base">
</AlienRace.ThingDef_AlienRace>
<AlienRace.ThingDef_AlienRace ParentName="Mech_WULA_Cat_Base">
<defName>Mech_WULA_Cat_Assault</defName>
<label>CAt-46"猫猫冲锋队"</label>
<description>乌拉帝国的一种小型自律机械体无需监管者可以执行搬运、狩猎和割除任务身着轻甲装备了一把DLa-1"页岩",可以给敌方造成不小的麻烦。</description>
<description>乌拉帝国的一种小型自律机械体无需监管者可以执行搬运、狩猎和割除任务身着轻甲装备了一把DLa-1"页岩",可以给敌方造成不小的麻烦。\n\n\n这种机械族可以在非征召状态下拾取地上的武器以供使用。</description>
<uiIconPath>Wula/Things/WULA_Assault_Cat/WULA_Cat_Thin_south</uiIconPath>
<alienRace>
<raceRestriction>
<onlyUseRaceRestrictedApparel>true</onlyUseRaceRestrictedApparel>
</raceRestriction>
<compatibility>
<isFlesh>false</isFlesh>
</compatibility>
</alienRace>
<race>
<mechEnabledWorkTypes Inherit="False">
<li>Hunting</li>
@@ -973,19 +1002,157 @@
</mechEnabledWorkTypes>
</race>
<statBases>
<ArmorRating_Sharp>0.25</ArmorRating_Sharp>
<ArmorRating_Blunt>0.25</ArmorRating_Blunt>
<ArmorRating_Sharp>0.5</ArmorRating_Sharp>
<ArmorRating_Blunt>0.5</ArmorRating_Blunt>
<!-- <WorkSpeedGlobal>2</WorkSpeedGlobal> -->
<MoveSpeed>4</MoveSpeed>
</statBases>
</ThingDef>
</AlienRace.ThingDef_AlienRace>
<!-- 大型机械族 -->
<ThingDef ParentName="WULA_BaseMechanoid">
<AlienRace.ThingDef_AlienRace ParentName="WULA_BaseMechanoid">
<defName>WULA_Mobile_Bunker</defName> <!-- 修改了defName以避免冲突 -->
<label>BUk-1"地堡猫猫"</label>
<description>四只猫猫在抬着地堡移动,虽然很难相信但是事实就是这样的。在地堡的射击窗里还有另外的两只乌拉猫猫,它们会操纵地堡的机枪向外射击。\n\n猫猫可以放下地堡然后一股脑地钻进去这会让地堡重新变为建筑。</description>
<alienRace>
<raceRestriction>
<onlyUseRaceRestrictedApparel>true</onlyUseRaceRestrictedApparel>
<onlyUseRaceRestrictedWeapons>true</onlyUseRaceRestrictedWeapons>
</raceRestriction>
<compatibility>
<isFlesh>false</isFlesh>
</compatibility>
</alienRace>
<statBases>
<BandwidthCost>1</BandwidthCost>
<MoveSpeed>3</MoveSpeed>
</statBases>
<race>
<body>Mech_Warqueen</body>
<baseBodySize>5</baseBodySize>
<lifeStageAges>
<li>
<def>MechanoidFullyFormed</def>
<minAge>0</minAge>
<soundCall>Pawn_Wula_Mech_Mobile_Factory_Call</soundCall>
</li>
</lifeStageAges>
<baseHealthScale>2</baseHealthScale>
</race>
<tools Inherit="False">
<li>
<label>碾压</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>360</power>
<cooldownTime>8</cooldownTime>
<linkedBodyPartsGroup>Torso</linkedBodyPartsGroup>
<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
</li>
</tools>
<comps>
<li Class="CompProperties_Glower">
<glowRadius>6</glowRadius>
<glowColor>(120,240,252,0)</glowColor>
</li>
<li Class="WulaFallenEmpire.CompProperties_MultiTurretGun">
<ID>0</ID>
<turretDef>WULA_Cat_Bunker_TurretGun</turretDef>
<!-- <angleOffset>-90</angleOffset> -->
<renderNodeProperties>
<li>
<nodeClass>PawnRenderNode_TurretGun</nodeClass>
<workerClass>PawnRenderNodeWorker_TurretGun</workerClass>
<parentTagDef>Body</parentTagDef>
<overrideMeshSize>(2, 2)</overrideMeshSize>
<baseLayer>20</baseLayer>
<pawnType>Any</pawnType>
<drawData>
<dataNorth>
<rotationOffset>-90</rotationOffset>
<offset>(-1, 0, -1.45)</offset>
<flip>true</flip>
<layer>-5</layer>
</dataNorth>
<dataEast>
<rotationOffset>90</rotationOffset>
<layer>-5</layer>
<offset>(3.25, 0, -1)</offset>
</dataEast>
<dataSouth>
<rotationOffset>-90</rotationOffset>
<offset>(1.5, 0, -1.45)</offset>
</dataSouth>
<dataWest>
<rotationOffset>90</rotationOffset>
<offset>(-3.25, 0, -1)</offset>
</dataWest>
</drawData>
</li>
</renderNodeProperties>
</li>
<li Class="WulaFallenEmpire.CompProperties_MultiTurretGun">
<ID>1</ID>
<turretDef>WULA_Cat_Bunker_TurretGun</turretDef>
<!-- <angleOffset>-90</angleOffset> -->
<renderNodeProperties>
<li>
<nodeClass>PawnRenderNode_TurretGun</nodeClass>
<workerClass>PawnRenderNodeWorker_TurretGun</workerClass>
<parentTagDef>Body</parentTagDef>
<overrideMeshSize>(2, 2)</overrideMeshSize>
<baseLayer>20</baseLayer>
<pawnType>Any</pawnType>
<drawData>
<dataNorth>
<rotationOffset>-90</rotationOffset>
<offset>(1, 0, -1.45)</offset>
<layer>-5</layer>
</dataNorth>
<dataEast>
<rotationOffset>-90</rotationOffset>
<offset>(3.25, 0, -1)</offset>
</dataEast>
<dataSouth>
<rotationOffset>-90</rotationOffset>
<offset>(-1.6, 0, -1.45)</offset>
</dataSouth>
<dataWest>
<rotationOffset>90</rotationOffset>
<offset>(-3.25, 0, -1)</offset>
<layer>-5</layer>
</dataWest>
</drawData>
</li>
</renderNodeProperties>
</li>
<!-- 转换回建筑组件 -->
<li Class="WulaFallenEmpire.CompProperties_TransformIntoBuilding">
<targetBuildingDef>WULA_Cat_Bunker</targetBuildingDef>
<gizmoLabel>部署为乌拉猫猫地堡</gizmoLabel>
<gizmoDesc>乌拉猫猫们把地堡扔在地上然后钻进去重新转变为建筑。每一次转变为建筑后都会有24小时的冷却时间在此期间不允许重新变为BUk-1"地堡猫猫"。</gizmoDesc>
<gizmoIconPath>Wula/UI/Commands/WULA_TransformToBuilding</gizmoIconPath>
</li>
</comps>
</AlienRace.ThingDef_AlienRace>
<AlienRace.ThingDef_AlienRace ParentName="WULA_BaseMechanoid">
<defName>Wula_AI_Heavy_Panzer</defName> <!-- 修改了defName以避免冲突 -->
<label>HAp-6"战车"</label>
<description>乌拉帝国的中型战争机械,以悬浮的方式穿梭于战场之上,使用破坏力巨大的自动炮和车体臼炮打击敌方,是乌拉帝国前锋部队的中流砥柱。</description>
<uiIconPath>Wula/Things/Wula_AI_Heavy_Panzer/Wula_AI_Heavy_Panzer_Icon</uiIconPath>
<alienRace>
<raceRestriction>
<weaponList>
<li>Wula_AI_Heavy_Panzer_Main_Weapon</li>
</weaponList>
<onlyUseRaceRestrictedApparel>true</onlyUseRaceRestrictedApparel>
<onlyUseRaceRestrictedWeapons>true</onlyUseRaceRestrictedWeapons>
</raceRestriction>
<compatibility>
<isFlesh>false</isFlesh>
</compatibility>
</alienRace>
<statBases>
<BandwidthCost>1</BandwidthCost>
<MoveSpeed>2</MoveSpeed>
@@ -1001,8 +1168,8 @@
<ComponentSpacer>2</ComponentSpacer>
</costList>
<race>
<body>Mech_Warqueen</body>
<baseBodySize>30</baseBodySize>
<body>WULA_AI_Heavy_Panzer_Body</body>
<baseBodySize>20</baseBodySize>
<lifeStageAges>
<li>
<def>MechanoidFullyFormed</def>
@@ -1015,7 +1182,7 @@
<flightStartChanceOnJobStart>1</flightStartChanceOnJobStart>
<!-- <thinkTreeConstant>WarUrchinConstant</thinkTreeConstant> -->
</race>
<tools>
<tools Inherit="False">
<li>
<label>碾压</label>
<capacities>
@@ -1093,12 +1260,24 @@
<toggleIconPath>Wula/UI/Commands/Wula_Mech_Mobile_Factory_AreaDamage</toggleIconPath>
</li>
</comps>
</ThingDef>
<ThingDef ParentName="WULA_BaseMechanoid">
</AlienRace.ThingDef_AlienRace>
<AlienRace.ThingDef_AlienRace ParentName="WULA_BaseMechanoid">
<defName>Wula_AI_Rocket_Panzer</defName> <!-- 修改了defName以避免冲突 -->
<label>HRp-3"喷火战车"</label>
<description>乌拉帝国的中型战争机械,以悬浮的方式穿梭于战场之上,拥有车体臼炮和两具可以发射大量燃烧火箭弹的转轮导弹巢,但是未像其姊妹型号那样装备护盾。</description>
<uiIconPath>Wula/Things/Wula_AI_Heavy_Panzer/Wula_AI_Rocket_Panzer_Icon</uiIconPath>
<alienRace>
<raceRestriction>
<weaponList>
<li>Wula_AI_Heavy_Panzer_Main_Weapon</li>
</weaponList>
<onlyUseRaceRestrictedApparel>true</onlyUseRaceRestrictedApparel>
<onlyUseRaceRestrictedWeapons>true</onlyUseRaceRestrictedWeapons>
</raceRestriction>
<compatibility>
<isFlesh>false</isFlesh>
</compatibility>
</alienRace>
<statBases>
<BandwidthCost>1</BandwidthCost>
<MoveSpeed>2</MoveSpeed>
@@ -1114,8 +1293,8 @@
<ComponentSpacer>2</ComponentSpacer>
</costList>
<race>
<body>Mech_Warqueen</body>
<baseBodySize>30</baseBodySize>
<body>WULA_AI_Heavy_Panzer_Body</body>
<baseBodySize>20</baseBodySize>
<lifeStageAges>
<li>
<def>MechanoidFullyFormed</def>
@@ -1128,7 +1307,7 @@
<flightStartChanceOnJobStart>1</flightStartChanceOnJobStart>
<!-- <thinkTreeConstant>WarUrchinConstant</thinkTreeConstant> -->
</race>
<tools>
<tools Inherit="False">
<li>
<label>碾压</label>
<capacities>
@@ -1198,11 +1377,23 @@
<toggleIconPath>Wula/UI/Commands/Wula_Mech_Mobile_Factory_AreaDamage</toggleIconPath>
</li>
</comps>
</ThingDef>
<ThingDef ParentName="WULA_BaseMechanoid">
</AlienRace.ThingDef_AlienRace>
<AlienRace.ThingDef_AlienRace ParentName="WULA_BaseMechanoid">
<defName>Wula_Mech_Mobile_Factory</defName> <!-- 修改了defName以避免冲突 -->
<label>MFm-2"陆行舰"</label>
<description>乌拉帝国的大型战争机械,简直就是一座移动堡垒——它不仅装甲厚实、火炮林立,还能在战场上生产大量的辅助战争机械以形成坚实的弹性阵线,生来就是为了粉碎坚固的要塞和顽强的抵抗。</description>
<alienRace>
<raceRestriction>
<weaponList>
<li>WULA_RW_Unlimit_Penetrating_Beam_Cannon</li>
</weaponList>
<onlyUseRaceRestrictedApparel>true</onlyUseRaceRestrictedApparel>
<onlyUseRaceRestrictedWeapons>true</onlyUseRaceRestrictedWeapons>
</raceRestriction>
<compatibility>
<isFlesh>false</isFlesh>
</compatibility>
</alienRace>
<statBases>
<BandwidthCost>1</BandwidthCost>
<MoveSpeed>1</MoveSpeed>
@@ -1213,7 +1404,7 @@
</statBases>
<race>
<body>Mech_Warqueen</body>
<baseBodySize>30</baseBodySize>
<baseBodySize>50</baseBodySize>
<lifeStageAges>
<li>
<def>MechanoidFullyFormed</def>
@@ -1226,7 +1417,7 @@
<flightStartChanceOnJobStart>1</flightStartChanceOnJobStart>
<!-- <thinkTreeConstant>WarUrchinConstant</thinkTreeConstant> -->
</race>
<tools>
<tools Inherit="False">
<li>
<label>碾压</label>
<capacities>
@@ -1509,7 +1700,7 @@
<toggleIconPath>Wula/UI/Commands/Wula_Mech_Mobile_Factory_AreaDamage</toggleIconPath>
</li>
</comps>
</ThingDef>
</AlienRace.ThingDef_AlienRace>
<ThingDef ParentName="BaseMechanoidWalker">
<defName>WULA_Mech_Flyer</defName>
<label>CRm-51"兵蚁"</label>
@@ -1602,11 +1793,23 @@
</li>
</comps>
</ThingDef>
<ThingDef ParentName="WULA_BaseMechanoid">
<AlienRace.ThingDef_AlienRace ParentName="WULA_BaseMechanoid">
<defName>Wula_Psi_Titan</defName>
<label>PAt-6"灵能泰坦"</label>
<description>由乌拉帝国国教所主持开发的重型灵能机械体,以折跃优雅地穿梭于炮火间,并用强大的护盾抵挡敌方射弹侵袭。该机体的内部镌刻了无数的术式环路,这使其就像一个行走的灵能发射器,可以驱使各种强大的灵能能力。</description>
<uiIconPath>Wula/Things/Wula_Psi_Titan/Wula_Psi_Titan_Icon</uiIconPath>
<alienRace>
<raceRestriction>
<weaponList>
<li>Wula_Psi_Titan_Beam</li>
</weaponList>
<onlyUseRaceRestrictedApparel>true</onlyUseRaceRestrictedApparel>
<onlyUseRaceRestrictedWeapons>true</onlyUseRaceRestrictedWeapons>
</raceRestriction>
<compatibility>
<isFlesh>false</isFlesh>
</compatibility>
</alienRace>
<statBases>
<BandwidthCost>1</BandwidthCost>
<MoveSpeed>1</MoveSpeed>
@@ -1620,7 +1823,7 @@
</statBases>
<race>
<body>Mech_Warqueen</body>
<baseBodySize>30</baseBodySize>
<baseBodySize>50</baseBodySize>
<lifeStageAges>
<li>
<def>MechanoidFullyFormed</def>
@@ -1633,7 +1836,7 @@
<flightStartChanceOnJobStart>1</flightStartChanceOnJobStart>
<!-- <thinkTreeConstant>WarUrchinConstant</thinkTreeConstant> -->
</race>
<tools>
<tools Inherit="False">
<li>
<label>碾压</label>
<capacities>
@@ -1707,7 +1910,7 @@
<toggleIconPath>Wula/UI/Commands/Wula_Psi_Titan_AreaDamage</toggleIconPath>
</li>
</comps>
</ThingDef>
</AlienRace.ThingDef_AlienRace>
<!-- 特殊单位 -->
<ThingDef ParentName="BaseMechanoidWalker">