2025-8-26

This commit is contained in:
Tourswen
2025-08-26 01:18:35 +08:00
parent 2388034c82
commit 48d27adc05
13 changed files with 919 additions and 749 deletions

View File

@@ -222,4 +222,59 @@
<defaultLabelColor>(0.6, 0.6, 0.6)</defaultLabelColor>
<scenarioCanAdd>false</scenarioCanAdd>
</HediffDef>
</Defs>
<AbilityDef>
<defName>WULA_RemoveSwitchHediff</defName>
<label>重启生产</label>
<description>重启自动生产机械体。</description>
<iconPath>Wula/UI/Abilities/WULA_WeaponSwitchAbility</iconPath>
<cooldownTicksRange>601</cooldownTicksRange>
<hostile>false</hostile>
<showOnCharacterCard>true</showOnCharacterCard>
<aiCanUse>false</aiCanUse>
<verbProperties>
<verbClass>Verb_CastAbility</verbClass>
<warmupTime>0</warmupTime>
<drawAimPie>false</drawAimPie>
<requireLineOfSight>false</requireLineOfSight>
<targetable>false</targetable>
<targetParams>
<canTargetSelf>true</canTargetSelf>
</targetParams>
</verbProperties>
<comps>
<!-- 这是正确的用法 -->
<li Class="RimWorld.CompProperties_AbilityRemoveHediff">
<compClass>WulaFallenEmpire.CompAbilityEffect_RemoveSwitchHediff</compClass>
<hediffDef>WULA_MechCarrierSwitchHediff</hediffDef>
<applyToSelf>true</applyToSelf>
</li>
</comps>
</AbilityDef>
<AbilityDef>
<defName>WULA_GiveSwitchHediff</defName>
<label>停止生产</label>
<description>停止自动生产机械体。</description>
<iconPath>Wula/UI/Abilities/WULA_WeaponSwitchAbility</iconPath>
<cooldownTicksRange>601</cooldownTicksRange>
<hostile>false</hostile>
<showOnCharacterCard>true</showOnCharacterCard>
<aiCanUse>false</aiCanUse>
<verbProperties>
<verbClass>Verb_CastAbility</verbClass>
<warmupTime>0</warmupTime>
<drawAimPie>false</drawAimPie>
<requireLineOfSight>false</requireLineOfSight>
<targetable>false</targetable>
<targetParams>
<canTargetSelf>true</canTargetSelf>
</targetParams>
</verbProperties>
<comps>
<li Class="RimWorld.CompProperties_AbilityGiveHediff">
<compClass>WulaFallenEmpire.CompAbilityEffect_GiveSwitchHediff</compClass>
<hediffDef>WULA_MechCarrierSwitchHediff</hediffDef>
<applyToSelf>true</applyToSelf>
</li>
</comps>
</AbilityDef>
</Defs>

View File

@@ -198,6 +198,68 @@
<controlGroupPortraitZoom>0.45</controlGroupPortraitZoom>
</PawnKindDef>
<PawnKindDef ParentName="HeavyMechanoidKind">
<defName>WULA_Alpha_Wolf</defName> <!-- 修改了defName以避免冲突 -->
<label>SNm-6"狼蛛"</label>
<race>WULA_Alpha_Wolf</race>
<combatPower>600</combatPower>
<allowInMechClusters>false</allowInMechClusters>
<defaultFactionType>PlayerColony</defaultFactionType>
<abilities>
<li>WULA_GiveSwitchHediff</li> <!-- 添加“停止生产”技能 -->
<li>WULA_RemoveSwitchHediff</li> <!-- 保留“恢复生产”技能 -->
</abilities>
<lifeStages>
<li>
<bodyGraphicData>
<texPath>Wula/Things/Wula_Alpha_Wolf/Bodies/Naked_Thin</texPath>
<maskPath>Wula/Things/WULA_Cat/AllegianceOverlays/None</maskPath>
<shaderType>CutoutWithOverlay</shaderType>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>3.5</drawSize>
<shadowData>
<volume>(0.4, 0.8, 0.4)</volume>
</shadowData>
</bodyGraphicData>
</li>
</lifeStages>
<weaponMoney>99999~99999</weaponMoney>
<weaponTags>
<li>WULA_WM_Alpha_Wolf_Plasma_Gun</li>
</weaponTags>
<controlGroupPortraitZoom>0.7</controlGroupPortraitZoom>
</PawnKindDef>
<PawnKindDef ParentName="HeavyMechanoidKind">
<defName>WULA_Alpha_Mantodea</defName> <!-- 修改了defName以避免冲突 -->
<label>SNm-82"螳螂"</label>
<race>WULA_Alpha_Mantodea</race>
<combatPower>600</combatPower>
<allowInMechClusters>false</allowInMechClusters>
<defaultFactionType>PlayerColony</defaultFactionType>
<abilities>
<li>WULA_GiveSwitchHediff</li> <!-- 添加“停止生产”技能 -->
<li>WULA_RemoveSwitchHediff</li> <!-- 保留“恢复生产”技能 -->
</abilities>
<lifeStages>
<li>
<bodyGraphicData>
<texPath>Wula/Things/Wula_Alpha_Wolf/Bodies/Naked_Thin2</texPath>
<maskPath>Wula/Things/WULA_Cat/AllegianceOverlays/None</maskPath>
<shaderType>CutoutWithOverlay</shaderType>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>3.5</drawSize>
<shadowData>
<volume>(0.4, 0.8, 0.4)</volume>
</shadowData>
</bodyGraphicData>
</li>
</lifeStages>
<weaponMoney>99999~99999</weaponMoney>
<controlGroupPortraitZoom>0.7</controlGroupPortraitZoom>
</PawnKindDef>
<PawnKindDef ParentName="NonCombatLightMechanoidKind">
<defName>Mech_WULA_Cat</defName>
<label>乌拉猫猫</label>

View File

@@ -339,7 +339,7 @@
</researchPrerequisites>
</RecipeDef>
<RecipeDef ParentName="MediumMechanoidRecipe">
<RecipeDef ParentName="HeavyMechanoidRecipe">
<defName>WULA_Build_AI_Heavy_Panzer</defName>
<label>建造SMp-38"萨克森"</label>
<description>建造一台SMp-38"萨克森"智能战车。</description>
@@ -385,7 +385,7 @@
</descriptionHyperlinks>
<researchPrerequisite>WULA_AI_Machine_Panzer_Technology</researchPrerequisite>
</RecipeDef>
<RecipeDef ParentName="MediumMechanoidRecipe">
<RecipeDef ParentName="HeavyMechanoidRecipe">
<defName>WULA_Build_AI_Heavy_Panzer_Gunnery</defName>
<label>建造SMp-38A"斯佩萨特"</label>
<description>建造一台SMp-38A"斯佩萨特"智能战车。</description>
@@ -432,6 +432,99 @@
<researchPrerequisite>WULA_AI_Machine_Panzer_Technology</researchPrerequisite>
</RecipeDef>
<RecipeDef ParentName="HeavyMechanoidRecipe">
<defName>WULA_Build_Alpha_Wolf</defName>
<label>建造SNm-6"狼蛛"</label>
<description>建造一台SNm-6"狼蛛"智能机甲。</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>8</count>
</li>
</ingredients>
<products>
<WULA_Alpha_Wolf>1</WULA_Alpha_Wolf>
</products>
<descriptionHyperlinks>
<ThingDef>WULA_Alpha_Wolf</ThingDef>
</descriptionHyperlinks>
<researchPrerequisite>WULA_Alpha_Wolf_Technology</researchPrerequisite>
</RecipeDef>
<RecipeDef ParentName="MediumMechanoidRecipe">
<defName>WULA_Build_Alpha_Mantodea</defName>
<label>建造SNm-82"螳螂"</label>
<description>建造一台SNm-82"螳螂"智能机甲。</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>8</count>
</li>
</ingredients>
<products>
<WULA_Alpha_Mantodea>1</WULA_Alpha_Mantodea>
</products>
<descriptionHyperlinks>
<ThingDef>WULA_Alpha_Mantodea</ThingDef>
</descriptionHyperlinks>
<researchPrerequisite>WULA_Alpha_Wolf_Technology</researchPrerequisite>
</RecipeDef>
<RecipeDef ParentName="LightMechanoidRecipe">
<defName>WULA_Build_Wula_Synth</defName>
<label>建造URa-00"机械乌拉"</label>

View File

@@ -300,7 +300,19 @@
<researchViewY>4.80</researchViewY>
<label>基础战车部署套件</label>
<description>获取乌拉帝国机械体SMp-38"萨克森"和其变种SMp-38A"斯佩萨特"的生产权限,一种携带突击区域护盾和强大火力武备的战车型机械体。</description>
<baseCost>2400</baseCost>
<baseCost>3000</baseCost>
<prerequisites>
<li>HighMechtech</li>
<li>WULA_Mech_WULA_Cat_DM_Technology</li>
</prerequisites>
</ResearchProjectDef>
<ResearchProjectDef ParentName="WULAtechBase">
<defName>WULA_Alpha_Wolf_Technology</defName>
<researchViewX>11.00</researchViewX>
<researchViewY>4.80</researchViewY>
<label>狼蛛机甲部署套件</label>
<description>获取乌拉帝国机械体SNm-6"狼蛛"和其变种SNm-82"螳螂"的生产权限,一种拥有个体护盾,并根据装备的武器能在近战或远程轰炸中发挥恐怖实力的四足机械体。</description>
<baseCost>3000</baseCost>
<prerequisites>
<li>HighMechtech</li>
<li>WULA_Mech_WULA_Cat_DM_Technology</li>

View File

@@ -106,7 +106,6 @@
<recipes>
<li>Make_WULA_Charge_Cube</li>
<li>Recharge_WULA_Charge_Cube</li>
<li MayRequire="Ludeon.RimWorld.Anomaly">Wula_Make_Zro</li>
</recipes>
<inspectorTabs>
<li>ITab_Bills</li>
@@ -187,7 +186,6 @@
<li>Make_Component_By_WULA_Cube_Productor</li>
<li>Make_WULA_Dark_Matter_Item</li>
<li>Make_WULA_Neutronium</li>
<li MayRequire="Ludeon.RimWorld.Anomaly">Wula_Make_Zro</li>
</recipes>
<inspectorTabs>
<li>ITab_Bills</li>
@@ -489,7 +487,6 @@
<li>WULA_Build_AI_Heavy_Panzer_Gunnery</li>
<li MayRequire="Ludeon.RimWorld.Odyssey">WULA_Build_AI_Engineer_Mother</li>
<li MayRequire="Ludeon.RimWorld.Odyssey">WULA_Build_AI_Engineer_Mother_Attack</li>
<li MayRequire="Ludeon.RimWorld.Anomaly">WULA_Build_Psi_Titan</li>
</recipes>
<comps>
<li Class="CompProperties_WasteProducer" />

View File

@@ -1,106 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<ThingDef ParentName="BaseHumanMakeableGun">
<defName>WULA_WM_Alpha_Wolf_Plasma_Gun</defName>
<label>PMe-92"磷灰"</label>
<description>搭载于SNm-6"狼蛛"机甲的高能等离子武器,所使用的等离子射弹虽然弹速较慢,但是能引起大范围的熔融爆炸并毁灭成群敌军。</description>
<techLevel>Archotech</techLevel>
<graphicData>
<texPath>Wula/Weapon/WULA_WM_Alpha_Wolf_Plasma_Gun</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>2</drawSize>
</graphicData>
<uiIconScale>0.5</uiIconScale>
<soundInteract>Interact_ChargeRifle</soundInteract> <!-- Placeholder, needs a proper sound -->
<recipeMaker Inherit="False" />
<statBases>
<WorkToMake>200000</WorkToMake>
<Mass>100</Mass>
<AccuracyTouch>0.5</AccuracyTouch>
<AccuracyShort>0.4</AccuracyShort>
<AccuracyMedium>0.3</AccuracyMedium>
<AccuracyLong>0.3</AccuracyLong>
<RangedWeapon_Cooldown>12.0</RangedWeapon_Cooldown>
</statBases>
<costList Inherit="False">
<Steel>1500</Steel>
<ComponentIndustrial>600</ComponentIndustrial>
<Plasteel>300</Plasteel>
<Uranium>100</Uranium>
</costList>
<verbs>
<li>
<verbClass>Verb_Shoot</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Bullet_WULA_WM_Alpha_Wolf_Plasma_Gun</defaultProjectile>
<warmupTime>0</warmupTime>
<range>500</range>
<minRange>8</minRange>
<burstShotCount>48</burstShotCount>
<ticksBetweenBurstShots>15</ticksBetweenBurstShots>
<soundCast>ChargeLance_Fire</soundCast>
<soundCastTail>GunTail_Medium</soundCastTail>
<muzzleFlashScale>7</muzzleFlashScale>
<forcedMissRadius>1</forcedMissRadius>
<requireLineOfSight>false</requireLineOfSight>
<targetParams>
<canTargetLocations>true</canTargetLocations>
</targetParams>
</li>
</verbs>
<weaponTags>
<li>WULA_WM_Alpha_Wolf_Plasma_Gun</li>
</weaponTags>
</ThingDef>
<ThingDef ParentName="BaseBullet">
<defName>Bullet_WULA_WM_Alpha_Wolf_Plasma_Gun</defName>
<label>磷灰等离子体爆弹</label>
<graphicData>
<texPath>Wula/Projectile/WULA_Bullet_Plasma</texPath>
<graphicClass>Graphic_Single</graphicClass>
<shaderType>MoteGlow</shaderType>
<color>(61,199,157,202)</color>
<drawSize>(3,4)</drawSize>
</graphicData>
<thingClass>WulaFallenEmpire.Projectile_ExplosiveWithTrail</thingClass>
<!-- <thingClass>WulaFallenEmpire.Projectile_ExplosiveTrackingBullet</thingClass> -->
<projectile>
<speed>25</speed>
<damageDef>Damage_WULA_Plasma_Explosive</damageDef>
<damageAmountBase>40</damageAmountBase>
<armorPenetrationBase>0.7</armorPenetrationBase>
<stoppingPower>2.0</stoppingPower>
<explosionRadius>2.5</explosionRadius>
<soundExplode>Explosion_EMP</soundExplode>
<armorPenetrationBase>0.75</armorPenetrationBase>
<screenShakeFactor>0.5</screenShakeFactor>
<flyOverhead>true</flyOverhead>
</projectile>
<modExtensions>
<!-- <li Class="WulaFallenEmpire.ExplosiveTrackingBulletDef">
<explosionRadius>2.5</explosionRadius>
<damageDef>Damage_WULA_Plasma_Explosive</damageDef>
</li> -->
<!-- <li Class="WulaFallenEmpire.TrackingBulletDef">
<homingSpeed>0</homingSpeed>
<initRotateAngle>0</initRotateAngle>
<destroyTicksAfterLosingTrack>
<min>60</min>
<max>120</max>
</destroyTicksAfterLosingTrack>
<tailFleckDef>WULA_GunTail_Plasma</tailFleckDef>
<impactThreshold>1</impactThreshold>
</li> -->
<li Class="WulaFallenEmpire.TrackingBulletDef">
<tailFleckDef>WULA_GunTail_Plasma</tailFleckDef>
<fleckMakeFleckTickMax>3</fleckMakeFleckTickMax>
</li>
<li Class="WulaFallenEmpire.ShotgunExtension">
<pelletCount>3</pelletCount>
</li>
</modExtensions>
</ThingDef>
<ThingDef ParentName="BaseHumanMakeableGun">
<defName>WULA_RW_Unlimit_Penetrating_Beam_Cannon</defName>
<label>XXx-00 "贯杀炮"</label>
@@ -181,241 +80,4 @@
</li>
</verbs>
</ThingDef>
<ThingDef ParentName="BaseWeaponTurret">
<defName>WULA_Alpha_Wolf_Turret</defName>
<label>魔眼</label>
<description>乌拉帝国图书馆大型机械体的眼部,除了提供视觉传感外还搭载了强大的暗物质射流炮,可以通过扫射战场释放恐怖的力量融化敌人</description>
<tradeability>None</tradeability>
<destroyOnDrop>true</destroyOnDrop>
<graphicData>
<texPath>Wula/Weapon/WULA_Weapon_Empty</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<statBases>
<Mass>2.6</Mass>
<AccuracyTouch>0.60</AccuracyTouch>
<AccuracyShort>0.80</AccuracyShort>
<AccuracyMedium>0.90</AccuracyMedium>
<AccuracyLong>0.85</AccuracyLong>
</statBases>
<verbs>
<li Class="WulaFallenEmpire.VerbPropertiesExplosiveBeam">
<verbClass>WulaFallenEmpire.Verb_ShootBeamExplosive</verbClass>
<!-- 基础射线参数 -->
<hasStandardCommand>true</hasStandardCommand>
<range>30</range>
<burstShotCount>12</burstShotCount>
<defaultCooldownTime>6</defaultCooldownTime>
<ticksBetweenBurstShots>6</ticksBetweenBurstShots>
<beamDamageDef>Wula_Dark_Matter_Beam</beamDamageDef>
<!-- 消除射线偏移的参数 -->
<!-- <beamFullWidthRange>1000</beamFullWidthRange>
<beamWidth>-1</beamWidth>
<beamMaxDeviation>0</beamMaxDeviation>
<beamCurvature>0</beamCurvature>
<beamStartOffset>0</beamStartOffset> -->
<beamFullWidthRange>11</beamFullWidthRange>
<beamWidth>6</beamWidth>
<beamMaxDeviation>0.5</beamMaxDeviation>
<beamCurvature>0.6</beamCurvature>
<beamStartOffset>0.5</beamStartOffset>
<!-- 视觉和音效 -->
<muzzleFlashScale>0</muzzleFlashScale>
<soundCastBeam>BeamGraser_Shooting</soundCastBeam>
<beamGroundFleckDef>Fleck_BeamBurn</beamGroundFleckDef>
<beamFleckChancePerTick>0.32</beamFleckChancePerTick>
<beamMoteDef>Mote_Wula_Dark_Matter_Beam</beamMoteDef>
<beamEndEffecterDef>GraserBeam_End</beamEndEffecterDef>
<screenShakeFactor>0.45</screenShakeFactor>
<!-- 火焰效果 -->
<beamChanceToStartFire>0.6</beamChanceToStartFire>
<beamChanceToAttachFire>0.6</beamChanceToAttachFire>
<beamFireSizeRange>0.25</beamFireSizeRange>
<!-- 其他射线属性 -->
<beamHitsNeighborCells>true</beamHitsNeighborCells>
<beamLineFleckChanceCurve>
<points>
<li>(0, 0)</li>
<li>(0.65, 0.4)</li>
<li>(1, 0.75)</li>
</points>
</beamLineFleckChanceCurve>
<!-- 攻击目标设置 -->
<targetParams>
<canTargetLocations>true</canTargetLocations>
</targetParams>
<!-- 爆炸参数 -->
<enableExplosion>true</enableExplosion>
<explosionShotInterval>2</explosionShotInterval>
<explosionRadius>1.2</explosionRadius>
<explosionDamageDef>Wula_Dark_Matter_Flame</explosionDamageDef>
<explosionDamage>15</explosionDamage>
<explosionSound>Explosion_Bomb</explosionSound>
<chanceToStartFire>0.6</chanceToStartFire>
</li>
</verbs>
</ThingDef>
<ThingDef ParentName="BaseWeaponTurret">
<defName>WULA_Alpha_Mantodea_Turret</defName>
<label>双子魔眼</label>
<description>由少量乌拉帝国图书馆大型机械体搭载的特殊眼部,比起单只魔眼可以同时从两个方向进行扫射,以释放恐怖的力量融化敌人。</description>
<tradeability>None</tradeability>
<destroyOnDrop>true</destroyOnDrop>
<graphicData>
<texPath>Wula/Weapon/WULA_Weapon_Empty</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<statBases>
<Mass>2.6</Mass>
<AccuracyTouch>0.60</AccuracyTouch>
<AccuracyShort>0.80</AccuracyShort>
<AccuracyMedium>0.90</AccuracyMedium>
<AccuracyLong>0.85</AccuracyLong>
</statBases>
<verbs>
<li Class="WulaFallenEmpire.VerbPropertiesExplosiveBeam">
<verbClass>WulaFallenEmpire.Verb_ShootMeltBeam</verbClass>
<!-- 基础射线参数 -->
<hasStandardCommand>true</hasStandardCommand>
<warmupTime>0</warmupTime>
<range>25</range>
<defaultCooldownTime>4</defaultCooldownTime>
<burstShotCount>20</burstShotCount>
<ticksBetweenBurstShots>5</ticksBetweenBurstShots>
<beamDamageDef>Wula_Dark_Matter_Beam</beamDamageDef>
<!-- 核心光束塑形参数 -->
<beamFullWidthRange>12</beamFullWidthRange> <!-- 光束达到最大宽度的距离 -->
<beamWidth>5</beamWidth> <!-- 光束的最大宽度 -->
<beamMaxDeviation>0.8</beamMaxDeviation> <!-- 光束路径的随机偏移量 -->
<beamCurvature>0.7</beamCurvature> <!-- 光束的弯曲程度 -->
<beamStartOffset>0.5</beamStartOffset> <!-- 光束起始点距离发射者的偏移 -->
<!-- 视觉和音效 -->
<muzzleFlashScale>0</muzzleFlashScale>
<soundCastBeam>BeamGraser_Shooting</soundCastBeam>
<beamGroundFleckDef>Fleck_BeamBurn</beamGroundFleckDef>
<beamFleckChancePerTick>0.32</beamFleckChancePerTick>
<beamMoteDef>Mote_Wula_Dark_Matter_Beam</beamMoteDef>
<beamEndEffecterDef>GraserBeam_End</beamEndEffecterDef>
<!-- 火焰效果 -->
<beamSetsGroundOnFire>true</beamSetsGroundOnFire> <!-- 光束是否点燃地面 -->
<beamChanceToStartFire>0.5</beamChanceToStartFire>
<beamChanceToAttachFire>0.5</beamChanceToAttachFire>
<beamFireSizeRange>0.2~0.4</beamFireSizeRange> <!-- 火焰大小范围 -->
<!-- 其他射线属性 -->
<beamHitsNeighborCells>true</beamHitsNeighborCells>
<stopBurstWithoutLos>false</stopBurstWithoutLos> <!-- 即使失去视野也继续扫射 -->
<!-- 攻击目标设置 -->
<targetParams>
<canTargetLocations>true</canTargetLocations>
</targetParams>
<!-- 爆炸参数 -->
<enableExplosion>true</enableExplosion>
<explosionShotInterval>4</explosionShotInterval> <!-- 每3次射击判定一次爆炸 -->
<explosionRadius>1.3</explosionRadius>
<explosionDamageDef>Wula_Dark_Matter_Flame</explosionDamageDef>
<explosionDamage>20</explosionDamage>
<explosionSound>Explosion_Bomb</explosionSound>
<chanceToStartFire>0.6</chanceToStartFire>
<screenShakeFactor>0.3</screenShakeFactor> <!-- 爆炸时的屏幕震动 -->
</li>
</verbs>
</ThingDef>
<ThingDef ParentName="BaseWeaponTurret">
<defName>WULA_MechFlyerTurretGun</defName>
<label>磁力光束</label>
<description>一种可以窃取他人武器的内置炮塔。</description>
<tradeability>None</tradeability>
<destroyOnDrop>true</destroyOnDrop>
<graphicData>
<texPath>Wula/Weapon/WULA_Weapon_Empty</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<statBases>
<Mass>2.6</Mass>
<AccuracyTouch>0.60</AccuracyTouch>
<AccuracyShort>0.80</AccuracyShort>
<AccuracyMedium>0.90</AccuracyMedium>
<AccuracyLong>0.85</AccuracyLong>
</statBases>
<verbs>
<li Class="WulaFallenEmpire.VerbProperties_WeaponStealBeam">
<verbClass>WulaFallenEmpire.Verb_ShootWeaponStealBeam</verbClass>
<hediffToApply>WULA_WeaponStealEffect</hediffToApply>
<hediffSeverityPerHit>0.1</hediffSeverityPerHit>
<hediffMaxSeverity>1.0</hediffMaxSeverity>
<removeHediffOnSteal>true</removeHediffOnSteal>
<!-- 基础射线参数 -->
<hasStandardCommand>true</hasStandardCommand>
<warmupTime>0</warmupTime>
<range>5</range>
<burstShotCount>5</burstShotCount>
<ticksBetweenBurstShots>50</ticksBetweenBurstShots>
<beamDamageDef>Wula_Dark_Matter_Beam</beamDamageDef>
<beamTotalDamage>3</beamTotalDamage>
<!-- 消除射线偏移的参数 -->
<beamFullWidthRange>1000</beamFullWidthRange>
<beamWidth>-1</beamWidth>
<beamMaxDeviation>0</beamMaxDeviation>
<beamCurvature>0</beamCurvature>
<beamStartOffset>0</beamStartOffset>
<!-- 视觉和音效 -->
<muzzleFlashScale>0</muzzleFlashScale>
<soundCastBeam>BeamGraser_Shooting</soundCastBeam>
<beamGroundFleckDef>Fleck_BeamBurn</beamGroundFleckDef>
<beamFleckChancePerTick>0.32</beamFleckChancePerTick>
<!-- <beamMoteDef>Mote_Wula_Dark_Magnetic_Beam</beamMoteDef> -->
<beamEndEffecterDef>GraserBeam_End</beamEndEffecterDef>
<screenShakeFactor>0.35</screenShakeFactor>
<!-- 火焰效果 -->
<beamChanceToStartFire>0.6</beamChanceToStartFire>
<beamChanceToAttachFire>0.6</beamChanceToAttachFire>
<beamFireSizeRange>0.25</beamFireSizeRange>
<!-- 其他射线属性 -->
<beamHitsNeighborCells>true</beamHitsNeighborCells>
<beamLineFleckChanceCurve>
<points>
<li>(0, 0)</li>
<li>(0.65, 0.4)</li>
<li>(1, 0.75)</li>
</points>
</beamLineFleckChanceCurve>
<!-- 攻击目标设置 -->
<targetParams>
<canTargetLocations>true</canTargetLocations>
</targetParams>
<!-- 每发都爆炸 -->
<enableExplosion>false</enableExplosion>
<!--<explosionShotInterval>1</explosionShotInterval>
<explosionRadius>1.8</explosionRadius>
<explosionDamageDef>Wula_Dark_Matter_Flame</explosionDamageDef>
<explosionDamage>15</explosionDamage>
<explosionSound>Explosion_Bomb</explosionSound>
<chanceToStartFire>0.6</chanceToStartFire>-->
</li>
</verbs>
</ThingDef>
</Defs>

View File

@@ -2029,4 +2029,343 @@
<!-- <preExplosionSpawnSingleThingDef>CraterMedium</preExplosionSpawnSingleThingDef> -->
</projectile>
</ThingDef>
<!-- 狼蛛装备 -->
<ThingDef ParentName="BaseHumanMakeableGun">
<defName>WULA_WM_Alpha_Wolf_Plasma_Gun</defName>
<label>PMe-92"磷灰"</label>
<description>搭载于SNm-6"狼蛛"机甲的高能等离子武器,所使用的等离子射弹虽然弹速较慢,但是能引起大范围的熔融爆炸并毁灭成群敌军。</description>
<techLevel>Archotech</techLevel>
<graphicData>
<texPath>Wula/Weapon/WULA_WM_Alpha_Wolf_Plasma_Gun</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>2</drawSize>
</graphicData>
<uiIconScale>0.5</uiIconScale>
<soundInteract>Interact_ChargeRifle</soundInteract> <!-- Placeholder, needs a proper sound -->
<recipeMaker Inherit="False" />
<statBases>
<WorkToMake>200000</WorkToMake>
<Mass>100</Mass>
<AccuracyTouch>0.5</AccuracyTouch>
<AccuracyShort>0.4</AccuracyShort>
<AccuracyMedium>0.3</AccuracyMedium>
<AccuracyLong>0.3</AccuracyLong>
<RangedWeapon_Cooldown>12.0</RangedWeapon_Cooldown>
</statBases>
<costList Inherit="False">
<Steel>1500</Steel>
<ComponentIndustrial>600</ComponentIndustrial>
<Plasteel>300</Plasteel>
<Uranium>100</Uranium>
</costList>
<verbs>
<li>
<verbClass>Verb_Shoot</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Bullet_WULA_WM_Alpha_Wolf_Plasma_Gun</defaultProjectile>
<warmupTime>0</warmupTime>
<range>500</range>
<minRange>8</minRange>
<burstShotCount>48</burstShotCount>
<ticksBetweenBurstShots>15</ticksBetweenBurstShots>
<soundCast>ChargeLance_Fire</soundCast>
<soundCastTail>GunTail_Medium</soundCastTail>
<muzzleFlashScale>7</muzzleFlashScale>
<forcedMissRadius>1</forcedMissRadius>
<requireLineOfSight>false</requireLineOfSight>
<targetParams>
<canTargetLocations>true</canTargetLocations>
</targetParams>
</li>
</verbs>
<weaponTags>
<li>WULA_WM_Alpha_Wolf_Plasma_Gun</li>
</weaponTags>
</ThingDef>
<ThingDef ParentName="BaseBullet">
<defName>Bullet_WULA_WM_Alpha_Wolf_Plasma_Gun</defName>
<label>磷灰等离子体爆弹</label>
<graphicData>
<texPath>Wula/Projectile/WULA_Bullet_Plasma</texPath>
<graphicClass>Graphic_Single</graphicClass>
<shaderType>MoteGlow</shaderType>
<color>(61,199,157,202)</color>
<drawSize>(3,4)</drawSize>
</graphicData>
<thingClass>WulaFallenEmpire.Projectile_ExplosiveWithTrail</thingClass>
<!-- <thingClass>WulaFallenEmpire.Projectile_ExplosiveTrackingBullet</thingClass> -->
<projectile>
<speed>25</speed>
<damageDef>Damage_WULA_Plasma_Explosive</damageDef>
<damageAmountBase>40</damageAmountBase>
<armorPenetrationBase>0.7</armorPenetrationBase>
<stoppingPower>2.0</stoppingPower>
<explosionRadius>2.5</explosionRadius>
<soundExplode>Explosion_EMP</soundExplode>
<armorPenetrationBase>0.75</armorPenetrationBase>
<screenShakeFactor>0.5</screenShakeFactor>
<flyOverhead>true</flyOverhead>
</projectile>
<modExtensions>
<!-- <li Class="WulaFallenEmpire.ExplosiveTrackingBulletDef">
<explosionRadius>2.5</explosionRadius>
<damageDef>Damage_WULA_Plasma_Explosive</damageDef>
</li> -->
<!-- <li Class="WulaFallenEmpire.TrackingBulletDef">
<homingSpeed>0</homingSpeed>
<initRotateAngle>0</initRotateAngle>
<destroyTicksAfterLosingTrack>
<min>60</min>
<max>120</max>
</destroyTicksAfterLosingTrack>
<tailFleckDef>WULA_GunTail_Plasma</tailFleckDef>
<impactThreshold>1</impactThreshold>
</li> -->
<li Class="WulaFallenEmpire.TrackingBulletDef">
<tailFleckDef>WULA_GunTail_Plasma</tailFleckDef>
<fleckMakeFleckTickMax>3</fleckMakeFleckTickMax>
</li>
<li Class="WulaFallenEmpire.ShotgunExtension">
<pelletCount>3</pelletCount>
</li>
</modExtensions>
</ThingDef>
<ThingDef ParentName="BaseWeaponTurret">
<defName>WULA_Alpha_Wolf_Turret</defName>
<label>魔眼</label>
<description>乌拉帝国图书馆大型机械体的眼部,除了提供视觉传感外还搭载了强大的暗物质射流炮,可以通过扫射战场释放恐怖的力量融化敌人</description>
<tradeability>None</tradeability>
<destroyOnDrop>true</destroyOnDrop>
<graphicData>
<texPath>Wula/Weapon/WULA_Weapon_Empty</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<statBases>
<Mass>2.6</Mass>
<AccuracyTouch>0.60</AccuracyTouch>
<AccuracyShort>0.80</AccuracyShort>
<AccuracyMedium>0.90</AccuracyMedium>
<AccuracyLong>0.85</AccuracyLong>
</statBases>
<verbs>
<li Class="WulaFallenEmpire.VerbPropertiesExplosiveBeam">
<verbClass>WulaFallenEmpire.Verb_ShootBeamExplosive</verbClass>
<!-- 基础射线参数 -->
<hasStandardCommand>true</hasStandardCommand>
<range>30</range>
<burstShotCount>12</burstShotCount>
<defaultCooldownTime>6</defaultCooldownTime>
<ticksBetweenBurstShots>6</ticksBetweenBurstShots>
<beamDamageDef>Wula_Dark_Matter_Beam</beamDamageDef>
<!-- 消除射线偏移的参数 -->
<!-- <beamFullWidthRange>1000</beamFullWidthRange>
<beamWidth>-1</beamWidth>
<beamMaxDeviation>0</beamMaxDeviation>
<beamCurvature>0</beamCurvature>
<beamStartOffset>0</beamStartOffset> -->
<beamFullWidthRange>11</beamFullWidthRange>
<beamWidth>6</beamWidth>
<beamMaxDeviation>0.5</beamMaxDeviation>
<beamCurvature>0.6</beamCurvature>
<beamStartOffset>0.5</beamStartOffset>
<!-- 视觉和音效 -->
<muzzleFlashScale>0</muzzleFlashScale>
<soundCastBeam>BeamGraser_Shooting</soundCastBeam>
<beamGroundFleckDef>Fleck_BeamBurn</beamGroundFleckDef>
<beamFleckChancePerTick>0.32</beamFleckChancePerTick>
<beamMoteDef>Mote_Wula_Dark_Matter_Beam</beamMoteDef>
<beamEndEffecterDef>GraserBeam_End</beamEndEffecterDef>
<screenShakeFactor>0.45</screenShakeFactor>
<!-- 火焰效果 -->
<beamChanceToStartFire>0.6</beamChanceToStartFire>
<beamChanceToAttachFire>0.6</beamChanceToAttachFire>
<beamFireSizeRange>0.25</beamFireSizeRange>
<!-- 其他射线属性 -->
<beamHitsNeighborCells>true</beamHitsNeighborCells>
<beamLineFleckChanceCurve>
<points>
<li>(0, 0)</li>
<li>(0.65, 0.4)</li>
<li>(1, 0.75)</li>
</points>
</beamLineFleckChanceCurve>
<!-- 攻击目标设置 -->
<targetParams>
<canTargetLocations>true</canTargetLocations>
</targetParams>
<!-- 爆炸参数 -->
<enableExplosion>true</enableExplosion>
<explosionShotInterval>2</explosionShotInterval>
<explosionRadius>1.2</explosionRadius>
<explosionDamageDef>Wula_Dark_Matter_Flame</explosionDamageDef>
<explosionDamage>15</explosionDamage>
<explosionSound>Explosion_Bomb</explosionSound>
<chanceToStartFire>0.6</chanceToStartFire>
</li>
</verbs>
</ThingDef>
<ThingDef ParentName="BaseWeaponTurret">
<defName>WULA_Alpha_Mantodea_Turret</defName>
<label>双子魔眼</label>
<description>由少量乌拉帝国图书馆大型机械体搭载的特殊眼部,比起单只魔眼可以同时从两个方向进行扫射,以释放恐怖的力量融化敌人。</description>
<tradeability>None</tradeability>
<destroyOnDrop>true</destroyOnDrop>
<graphicData>
<texPath>Wula/Weapon/WULA_Weapon_Empty</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<statBases>
<Mass>2.6</Mass>
<AccuracyTouch>0.60</AccuracyTouch>
<AccuracyShort>0.80</AccuracyShort>
<AccuracyMedium>0.90</AccuracyMedium>
<AccuracyLong>0.85</AccuracyLong>
</statBases>
<verbs>
<li Class="WulaFallenEmpire.VerbPropertiesExplosiveBeam">
<verbClass>WulaFallenEmpire.Verb_ShootMeltBeam</verbClass>
<!-- 基础射线参数 -->
<hasStandardCommand>true</hasStandardCommand>
<warmupTime>0</warmupTime>
<range>25</range>
<defaultCooldownTime>4</defaultCooldownTime>
<burstShotCount>20</burstShotCount>
<ticksBetweenBurstShots>5</ticksBetweenBurstShots>
<beamDamageDef>Wula_Dark_Matter_Beam</beamDamageDef>
<!-- 核心光束塑形参数 -->
<beamFullWidthRange>12</beamFullWidthRange> <!-- 光束达到最大宽度的距离 -->
<beamWidth>5</beamWidth> <!-- 光束的最大宽度 -->
<beamMaxDeviation>0.8</beamMaxDeviation> <!-- 光束路径的随机偏移量 -->
<beamCurvature>0.7</beamCurvature> <!-- 光束的弯曲程度 -->
<beamStartOffset>0.5</beamStartOffset> <!-- 光束起始点距离发射者的偏移 -->
<!-- 视觉和音效 -->
<muzzleFlashScale>0</muzzleFlashScale>
<soundCastBeam>BeamGraser_Shooting</soundCastBeam>
<beamGroundFleckDef>Fleck_BeamBurn</beamGroundFleckDef>
<beamFleckChancePerTick>0.32</beamFleckChancePerTick>
<beamMoteDef>Mote_Wula_Dark_Matter_Beam</beamMoteDef>
<beamEndEffecterDef>GraserBeam_End</beamEndEffecterDef>
<!-- 火焰效果 -->
<beamSetsGroundOnFire>true</beamSetsGroundOnFire> <!-- 光束是否点燃地面 -->
<beamChanceToStartFire>0.5</beamChanceToStartFire>
<beamChanceToAttachFire>0.5</beamChanceToAttachFire>
<beamFireSizeRange>0.2~0.4</beamFireSizeRange> <!-- 火焰大小范围 -->
<!-- 其他射线属性 -->
<beamHitsNeighborCells>true</beamHitsNeighborCells>
<stopBurstWithoutLos>false</stopBurstWithoutLos> <!-- 即使失去视野也继续扫射 -->
<!-- 攻击目标设置 -->
<targetParams>
<canTargetLocations>true</canTargetLocations>
</targetParams>
<!-- 爆炸参数 -->
<enableExplosion>true</enableExplosion>
<explosionShotInterval>4</explosionShotInterval> <!-- 每3次射击判定一次爆炸 -->
<explosionRadius>1.3</explosionRadius>
<explosionDamageDef>Wula_Dark_Matter_Flame</explosionDamageDef>
<explosionDamage>20</explosionDamage>
<explosionSound>Explosion_Bomb</explosionSound>
<chanceToStartFire>0.6</chanceToStartFire>
<screenShakeFactor>0.3</screenShakeFactor> <!-- 爆炸时的屏幕震动 -->
</li>
</verbs>
</ThingDef>
<!-- 神人大鹅武器 -->
<ThingDef ParentName="BaseWeaponTurret">
<defName>WULA_MechFlyerTurretGun</defName>
<label>磁力光束</label>
<description>一种可以窃取他人武器的内置炮塔。</description>
<tradeability>None</tradeability>
<destroyOnDrop>true</destroyOnDrop>
<graphicData>
<texPath>Wula/Weapon/WULA_Weapon_Empty</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<statBases>
<Mass>2.6</Mass>
<AccuracyTouch>0.60</AccuracyTouch>
<AccuracyShort>0.80</AccuracyShort>
<AccuracyMedium>0.90</AccuracyMedium>
<AccuracyLong>0.85</AccuracyLong>
</statBases>
<verbs>
<li Class="WulaFallenEmpire.VerbProperties_WeaponStealBeam">
<verbClass>WulaFallenEmpire.Verb_ShootWeaponStealBeam</verbClass>
<hediffToApply>WULA_WeaponStealEffect</hediffToApply>
<hediffSeverityPerHit>0.1</hediffSeverityPerHit>
<hediffMaxSeverity>1.0</hediffMaxSeverity>
<removeHediffOnSteal>true</removeHediffOnSteal>
<!-- 基础射线参数 -->
<hasStandardCommand>true</hasStandardCommand>
<warmupTime>0</warmupTime>
<range>5</range>
<burstShotCount>5</burstShotCount>
<ticksBetweenBurstShots>50</ticksBetweenBurstShots>
<beamDamageDef>Wula_Dark_Matter_Beam</beamDamageDef>
<beamTotalDamage>3</beamTotalDamage>
<!-- 消除射线偏移的参数 -->
<beamFullWidthRange>1000</beamFullWidthRange>
<beamWidth>-1</beamWidth>
<beamMaxDeviation>0</beamMaxDeviation>
<beamCurvature>0</beamCurvature>
<beamStartOffset>0</beamStartOffset>
<!-- 视觉和音效 -->
<muzzleFlashScale>0</muzzleFlashScale>
<soundCastBeam>BeamGraser_Shooting</soundCastBeam>
<beamGroundFleckDef>Fleck_BeamBurn</beamGroundFleckDef>
<beamFleckChancePerTick>0.32</beamFleckChancePerTick>
<!-- <beamMoteDef>Mote_Wula_Dark_Magnetic_Beam</beamMoteDef> -->
<beamEndEffecterDef>GraserBeam_End</beamEndEffecterDef>
<screenShakeFactor>0.35</screenShakeFactor>
<!-- 火焰效果 -->
<beamChanceToStartFire>0.6</beamChanceToStartFire>
<beamChanceToAttachFire>0.6</beamChanceToAttachFire>
<beamFireSizeRange>0.25</beamFireSizeRange>
<!-- 其他射线属性 -->
<beamHitsNeighborCells>true</beamHitsNeighborCells>
<beamLineFleckChanceCurve>
<points>
<li>(0, 0)</li>
<li>(0.65, 0.4)</li>
<li>(1, 0.75)</li>
</points>
</beamLineFleckChanceCurve>
<!-- 攻击目标设置 -->
<targetParams>
<canTargetLocations>true</canTargetLocations>
</targetParams>
<!-- 每发都爆炸 -->
<enableExplosion>false</enableExplosion>
<!--<explosionShotInterval>1</explosionShotInterval>
<explosionRadius>1.8</explosionRadius>
<explosionDamageDef>Wula_Dark_Matter_Flame</explosionDamageDef>
<explosionDamage>15</explosionDamage>
<explosionSound>Explosion_Bomb</explosionSound>
<chanceToStartFire>0.6</chanceToStartFire>-->
</li>
</verbs>
</ThingDef>
</Defs>

View File

@@ -963,6 +963,221 @@
<label>SMp-38A"斯佩萨特"</label>
<description>乌拉帝国所使用的中型突击战车,以逆重的方式悬浮于战场上,搭载了联装机炮和用于杀伤软目标的"石英"火箭弹,并且拥有足以保护一支突击小队的护盾。</description>
</ThingDef>
<ThingDef Name="WULA_Alpha_Wolf" ParentName="HeavyMechanoid">
<defName>WULA_Alpha_Wolf</defName> <!-- 修改了defName以避免冲突 -->
<label>SNm-6"狼蛛"</label>
<description>乌拉帝国图书馆所使用的一种炮兵机械体,装备着一门重型等离子炮,可以在极远距离上喷射覆盖性的等离子射弹以摧毁成片敌军。</description>
<statBases>
<BandwidthCost>6</BandwidthCost>
<MoveSpeed>3</MoveSpeed>
<MeleeDoorDamageFactor>1.5</MeleeDoorDamageFactor>
<EnergyShieldEnergyMax>5</EnergyShieldEnergyMax>
</statBases>
<race>
<body>Mech_Warqueen</body>
<baseBodySize>5</baseBodySize>
<lifeStageAges>
<li>
<def>MechanoidFullyFormed</def>
<minAge>0</minAge>
<soundWounded>Pawn_Mech_Warqueen_Wounded</soundWounded>
<soundDeath>Pawn_Mech_Warqueen_Death</soundDeath>
<soundCall>Pawn_Mech_Warqueen_Call</soundCall>
</li>
</lifeStageAges>
<baseHealthScale>10</baseHealthScale>
<!-- <thinkTreeConstant>WarUrchinConstant</thinkTreeConstant> -->
</race>
<tools>
<li>
<label>head</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>4</power>
<cooldownTime>2</cooldownTime>
<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
<chanceFactor>0.2</chanceFactor>
</li>
</tools>
<comps>
<!--加上这个组件的机械体会直接跳过原版指挥范围判定-->
<li Class="WulaFallenEmpire.CompProperties_GlobalMechCommand" />
<li Class="CompProperties_CanBeDormant" />
<li Class="CompProperties_WakeUpDormant">
<wakeUpOnDamage>true</wakeUpOnDamage>
<wakeUpCheckRadius>30</wakeUpCheckRadius>
<wakeUpSound>MechanoidsWakeUp</wakeUpSound>
</li>
<li Class="CompProperties_TurretGun">
<turretDef>WULA_Alpha_Wolf_Turret</turretDef>
<angleOffset>-90</angleOffset>
<renderNodeProperties>
<li>
<nodeClass>PawnRenderNode_TurretGun</nodeClass>
<workerClass>PawnRenderNodeWorker_TurretGun</workerClass>
<parentTagDef>Body</parentTagDef>
<overrideMeshSize>(1, 1)</overrideMeshSize>
<baseLayer>20</baseLayer>
<pawnType>Any</pawnType>
<drawData>
<dataWest>
<rotationOffset>180</rotationOffset>
</dataWest>
</drawData>
</li>
</renderNodeProperties>
</li>
<li Class="CompProperties_Shield">
<startingTicksToReset>36000</startingTicksToReset><!-- 10 mins -->
<minDrawSize>4.2</minDrawSize>
<maxDrawSize>4.4</maxDrawSize>
<energyLossPerDamage>0.01</energyLossPerDamage>
<energyOnReset>4.0</energyOnReset>
<blocksRangedWeapons>false</blocksRangedWeapons>
</li>
</comps>
</ThingDef>
<ThingDef ParentName="WULA_Alpha_Wolf">
<defName>WULA_Alpha_Mantodea</defName>
<label>SNm-82"螳螂"</label>
<description>乌拉帝国图书馆所使用的一种近战机械体,装备着一对强大的巨镰和微型跃迁引擎,以跃迁快速靠近敌人,随后在近距离上以暴雨般的攻击切开敌军的防御。</description>
<statBases>
<MoveSpeed>6</MoveSpeed>
<MeleeHitChance>5</MeleeHitChance>
<EnergyShieldEnergyMax>10</EnergyShieldEnergyMax>
</statBases>
<tools>
<li>
<label>左巨镰</label>
<labelNoLocation>巨镰</labelNoLocation>
<capacities>
<li>Scratch</li>
</capacities>
<power>150</power>
<cooldownTime>0.5</cooldownTime>
<linkedBodyPartsGroup>Torso</linkedBodyPartsGroup>
<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon>
<soundMeleeHit>Pawn_Melee_PowerClaw_Hit</soundMeleeHit>
<soundMeleeMiss>Pawn_Melee_PowerClaw_Miss</soundMeleeMiss>
</li>
<li>
<label>右巨镰</label>
<labelNoLocation>巨镰</labelNoLocation>
<capacities>
<li>Scratch</li>
</capacities>
<power>150</power>
<cooldownTime>0.5</cooldownTime>
<linkedBodyPartsGroup>Torso</linkedBodyPartsGroup>
<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon>
<soundMeleeHit>Pawn_Melee_PowerClaw_Hit</soundMeleeHit>
<soundMeleeMiss>Pawn_Melee_PowerClaw_Miss</soundMeleeMiss>
</li>
</tools>
<comps Inherit="False">
<!--加上这个组件的机械体会直接跳过原版指挥范围判定-->
<li Class="WulaFallenEmpire.CompProperties_GlobalMechCommand" />
<!-- <li Class="WulaFallenEmpire.CompProperties_AutoMechCarrier">
<freeProduction>true</freeProduction>
<disableHediff>WULA_MechCarrierSwitchHediff</disableHediff>
<fixedIngredient>Steel</fixedIngredient>
<maxIngredientCount>500</maxIngredientCount>
<startingIngredientCount>500</startingIngredientCount>
<costPerPawn>999</costPerPawn>
<cooldownTicks>9999</cooldownTicks>
<productionQueue>
<li>
<pawnKind>WULA_Mech_Flyer</pawnKind>
<count>8</count>
<cooldownTicks>50</cooldownTicks>
</li>
<li>
<pawnKind>WULA_Mech_Flyer_Slow</pawnKind>
<count>8</count>
<cooldownTicks>600</cooldownTicks>
</li>
</productionQueue>
<spawnEffecter>WarqueenWarUrchinsSpawned</spawnEffecter>
<spawnedMechEffecter>WarUrchinSpawned</spawnedMechEffecter>
</li> -->
<li Class="CompProperties_CanBeDormant" />
<li Class="CompProperties_WakeUpDormant">
<wakeUpOnDamage>true</wakeUpOnDamage>
<wakeUpCheckRadius>30</wakeUpCheckRadius>
<wakeUpSound>MechanoidsWakeUp</wakeUpSound>
</li>
<li Class="CompProperties_TurretGun">
<turretDef>WULA_Alpha_Mantodea_Turret</turretDef>
<angleOffset>-90</angleOffset>
<renderNodeProperties>
<li>
<nodeClass>PawnRenderNode_TurretGun</nodeClass>
<workerClass>PawnRenderNodeWorker_TurretGun</workerClass>
<parentTagDef>Body</parentTagDef>
<overrideMeshSize>(1, 1)</overrideMeshSize>
<baseLayer>20</baseLayer>
<pawnType>Any</pawnType>
<drawData>
<dataWest>
<rotationOffset>180</rotationOffset>
</dataWest>
</drawData>
</li>
</renderNodeProperties>
</li>
<li Class="CompProperties_Shield">
<startingTicksToReset>36000</startingTicksToReset><!-- 10 mins -->
<minDrawSize>4.2</minDrawSize>
<maxDrawSize>4.4</maxDrawSize>
<energyLossPerDamage>0.01</energyLossPerDamage>
<energyOnReset>4.0</energyOnReset>
<blocksRangedWeapons>false</blocksRangedWeapons>
</li>
<li MayRequire="Ludeon.RimWorld.Biotech" Class="CompProperties_OverseerSubject">
<needsOverseerEffect>MechUncontrolled</needsOverseerEffect>
<delayUntilFeralCheck>60000</delayUntilFeralCheck>
<feralMtbDays>10</feralMtbDays>
<feralCascadeRadialDistance>25</feralCascadeRadialDistance>
</li>
<li MayRequire="Ludeon.RimWorld.Biotech" Class="CompProperties_MechRepairable" />
<li Class="AutoBlink.CompProperties_AutoBlink" MayRequire="rabiosus.autoblink">
<!-- <gizmoIconPath></gizmoIconPath> -->
<blinkIntervalTicks>480</blinkIntervalTicks>
<delayAfterEligibleTicks>10</delayAfterEligibleTicks>
<cellsBeforeTarget>1</cellsBeforeTarget>
<maxDistanceToBlink>40</maxDistanceToBlink>
<minDistanceToBlink>8</minDistanceToBlink>
<postBlinkStanceTicks>0</postBlinkStanceTicks>
<playerFactionOnly>false</playerFactionOnly>
<excludedJobDefs>
<li>GotoWander</li>
<li>Carried</li>
</excludedJobDefs>
<preBlinkSoundDefs>
<li>AutoBlink_Skip_Small</li>
</preBlinkSoundDefs>
<postBlinkSoundDefs>
<li>AutoBlink_Skip_Exit_Small</li>
</postBlinkSoundDefs>
<preBlinkEffecterDefs>
<li>Skip_Entry</li>
</preBlinkEffecterDefs>
<postBlinkEffecterDefs>
<li>Skip_ExitNoDelay</li>
</postBlinkEffecterDefs>
<preBlinkMoteDefs/>
<postBlinkMoteDefs/>
</li>
</comps>
</ThingDef>
<ThingDef ParentName="LightMechanoid">
<defName>Mech_WULA_Cat</defName>
@@ -1167,4 +1382,137 @@
</li>
</comps>
</ThingDef>
</Defs>
<ThingDef ParentName="BaseMechanoidWalker">
<defName>WULA_Fxxk_Goose</defName>
<label>神人大鹅</label>
<description>一种奇怪的机械体,貌似是乌拉帝国仿生技术试验遗留的产物,然后被机械族集群所接管。它们拥有通过磁力武器从敌人身上偷取武器的能力——并且使用它们。</description>
<tools>
<li>
<label>claws</label>
<capacities>
<li>Scratch</li>
</capacities>
<power>3</power>
<cooldownTime>1.5</cooldownTime>
<linkedBodyPartsGroup>Torso</linkedBodyPartsGroup>
</li>
<li>
<label>beak</label>
<capacities>
<li>Bite</li>
</capacities>
<power>5.6</power>
<cooldownTime>2</cooldownTime>
<linkedBodyPartsGroup>Torso</linkedBodyPartsGroup>
</li>
<li>
<label>head</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>2</power>
<cooldownTime>1.5</cooldownTime>
<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
<chanceFactor>0.2</chanceFactor>
</li>
</tools>
<race>
<body>Mech_Light</body>
<baseHealthScale>1</baseHealthScale>
<detritusLeavings>
<li>
<def>ChunkMechanoidSlag</def>
<texOverrideIndex>11</texOverrideIndex>
<spawnChance>0.1</spawnChance>
</li>
<li>
<def>ChunkMechanoidSlag</def>
<texOverrideIndex>12</texOverrideIndex>
<spawnChance>0.1</spawnChance>
</li>
</detritusLeavings>
<flightStartChanceOnJobStart>0.5</flightStartChanceOnJobStart>
<lifeStageAges Inherit="False">
<li>
<def>MechanoidFullyFormed</def>
<minAge>0</minAge>
<soundWounded>Pawn_Mech_Scyther_Wounded</soundWounded>
<soundDeath>Pawn_Mech_Scyther_Death</soundDeath>
<soundCall>Pawn_Mech_Scyther_Call</soundCall>
</li>
</lifeStageAges>
<thinkTreeConstant>WULA_Mech_Flyer_Constant</thinkTreeConstant>
<deathAction Class="DeathActionProperties_Vanish">
<workerClass>DeathActionWorker_Vanish</workerClass>
<filth>Filth_MachineBits</filth>
<filthCountRange>1~2</filthCountRange>
</deathAction>
</race>
<statBases>
<BandwidthCost MayRequire="Ludeon.RimWorld.Biotech">0</BandwidthCost>
<MaxFlightTime>30</MaxFlightTime>
<FlightCooldown>10</FlightCooldown>
</statBases>
<comps Inherit="False">
<!--加上这个组件的机械体可以更换武器-->
<li Class="WulaFallenEmpire.CompProperties_MechWeapon" />
<li Class="CompProperties_CanBeDormant" />
<li Class="CompProperties_WakeUpDormant">
<wakeUpOnDamage>true</wakeUpOnDamage>
<wakeUpCheckRadius>30</wakeUpCheckRadius>
<wakeUpSound>MechanoidsWakeUp</wakeUpSound>
</li>
<li Class="CompProperties_TurretGun">
<turretDef>WULA_MechFlyerTurretGun</turretDef>
<angleOffset>-90</angleOffset>
<autoAttack>false</autoAttack>
<renderNodeProperties>
<li>
<nodeClass>PawnRenderNode_TurretGun</nodeClass>
<workerClass>PawnRenderNodeWorker_TurretGun</workerClass>
<parentTagDef>Body</parentTagDef>
<overrideMeshSize>(1, 1)</overrideMeshSize>
<baseLayer>20</baseLayer>
<pawnType>Any</pawnType>
<drawData>
<dataWest>
<rotationOffset>180</rotationOffset>
<offset>(0, 0, 0)</offset>
</dataWest>
</drawData>
</li>
</renderNodeProperties>
</li>
</comps>
</ThingDef>
<PawnKindDef ParentName="BaseMechanoidKind">
<defName>WULA_Fxxk_Goose</defName>
<label>神人大鹅</label>
<race>WULA_Fxxk_Goose</race>
<combatPower>300</combatPower>
<allowInMechClusters>true</allowInMechClusters>
<flyingAnimationFramePathPrefix>Things/Pawn/Animal/Goose/Goose_Flying_</flyingAnimationFramePathPrefix>
<flyingAnimationDrawSize>1.35</flyingAnimationDrawSize>
<flyingAnimationFrameCount>2</flyingAnimationFrameCount>
<flyingAnimationTicksPerFrame>2</flyingAnimationTicksPerFrame>
<flyingAnimationInheritColors>false</flyingAnimationInheritColors>
<forceDeathOnDowned>true</forceDeathOnDowned>
<forceNoDeathNotification>true</forceNoDeathNotification>
<lifeStages>
<li>
<bodyGraphicData>
<texPath>Things/Pawn/Animal/Goose/Goose</texPath>
<shaderType>CutoutWithOverlay</shaderType>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>1.23</drawSize>
</bodyGraphicData>
</li>
</lifeStages>
<techHediffsChance>1</techHediffsChance>
<techHediffsMoney>9999~9999</techHediffsMoney>
</PawnKindDef>
</Defs>

View File

@@ -1,304 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<ThingDef Name="WULA_Alpha_Wolf" ParentName="HeavyMechanoid">
<defName>WULA_Alpha_Wolf</defName> <!-- 修改了defName以避免冲突 -->
<label>SNm-6"狼蛛"</label>
<description>乌拉帝国图书馆所使用的一种炮兵机械体,会在前线上制造小型机械体以辅助战斗。它装备着一门重型等离子炮,可以在极远距离上喷射覆盖性的等离子射弹以摧毁成片敌军。</description>
<statBases>
<BandwidthCost>8</BandwidthCost>
<MoveSpeed>3</MoveSpeed>
<MeleeDoorDamageFactor>1.5</MeleeDoorDamageFactor>
<EnergyShieldEnergyMax>5</EnergyShieldEnergyMax>
</statBases>
<race>
<body>Mech_Warqueen</body>
<baseBodySize>5</baseBodySize>
<lifeStageAges>
<li>
<def>MechanoidFullyFormed</def>
<minAge>0</minAge>
<soundWounded>Pawn_Mech_Warqueen_Wounded</soundWounded>
<soundDeath>Pawn_Mech_Warqueen_Death</soundDeath>
<soundCall>Pawn_Mech_Warqueen_Call</soundCall>
</li>
</lifeStageAges>
<baseHealthScale>10</baseHealthScale>
<!-- <thinkTreeConstant>WarUrchinConstant</thinkTreeConstant> -->
</race>
<tools>
<li>
<label>head</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>4</power>
<cooldownTime>2</cooldownTime>
<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
<chanceFactor>0.2</chanceFactor>
</li>
</tools>
<comps>
<!--加上这个组件的机械体会直接跳过原版指挥范围判定-->
<li Class="WulaFallenEmpire.CompProperties_GlobalMechCommand" />
<li Class="WulaFallenEmpire.CompProperties_AutoMechCarrier">
<freeProduction>true</freeProduction> <!-- 改为消耗资源以测试独立成本 -->
<disableHediff>WULA_MechCarrierSwitchHediff</disableHediff>
<fixedIngredient>Steel</fixedIngredient>
<maxIngredientCount>500</maxIngredientCount> <!-- 定义最大资源容量 -->
<startingIngredientCount>500</startingIngredientCount> <!-- 定义初始资源数量 -->
<costPerPawn>999</costPerPawn> <!-- 设置一个很高的全局默认成本,以确保独立成本生效 -->
<cooldownTicks>9999</cooldownTicks> <!-- 设置一个很高的全局默认冷却,以确保独立冷却生效 -->
<productionQueue>
<li>
<pawnKind>WULA_Mech_Flyer</pawnKind>
<count>4</count>
<cooldownTicks>100</cooldownTicks> <!-- 独立冷却: 10秒 -->
</li>
<li>
<pawnKind>WULA_Mech_Flyer_Slow</pawnKind>
<count>4</count>
<cooldownTicks>600</cooldownTicks> <!-- 独立冷却: 10秒 -->
</li>
</productionQueue>
<spawnEffecter>WarqueenWarUrchinsSpawned</spawnEffecter>
<spawnedMechEffecter>WarUrchinSpawned</spawnedMechEffecter>
</li>
<li Class="CompProperties_CanBeDormant" />
<li Class="CompProperties_WakeUpDormant">
<wakeUpOnDamage>true</wakeUpOnDamage>
<wakeUpCheckRadius>30</wakeUpCheckRadius>
<wakeUpSound>MechanoidsWakeUp</wakeUpSound>
</li>
<li Class="CompProperties_TurretGun">
<turretDef>WULA_Alpha_Wolf_Turret</turretDef>
<angleOffset>-90</angleOffset>
<renderNodeProperties>
<li>
<nodeClass>PawnRenderNode_TurretGun</nodeClass>
<workerClass>PawnRenderNodeWorker_TurretGun</workerClass>
<parentTagDef>Body</parentTagDef>
<overrideMeshSize>(1, 1)</overrideMeshSize>
<baseLayer>20</baseLayer>
<pawnType>Any</pawnType>
<drawData>
<dataWest>
<rotationOffset>180</rotationOffset>
</dataWest>
</drawData>
</li>
</renderNodeProperties>
</li>
<li Class="CompProperties_Shield">
<startingTicksToReset>36000</startingTicksToReset><!-- 10 mins -->
<minDrawSize>4.2</minDrawSize>
<maxDrawSize>4.4</maxDrawSize>
<energyLossPerDamage>0.01</energyLossPerDamage>
<energyOnReset>4.0</energyOnReset>
<blocksRangedWeapons>false</blocksRangedWeapons>
</li>
</comps>
</ThingDef>
<PawnKindDef ParentName="HeavyMechanoidKind">
<defName>WULA_Alpha_Wolf</defName> <!-- 修改了defName以避免冲突 -->
<label>SNm-6"狼蛛"</label>
<race>WULA_Alpha_Wolf</race>
<combatPower>600</combatPower>
<allowInMechClusters>false</allowInMechClusters>
<defaultFactionType>PlayerColony</defaultFactionType>
<abilities>
<li>WULA_GiveSwitchHediff</li> <!-- 添加“停止生产”技能 -->
<li>WULA_RemoveSwitchHediff</li> <!-- 保留“恢复生产”技能 -->
</abilities>
<lifeStages>
<li>
<bodyGraphicData>
<texPath>Wula/Things/Wula_Alpha_Wolf/Bodies/Naked_Thin</texPath>
<maskPath>Wula/Things/WULA_Cat/AllegianceOverlays/None</maskPath>
<shaderType>CutoutWithOverlay</shaderType>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>3.5</drawSize>
<shadowData>
<volume>(0.4, 0.8, 0.4)</volume>
</shadowData>
</bodyGraphicData>
</li>
</lifeStages>
<weaponMoney>99999~99999</weaponMoney>
<weaponTags>
<li>WULA_WM_Alpha_Wolf_Plasma_Gun</li>
</weaponTags>
<controlGroupPortraitZoom>0.7</controlGroupPortraitZoom>
</PawnKindDef>
<ThingDef ParentName="WULA_Alpha_Wolf">
<defName>WULA_Alpha_Mantodea</defName>
<label>SNm-82"螳螂"</label>
<description>乌拉帝国图书馆所使用的一种近战机械体,会在前线上制造小型机械体以辅助战斗。它装备着一对强大的巨镰和微型跃迁引擎,以在近距离上切开任何敌军的装甲。</description>
<statBases>
<MoveSpeed>6</MoveSpeed>
<MeleeHitChance>5</MeleeHitChance>
<EnergyShieldEnergyMax>10</EnergyShieldEnergyMax>
</statBases>
<tools>
<li>
<label>左巨镰</label>
<labelNoLocation>巨镰</labelNoLocation>
<capacities>
<li>Scratch</li>
</capacities>
<power>150</power>
<cooldownTime>0.5</cooldownTime>
<linkedBodyPartsGroup>Torso</linkedBodyPartsGroup>
<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon>
<soundMeleeHit>Pawn_Melee_PowerClaw_Hit</soundMeleeHit>
<soundMeleeMiss>Pawn_Melee_PowerClaw_Miss</soundMeleeMiss>
</li>
<li>
<label>右巨镰</label>
<labelNoLocation>巨镰</labelNoLocation>
<capacities>
<li>Scratch</li>
</capacities>
<power>150</power>
<cooldownTime>0.5</cooldownTime>
<linkedBodyPartsGroup>Torso</linkedBodyPartsGroup>
<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon>
<soundMeleeHit>Pawn_Melee_PowerClaw_Hit</soundMeleeHit>
<soundMeleeMiss>Pawn_Melee_PowerClaw_Miss</soundMeleeMiss>
</li>
</tools>
<comps Inherit="False">
<!--加上这个组件的机械体会直接跳过原版指挥范围判定-->
<li Class="WulaFallenEmpire.CompProperties_GlobalMechCommand" />
<li Class="WulaFallenEmpire.CompProperties_AutoMechCarrier">
<freeProduction>true</freeProduction> <!-- 改为消耗资源以测试独立成本 -->
<disableHediff>WULA_MechCarrierSwitchHediff</disableHediff>
<fixedIngredient>Steel</fixedIngredient>
<maxIngredientCount>500</maxIngredientCount> <!-- 定义最大资源容量 -->
<startingIngredientCount>500</startingIngredientCount> <!-- 定义初始资源数量 -->
<costPerPawn>999</costPerPawn> <!-- 设置一个很高的全局默认成本,以确保独立成本生效 -->
<cooldownTicks>9999</cooldownTicks> <!-- 设置一个很高的全局默认冷却,以确保独立冷却生效 -->
<productionQueue>
<li>
<pawnKind>WULA_Mech_Flyer</pawnKind>
<count>8</count>
<cooldownTicks>50</cooldownTicks> <!-- 独立冷却: 10秒 -->
</li>
<li>
<pawnKind>WULA_Mech_Flyer_Slow</pawnKind>
<count>8</count>
<cooldownTicks>600</cooldownTicks> <!-- 独立冷却: 10秒 -->
</li>
</productionQueue>
<spawnEffecter>WarqueenWarUrchinsSpawned</spawnEffecter>
<spawnedMechEffecter>WarUrchinSpawned</spawnedMechEffecter>
</li>
<li Class="CompProperties_CanBeDormant" />
<li Class="CompProperties_WakeUpDormant">
<wakeUpOnDamage>true</wakeUpOnDamage>
<wakeUpCheckRadius>30</wakeUpCheckRadius>
<wakeUpSound>MechanoidsWakeUp</wakeUpSound>
</li>
<li Class="CompProperties_TurretGun">
<turretDef>WULA_Alpha_Mantodea_Turret</turretDef>
<angleOffset>-90</angleOffset>
<renderNodeProperties>
<li>
<nodeClass>PawnRenderNode_TurretGun</nodeClass>
<workerClass>PawnRenderNodeWorker_TurretGun</workerClass>
<parentTagDef>Body</parentTagDef>
<overrideMeshSize>(1, 1)</overrideMeshSize>
<baseLayer>20</baseLayer>
<pawnType>Any</pawnType>
<drawData>
<dataWest>
<rotationOffset>180</rotationOffset>
</dataWest>
</drawData>
</li>
</renderNodeProperties>
</li>
<li Class="CompProperties_Shield">
<startingTicksToReset>36000</startingTicksToReset><!-- 10 mins -->
<minDrawSize>4.2</minDrawSize>
<maxDrawSize>4.4</maxDrawSize>
<energyLossPerDamage>0.01</energyLossPerDamage>
<energyOnReset>4.0</energyOnReset>
<blocksRangedWeapons>false</blocksRangedWeapons>
</li>
<li MayRequire="Ludeon.RimWorld.Biotech" Class="CompProperties_OverseerSubject">
<needsOverseerEffect>MechUncontrolled</needsOverseerEffect>
<delayUntilFeralCheck>60000</delayUntilFeralCheck>
<feralMtbDays>10</feralMtbDays>
<feralCascadeRadialDistance>25</feralCascadeRadialDistance>
</li>
<li MayRequire="Ludeon.RimWorld.Biotech" Class="CompProperties_MechRepairable" />
<li Class="AutoBlink.CompProperties_AutoBlink" MayRequire="rabiosus.autoblink">
<!-- <gizmoIconPath></gizmoIconPath> -->
<blinkIntervalTicks>480</blinkIntervalTicks>
<delayAfterEligibleTicks>10</delayAfterEligibleTicks>
<cellsBeforeTarget>1</cellsBeforeTarget>
<maxDistanceToBlink>40</maxDistanceToBlink>
<minDistanceToBlink>8</minDistanceToBlink>
<postBlinkStanceTicks>0</postBlinkStanceTicks>
<playerFactionOnly>false</playerFactionOnly>
<excludedJobDefs>
<li>GotoWander</li>
<li>Carried</li>
</excludedJobDefs>
<preBlinkSoundDefs>
<li>AutoBlink_Skip_Small</li>
</preBlinkSoundDefs>
<postBlinkSoundDefs>
<li>AutoBlink_Skip_Exit_Small</li>
</postBlinkSoundDefs>
<preBlinkEffecterDefs>
<li>Skip_Entry</li>
</preBlinkEffecterDefs>
<postBlinkEffecterDefs>
<li>Skip_ExitNoDelay</li>
</postBlinkEffecterDefs>
<preBlinkMoteDefs/>
<postBlinkMoteDefs/>
</li>
</comps>
</ThingDef>
<PawnKindDef ParentName="HeavyMechanoidKind">
<defName>WULA_Alpha_Mantodea</defName> <!-- 修改了defName以避免冲突 -->
<label>SNm-82"螳螂"</label>
<race>WULA_Alpha_Mantodea</race>
<combatPower>600</combatPower>
<allowInMechClusters>false</allowInMechClusters>
<defaultFactionType>PlayerColony</defaultFactionType>
<abilities>
<li>WULA_GiveSwitchHediff</li> <!-- 添加“停止生产”技能 -->
<li>WULA_RemoveSwitchHediff</li> <!-- 保留“恢复生产”技能 -->
</abilities>
<lifeStages>
<li>
<bodyGraphicData>
<texPath>Wula/Things/Wula_Alpha_Wolf/Bodies/Naked_Thin2</texPath>
<maskPath>Wula/Things/WULA_Cat/AllegianceOverlays/None</maskPath>
<shaderType>CutoutWithOverlay</shaderType>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>3.5</drawSize>
<shadowData>
<volume>(0.4, 0.8, 0.4)</volume>
</shadowData>
</bodyGraphicData>
</li>
</lifeStages>
<weaponMoney>99999~99999</weaponMoney>
<controlGroupPortraitZoom>0.7</controlGroupPortraitZoom>
</PawnKindDef>
<ThingDef ParentName="BaseMechanoidWalker">
<defName>WULA_Mech_Flyer</defName>
<label>CRm-51"兵蚁"</label>
@@ -423,60 +124,4 @@
<PawnKindDef ParentName="WULA_Mech_Flyer_PawnKind">
<defName>WULA_Mech_Flyer_Slow</defName>
</PawnKindDef>
<AbilityDef>
<defName>WULA_RemoveSwitchHediff</defName>
<label>重启生产</label>
<description>重启自动生产机械体。</description>
<iconPath>Wula/UI/Abilities/WULA_WeaponSwitchAbility</iconPath>
<cooldownTicksRange>601</cooldownTicksRange>
<hostile>false</hostile>
<showOnCharacterCard>true</showOnCharacterCard>
<aiCanUse>false</aiCanUse>
<verbProperties>
<verbClass>Verb_CastAbility</verbClass>
<warmupTime>0</warmupTime>
<drawAimPie>false</drawAimPie>
<requireLineOfSight>false</requireLineOfSight>
<targetable>false</targetable>
<targetParams>
<canTargetSelf>true</canTargetSelf>
</targetParams>
</verbProperties>
<comps>
<!-- 这是正确的用法 -->
<li Class="RimWorld.CompProperties_AbilityRemoveHediff">
<compClass>WulaFallenEmpire.CompAbilityEffect_RemoveSwitchHediff</compClass>
<hediffDef>WULA_MechCarrierSwitchHediff</hediffDef>
<applyToSelf>true</applyToSelf>
</li>
</comps>
</AbilityDef>
<AbilityDef>
<defName>WULA_GiveSwitchHediff</defName>
<label>停止生产</label>
<description>停止自动生产机械体。</description>
<iconPath>Wula/UI/Abilities/WULA_WeaponSwitchAbility</iconPath>
<cooldownTicksRange>601</cooldownTicksRange>
<hostile>false</hostile>
<showOnCharacterCard>true</showOnCharacterCard>
<aiCanUse>false</aiCanUse>
<verbProperties>
<verbClass>Verb_CastAbility</verbClass>
<warmupTime>0</warmupTime>
<drawAimPie>false</drawAimPie>
<requireLineOfSight>false</requireLineOfSight>
<targetable>false</targetable>
<targetParams>
<canTargetSelf>true</canTargetSelf>
</targetParams>
</verbProperties>
<comps>
<li Class="RimWorld.CompProperties_AbilityGiveHediff">
<compClass>WulaFallenEmpire.CompAbilityEffect_GiveSwitchHediff</compClass>
<hediffDef>WULA_MechCarrierSwitchHediff</hediffDef>
<applyToSelf>true</applyToSelf>
</li>
</comps>
</AbilityDef>
</Defs>

View File

@@ -213,7 +213,7 @@
</li>
</comps>
</AbilityDef>
<RecipeDef ParentName="HeavyMechanoidRecipe">
<!-- <RecipeDef ParentName="HeavyMechanoidRecipe">
<defName>WULA_Build_Psi_Titan</defName>
<label>建造PAt-52"灵能泰坦"</label>
<description>建造一台PAt-52"灵能泰坦"重型灵能机械体。</description>
@@ -266,7 +266,7 @@
<ThingDef>Wula_Psi_Titan</ThingDef>
</descriptionHyperlinks>
<researchPrerequisite>WULA_FE_Spiritualist_Psi_Titan_Technology</researchPrerequisite>
</RecipeDef>
</RecipeDef> -->
<!-- 乌拉大教堂 -->
<PawnKindDef Name="Wula_FE_Spiritualist_Pawn_Base" Abstract="True">

View File

@@ -116,36 +116,4 @@
</li>
</stages>
</ThoughtDef>
<RecipeDef>
<defName>Wula_Make_Zro</defName>
<label>烧制泽洛</label>
<description>使用尸体烧制泽洛。</description>
<jobString>烧制中。</jobString>
<workAmount>300</workAmount>
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<effectWorking>Cremate</effectWorking>
<soundWorking>Recipe_Cremate</soundWorking>
<autoStripCorpses>true</autoStripCorpses>
<researchPrerequisites>
<li>WULA_FE_Spiritualist_Base_Technology</li>
</researchPrerequisites>
<ingredients>
<li>
<filter>
<categories>
<li>Corpses</li>
</categories>
</filter>
<count>1</count>
</li>
</ingredients>
<fixedIngredientFilter>
<categories>
<li>CorpsesHumanlike</li>
</categories>
</fixedIngredientFilter>
<products>
<Wula_Zro>3</Wula_Zro>
</products>
</RecipeDef>
</Defs>

View File

@@ -27,7 +27,7 @@
<size>(3, 3)</size>
<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
<researchPrerequisites>
<li>WULA_FE_Spiritualist_Base_Technology</li>
<li>WULA_FE_Spiritualist_Base_Technology1</li>
</researchPrerequisites>
<inspectorTabs>
<li>ITab_Entity</li>

View File

@@ -51,12 +51,7 @@
<li>Fabric</li>
<li>Leathery</li>
</stuffCategories>
<recipeMaker>
<researchPrerequisite>WULA_FE_Spiritualist_Cloth2_Technology</researchPrerequisite>
<skillRequirements>
<Crafting>15</Crafting>
</skillRequirements>
</recipeMaker>
<recipeMaker Inherit="False" IsNull="True" />
<comps>
<li Class="WulaFallenEmpire.CompProperties_ApparelInterceptor">
@@ -91,13 +86,7 @@
<label>乌拉帝国神官帽子</label>
<description>乌拉帝国神官的配套帽子,能像服装那样强化使用者的心灵敏感度并支起一个灵能护盾,它的体积比神官制服的护盾稍小,以形成第二道防线。</description>
<tickerType>Normal</tickerType>
<recipeMaker>
<researchPrerequisite>WULA_FE_Spiritualist_Cloth2_Technology</researchPrerequisite>
<recipeUsers Inherit="False">
<li>WULA_Cube_Productor_Energy</li>
</recipeUsers>
<displayPriority>105</displayPriority>
</recipeMaker>
<recipeMaker Inherit="False" IsNull="True" />
<graphicData>
<texPath>Wula/Apparel/WULA_Priest_Hat</texPath>
</graphicData>