2025-7-15

This commit is contained in:
2025-07-15 17:29:39 +08:00
parent 1054ee2768
commit 16ec93b99d
10 changed files with 287 additions and 408 deletions

View File

@@ -461,381 +461,6 @@
</li>
</comps>
</AlienRace.ThingDef_AlienRace>
<AlienRace.ThingDef_AlienRace ParentName="Human">
<defName>Wula_Armour</defName>
<label>SMp-11"甲胄"</label>
<description>乌拉帝国的大型战斗机械,外形似一副悬空的盔甲,手持巨大的长柄武器或自动炮,是乌拉帝国战线的前锋。</description>
<uiIconPath>Wula/Things/Wula_Armour/Wula_Armour_Icon</uiIconPath>
<alienRace>
<!-- 核心设置 -->
<generalSettings>
<!-- 男性生成几率 -->
<maleGenderProbability>0</maleGenderProbability>
<!-- 无视年龄疾病 -->
<immuneToAge>true</immuneToAge>
<!-- 在口角中造成的最大伤害 -->
<maxDamageForSocialfight>6</maxDamageForSocialfight>
<!-- 免疫人类的异形歧视 -->
<immuneToXenophobia>true</immuneToXenophobia>
<!-- 最小的可生成成人背景的年龄 -->
<minAgeForAdulthood>0</minAgeForAdulthood>
<!-- 手术继承自人类 -->
<humanRecipeImport>false</humanRecipeImport>
<!-- 睡觉定义 -->
<canLayDown>false</canLayDown>
<validBeds>
</validBeds>
<!-- 各种零件定义 -->
<alienPartGenerator Inherit="False">
<!-- 允许的头部 -->
<headTypes Inherit="False">
<li>AverageNormal</li>
<!-- <li>Female_AverageWide</li>
<li>Female_AveragePointy</li> -->
</headTypes>
<!-- 身体类型 -->
<bodyTypes Inherit="False">
<li>Thin</li>
</bodyTypes>
<!-- 颜色设置 -->
<colorChannels Inherit="false">
<li>
<name>skin</name>
<first Class="ColorGenerator_Options">
<options>
<li>
<weight>1</weight>
<only>RGBA(1,1,1,1)</only>
</li>
</options>
</first>
</li>
<li>
<name>favorite</name>
<first Class="ColorGenerator_Options">
<options>
<li>
<weight>1</weight>
<only>RGBA(1,1,1,1)</only>
</li>
</options>
</first>
</li>
</colorChannels>
<customDrawSize>(2, 2)</customDrawSize>
<borderScale>2.0</borderScale>
</alienPartGenerator>
<growthAges>
<li>0</li>
</growthAges>
<!-- 年龄工作效率等的覆盖 -->
<ageStatOverrides>
<WorkSpeedGlobal>
<useBiologicalYears>true</useBiologicalYears>
<curve>
<points>
<li>(0,1)</li>
</points>
</curve>
</WorkSpeedGlobal>
<ShootingAccuracyChildFactor MayRequire="Ludeon.RimWorld.Biotech">
<useBiologicalYears>true</useBiologicalYears>
<curve>
<points>
<li>(0,1)</li>
</points>
</curve>
</ShootingAccuracyChildFactor>
<MarketValue>
<useBiologicalYears>true</useBiologicalYears>
<curve>
<points>
<li>(0,1)</li>
</points>
</curve>
</MarketValue>
<MeleeHitChance>
<useBiologicalYears>true</useBiologicalYears>
<curve>
<points>
<li>(0,1)</li>
</points>
</curve>
</MeleeHitChance>
<AimingDelayFactor>
<useBiologicalYears>true</useBiologicalYears>
<curve>
<points>
<li>(0,1)</li>
</points>
</curve>
</AimingDelayFactor>
<ArrestSuccessChance>
<useBiologicalYears>true</useBiologicalYears>
<curve>
<points>
<li>(0, 1)</li>
</points>
</curve>
</ArrestSuccessChance>
</ageStatOverrides>
</generalSettings>
<!-- 图形 -->
<graphicPaths>
<body>Wula/Things/Wula_Armour/Bodies/</body>
<head>Wula/Things/Wula_Armour/Heads/</head>
<skeleton>Things/Pawn/Humanlike/Bodies/Dessicated/Dessicated_Thin</skeleton>
<stump>Wula/Things/Wula_Armour/Bodies</stump>
<skinColor>(1,1,1,1)</skinColor>
</graphicPaths>
<!-- 风格设置 -->
<styleSettings>
<!-- 头发 -->
<li>
<key>HairDef</key>
<value>
<hasStyle>false</hasStyle>
</value>
</li>
<!-- 纹身 -->
<li>
<key>TattooDef</key>
<value>
<hasStyle>false</hasStyle>
</value>
</li>
<!-- 胡须 -->
<li>
<key>BeardDef</key>
<value>
<hasStyle>false</hasStyle>
</value>
</li>
</styleSettings>
<!-- 种族的允许和禁止特化设置 -->
<raceRestriction>
<traitList>
<li>WULA_AI_War_Machine</li>
</traitList>
<!-- 武器列表 -->
<weaponList>
<li>WULA_RW_Armour_AR</li>
<li>WULA_MW_Armour_Glaive</li>
<li>WULA_RW_Armour_GL</li>
<li>WULA_MW_Armour_Lance</li>
</weaponList>
<!-- 可以穿戴的衣服 -->
<apparelList>
<li>WULA_SMp11_Shield</li>
<li>WULA_SMp11_Armor</li>
</apparelList>
<!-- 允许的特质类型 -->
<traitList>
<li>WULA_AI_War_Machine</li>
</traitList>
<onlyUseRaceRestrictedApparel>true</onlyUseRaceRestrictedApparel>
<onlyUseRaceRestrictedWeapons>true</onlyUseRaceRestrictedWeapons>
<onlyBuildRaceRestrictedBuildings>true</onlyBuildRaceRestrictedBuildings>
<onlyGetRaceRestrictedTraits>true</onlyGetRaceRestrictedTraits>
<onlyEatRaceRestrictedFood>true</onlyEatRaceRestrictedFood>
<blackEndoCategories>
<li>Melanin</li>
<li>HairColor</li>
<li>BodyType</li>
</blackEndoCategories>
<onlyHaveRaceRestrictedGenes>true</onlyHaveRaceRestrictedGenes>
<!-- 生育能力 -->
<onlyReproduceWithRestrictedRaces>true</onlyReproduceWithRestrictedRaces>
<canReproduce>false</canReproduce>
</raceRestriction>
<!-- 想法设置 -->
<thoughtSettings>
<cannotReceiveThoughtsAtAll>true</cannotReceiveThoughtsAtAll>
</thoughtSettings>
<!-- 关系设置,不会生成任何随机关系 -->
<relationSettings>
<relationChanceModifierLover>0</relationChanceModifierLover>
<relationChanceModifierExLover>0</relationChanceModifierExLover>
<relationChanceModifierFiance>0</relationChanceModifierFiance>
<relationChanceModifierSpouse>0</relationChanceModifierSpouse>
<relationChanceModifierExSpouse>0</relationChanceModifierExSpouse>
<relationChanceModifierParent>0</relationChanceModifierParent>
<relationChanceModifierChild>0</relationChanceModifierChild>
<relationChanceModifierSibling>0</relationChanceModifierSibling>
</relationSettings>
<!-- 兼容性标签,非必要 -->
<compatibility>
<isFlesh>false</isFlesh>
</compatibility>
</alienRace>
<!-- 以下是原版标签 -->
<!-- 受击音效 -->
<soundImpactDefault>BulletImpact_Metal</soundImpactDefault>
<statBases>
<BandwidthCost>4</BandwidthCost>
<MechEnergyLossPerHP MayRequire="Ludeon.RimWorld.Biotech">0</MechEnergyLossPerHP>
<WastepacksPerRecharge MayRequire="Ludeon.RimWorld.Biotech">5</WastepacksPerRecharge>
<WorkToMake>40000</WorkToMake>
<MarketValue>10000</MarketValue>
<Mass>250</Mass>
<MoveSpeed>5</MoveSpeed>
<EatingSpeed>1000</EatingSpeed>
<!-- 温度适应性在hediff修改 -->
<ComfyTemperatureMin>-300</ComfyTemperatureMin>
<ComfyTemperatureMax>300</ComfyTemperatureMax>
<!-- 心灵敏感,很低 -->
<PsychicSensitivity>0</PsychicSensitivity>
<!-- 肉量 -->
<MeatAmount>0</MeatAmount>
<!-- 皮革量 -->
<LeatherAmount>0</LeatherAmount>
<!-- 谈判能力 -->
<NegotiationAbility>1</NegotiationAbility>
<!-- 社交效果,机械乌拉社交的影响很小 -->
<SocialImpact>0.25</SocialImpact>
<!-- 挖矿速度 -->
<MiningSpeed>1</MiningSpeed>
<!-- 采矿效率 -->
<MiningYield>1</MiningYield>
<!-- 种植速度 -->
<PlantWorkSpeed>1</PlantWorkSpeed>
<!-- 狩猎隐蔽 -->
<HuntingStealth>1</HuntingStealth>
<!-- 建造速度 -->
<ConstructionSpeed>1</ConstructionSpeed>
<!-- 研究速度 -->
<ResearchSpeed>1</ResearchSpeed>
<VacuumResistance MayRequire="Ludeon.RimWorld.Odyssey">1</VacuumResistance>
</statBases>
<race>
<mechEnabledWorkTypes>
<li>Hauling</li>
</mechEnabledWorkTypes>
<fleshType>Mechanoid</fleshType>
<hasGenders>false</hasGenders>
<!-- AI行为勿改 -->
<thinkTreeMain>Mechanoid</thinkTreeMain>
<thinkTreeConstant>HumanlikeConstant</thinkTreeConstant>
<!-- 智力水平 -->
<intelligence>Humanlike</intelligence>
<!-- 血液,不流血 -->
<bloodDef>Filth_MachineBits</bloodDef>
<!-- 基础血量,很高 -->
<baseHealthScale>4</baseHealthScale>
<!-- 身体类型 -->
<body>Wula_Armour_Body</body>
<!-- 大小 -->
<baseBodySize>10.0</baseBodySize>
<!-- 年龄阶段 -->
<lifeExpectancy>5000</lifeExpectancy>
<lifeStageWorkSettings MayRequire="Ludeon.RimWorld.Biotech">
<Firefighter>0</Firefighter>
<Patient>0</Patient>
<Doctor>0</Doctor>
<PatientBedRest>0</PatientBedRest>
<Childcare MayRequire="Ludeon.RimWorld.Biotech">0</Childcare>
<BasicWorker>0</BasicWorker>
<Warden>0</Warden>
<Handling>0</Handling>
<Cooking>0</Cooking>
<Hunting>0</Hunting>
<Construction>0</Construction>
<Growing>0</Growing>
<Mining>0</Mining>
<PlantCutting>0</PlantCutting>
<Smithing>0</Smithing>
<Tailoring>0</Tailoring>
<Art>0</Art>
<Crafting>0</Crafting>
<Hauling>0</Hauling>
<Cleaning>0</Cleaning>
<Research>0</Research>
<DarkStudy MayRequire="Ludeon.RimWorld.Anomaly">0</DarkStudy>
</lifeStageWorkSettings>
<lifeStageAges Inherit="False">
<li>
<def>Wula_Species_Lifestage</def>
<minAge>0</minAge>
</li>
</lifeStageAges>
<nameGenerator MayRequire="Ludeon.RimWorld.Biotech">NamerMech</nameGenerator>
<mechWeightClass>Heavy</mechWeightClass>
<canFlyInVacuum>true</canFlyInVacuum>
<!-- <mechFixedSkillLevel>20</mechFixedSkillLevel> -->
</race>
<receivesSignals>true</receivesSignals>
<recipes>
</recipes>
<butcherProducts>
<Steel>50</Steel>
<Plasteel>20</Plasteel>
</butcherProducts>
<comps>
<li Class="CompProperties_CanBeDormant" />
<li Class="CompProperties_WakeUpDormant">
<wakeUpOnDamage>true</wakeUpOnDamage>
<wakeUpCheckRadius>30</wakeUpCheckRadius>
<wakeUpSound>MechanoidsWakeUp</wakeUpSound>
</li>
<li MayRequire="Ludeon.RimWorld.Biotech" Class="CompProperties_OverseerSubject">
<needsOverseerEffect>MechUncontrolled</needsOverseerEffect>
<delayUntilFeralCheck>60000</delayUntilFeralCheck>
<feralMtbDays>10</feralMtbDays>
<feralCascadeRadialDistance>2500</feralCascadeRadialDistance>
</li>
<li MayRequire="Ludeon.RimWorld.Biotech" Class="CompProperties_MechRepairable" />
<li Class="CompProperties_ProjectileInterceptor">
<radius>4</radius>
<interceptGroundProjectiles>true</interceptGroundProjectiles>
<color>(0.4, 0.4, 0.4)</color>
<reactivateEffect>BulletShieldGenerator_Reactivate</reactivateEffect>
<activeSound>BulletShield_Ambience</activeSound>
<hitPoints>300</hitPoints>
<hitPointsRestoreInstantlyAfterCharge>true</hitPointsRestoreInstantlyAfterCharge>
<chargeDurationTicks>1800</chargeDurationTicks>
<rechargeHitPointsIntervalTicks>120</rechargeHitPointsIntervalTicks>
<minIdleAlpha>0.2</minIdleAlpha>
<drawWithNoSelection>True</drawWithNoSelection>
<disarmedByEmpForTicks>1500</disarmedByEmpForTicks>
<gizmoTipKey>ProjectileInterceptorTip</gizmoTipKey>
</li>
</comps>
<tools Inherit="False">
<li>
<label>肘击</label>
<labelNoLocation>肘击</labelNoLocation>
<capacities>
<li>Blunt</li>
</capacities>
<power>15</power>
<cooldownTime>1.75</cooldownTime>
<linkedBodyPartsGroup>Arms</linkedBodyPartsGroup>
<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
</li>
<li>
<label>拍击</label>
<labelNoLocation>拍击</labelNoLocation>
<capacities>
<li>Blunt</li>
</capacities>
<power>12</power>
<cooldownTime>1.5</cooldownTime>
<linkedBodyPartsGroup>Hands</linkedBodyPartsGroup>
<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
</li>
</tools>
</AlienRace.ThingDef_AlienRace>
<ThingDef Name="Wula_AI_Heavy_Panzer" ParentName="HeavyMechanoid">
@@ -907,7 +532,7 @@
<ThingDef Name="Wula_AI_Heavy_Panzer_Gunnery" ParentName="Wula_AI_Heavy_Panzer">
<defName>Wula_AI_Heavy_Panzer_Gunnery</defName>
<label>SMp-38A"斯佩萨特"</label>
<description>乌拉帝国所使用的中型突击战车,以逆重的方式悬浮于战场上,搭载了联装机炮和用于杀伤软目标的"磷灰"火箭弹,并且拥有足以保护一支突击小队的护盾。</description>
<description>乌拉帝国所使用的中型突击战车,以逆重的方式悬浮于战场上,搭载了联装机炮和用于杀伤软目标的"石英"火箭弹,并且拥有足以保护一支突击小队的护盾。</description>
</ThingDef>
<ThingDef ParentName="LightMechanoid">
@@ -1031,4 +656,21 @@
<WorkSpeedGlobal>2</WorkSpeedGlobal>
</statBases>
</ThingDef>
<ThingDef ParentName="Mech_WULA_Cat_Soldier">
<defName>Mech_WULA_Cat_Assault</defName>
<label>CAt-46"突击猫猫"</label>
<description>乌拉帝国的一种小型机械体可以执行搬运、狩猎和割除任务装备了一把DLa-4"云母"突击步枪附下挂刺刀,以在战场上拖住敌军。</description>
<uiIconPath>Wula/Things/WULA_Cat/WULA_Cat_Thin_south</uiIconPath>
<race>
<mechEnabledWorkTypes Inherit="False">
<li>Hunting</li>
<li>Hauling</li>
<li>PlantCutting</li>
</mechEnabledWorkTypes>
</race>
<statBases>
<!-- <WorkSpeedGlobal>2</WorkSpeedGlobal> -->
<MoveSpeed>4</MoveSpeed>
</statBases>
</ThingDef>
</Defs>