Skip to content

Commit

Permalink
Mech ThingDef adjustment
Browse files Browse the repository at this point in the history
add missed detritusLeavings to raceProperties
  • Loading branch information
masakitenchi committed Jun 23, 2024
1 parent df8f652 commit b9020fc
Showing 1 changed file with 63 additions and 19 deletions.
82 changes: 63 additions & 19 deletions Mods/Core_SK/Defs/ThingDefs_Races/Races_Mechanoid.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,16 @@
<GermResistance>1.0</GermResistance>
<GermContainment>1.0</GermContainment>
<NightVisionEfficiency>1</NightVisionEfficiency>
<BandwidthCost MayRequire="Ludeon.Rimworld.Biotech">1</BandwidthCost>
<ControlTakingTime MayRequire="Ludeon.Rimworld.Biotech">12</ControlTakingTime>
<BandwidthCost MayRequire="Ludeon.RimWorld.Biotech">1</BandwidthCost>
<ControlTakingTime MayRequire="Ludeon.RimWorld.Biotech">12</ControlTakingTime>
<ToxicEnvironmentResistance MayRequire="Ludeon.RimWorld.Biotech">1</ToxicEnvironmentResistance>
<MechEnergyLossPerHP MayRequire="Ludeon.Rimworld.Biotech">0.33</MechEnergyLossPerHP>
<WastepacksPerRecharge MayRequire="Ludeon.Rimworld.Biotech">5</WastepacksPerRecharge>
<WorkSpeedGlobal MayRequire="Ludeon.Rimworld.Biotech">0.5</WorkSpeedGlobal>
<MechEnergyLossPerHP MayRequire="Ludeon.RimWorld.Biotech">0.33</MechEnergyLossPerHP>
<WastepacksPerRecharge MayRequire="Ludeon.RimWorld.Biotech">5</WastepacksPerRecharge>
<WorkSpeedGlobal MayRequire="Ludeon.RimWorld.Biotech">0.5</WorkSpeedGlobal>
</statBases>
<receivesSignals>true</receivesSignals>
<tradeability>None</tradeability>
<race>

<renderTree>Misc</renderTree>
<fleshType>Mechanoid</fleshType>
<needsRest>false</needsRest>
<hasGenders>false</hasGenders>
Expand All @@ -49,13 +47,13 @@
<wakeUpCheckRadius>30</wakeUpCheckRadius>
<wakeUpSound>MechanoidsWakeUp</wakeUpSound>
</li>
<li MayRequire="Ludeon.Rimworld.Biotech" Class="CompProperties_OverseerSubject">
<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 MayRequire="Ludeon.RimWorld.Biotech" Class="CompProperties_MechRepairable" />
<li>
<compClass>CombatExtended.CompAmmoGiver</compClass>
</li>
Expand All @@ -80,8 +78,8 @@
<MeleeParryChance>0.4</MeleeParryChance>
<MaxHitPoints>500</MaxHitPoints>
<PsychicSensitivity>0.75</PsychicSensitivity>
<BandwidthCost MayRequire="Ludeon.Rimworld.Biotech">4</BandwidthCost>
<MechEnergyLossPerHP MayRequire="Ludeon.Rimworld.Biotech">0.2</MechEnergyLossPerHP>
<BandwidthCost MayRequire="Ludeon.RimWorld.Biotech">4</BandwidthCost>
<MechEnergyLossPerHP MayRequire="Ludeon.RimWorld.Biotech">0.2</MechEnergyLossPerHP>
</statBases>
<tools>
<li Class="CombatExtended.ToolCE">
Expand Down Expand Up @@ -123,6 +121,23 @@
<soundMeleeHitBuilding>Pawn_Melee_MechanoidBash_HitBuilding</soundMeleeHitBuilding>
<soundMeleeMiss>Pawn_Melee_MechanoidBash_Miss</soundMeleeMiss>
<mechWeightClass>Heavy</mechWeightClass>
<detritusLeavings>
<li>
<def>ChunkMechanoidSlag</def>
<texOverrideIndex>10</texOverrideIndex>
<spawnChance>0.5</spawnChance>
</li>
<li>
<def>ChunkMechanoidSlag</def>
<texOverrideIndex>19</texOverrideIndex>
<spawnChance>0.5</spawnChance>
</li>
<li>
<def>ChunkMechanoidSlag</def>
<texOverrideIndex>14</texOverrideIndex>
<spawnChance>0.5</spawnChance>
</li>
</detritusLeavings>
</race>
<butcherProducts>
<TitaniumBar>8</TitaniumBar>
Expand Down Expand Up @@ -173,7 +188,7 @@
<MeleeDodgeChance>0.08</MeleeDodgeChance>
<MeleeCritChance>0.18</MeleeCritChance>
<MeleeParryChance>0.09</MeleeParryChance>
<BandwidthCost MayRequire="Ludeon.Rimworld.Biotech">2</BandwidthCost>
<BandwidthCost MayRequire="Ludeon.RimWorld.Biotech">2</BandwidthCost>
</statBases>
<tools>
<li Class="CombatExtended.ToolCE">
Expand Down Expand Up @@ -295,7 +310,7 @@
<MeleeCritChance>0.15</MeleeCritChance>
<MeleeParryChance>0.22</MeleeParryChance>
<NightVisionEfficiency>0.9</NightVisionEfficiency>
<BandwidthCost MayRequire="Ludeon.Rimworld.Biotech">2</BandwidthCost>
<BandwidthCost MayRequire="Ludeon.RimWorld.Biotech">2</BandwidthCost>
</statBases>
<tools>
<li Class="CombatExtended.ToolCE">
Expand Down Expand Up @@ -338,7 +353,7 @@
<race>
<intelligence>ToolUser</intelligence>
<thinkTreeMain>Mechanoid</thinkTreeMain>
<body>Scyther</body>
<body>Lancer</body>
<baseBodySize>1.0</baseBodySize>
<baseHealthScale>2.8</baseHealthScale>
<lifeStageAges>
Expand All @@ -360,6 +375,18 @@
<soundMeleeHitPawn>Pawn_Melee_MechanoidSlash_HitPawn</soundMeleeHitPawn>
<soundMeleeHitBuilding>Pawn_Melee_MechanoidSlash_HitBuilding</soundMeleeHitBuilding>
<soundMeleeMiss>Pawn_Melee_MechanoidSlash_Miss</soundMeleeMiss>
<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>
</race>
<butcherProducts>
<TitaniumBar>4</TitaniumBar>
Expand Down Expand Up @@ -393,7 +420,7 @@
<MeleeCritChance>0.15</MeleeCritChance>
<MeleeParryChance>0.22</MeleeParryChance>
<NightVisionEfficiency>0.7</NightVisionEfficiency>
<BandwidthCost MayRequire="Ludeon.Rimworld.Biotech">2</BandwidthCost>
<BandwidthCost MayRequire="Ludeon.RimWorld.Biotech">2</BandwidthCost>
</statBases>
<tools>
<li Class="CombatExtended.ToolCE">
Expand Down Expand Up @@ -447,7 +474,7 @@
<soundDeath>Pawn_Mech_Pikeman_Death</soundDeath>
<soundCall>Pawn_Mech_Pikeman_Call</soundCall>
</li>
<li MayRequire="Ludeon.Rimworld.Biotech">
<li MayRequire="Ludeon.RimWorld.Biotech">
<def>MechanoidFullyFormed</def>
<minAge>100</minAge>
<soundWounded>Pawn_Mech_Pikeman_Wounded</soundWounded>
Expand All @@ -458,6 +485,23 @@
<soundMeleeHitPawn>Pawn_Melee_Punch_HitPawn</soundMeleeHitPawn>
<soundMeleeHitBuilding>Pawn_Melee_Punch_HitBuilding_Metal</soundMeleeHitBuilding>
<soundMeleeMiss>Pawn_Melee_Punch_Miss</soundMeleeMiss>
<detritusLeavings>
<li>
<def>ChunkMechanoidSlag</def>
<texOverrideIndex>11</texOverrideIndex>
<spawnChance>0.1</spawnChance>
</li>
<li>
<def>ChunkMechanoidSlag</def>
<texOverrideIndex>16</texOverrideIndex>
<spawnChance>0.1</spawnChance>
</li>
<li>
<def>ChunkMechanoidSlag</def>
<texOverrideIndex>1</texOverrideIndex>
<spawnChance>0.1</spawnChance>
</li>
</detritusLeavings>
</race>
<butcherProducts>
<TitaniumBar>4</TitaniumBar>
Expand All @@ -481,7 +525,7 @@
<MoveSpeed>2.2</MoveSpeed>
<PsychicSensitivity>0.75</PsychicSensitivity>
<ArmorRating_Blunt>7.8</ArmorRating_Blunt>
<ArmorRating_Sharp>5.6</ArmorRating_Sharp><!--
<ArmorRating_Sharp>5.6</ArmorRating_Sharp> <!--
<MeleeDodgeChance>0.15</MeleeDodgeChance>
<MeleeCritChance>0.05</MeleeCritChance>
<MeleeParryChance>0.15</MeleeParryChance>-->
Expand Down Expand Up @@ -610,7 +654,7 @@
<RegenInterval>480</RegenInterval>
<RegenValue>5</RegenValue>
<Repairable>false</Repairable>
<!-- <RepairIngredients>
<!-- <RepairIngredients>
<TitaniumBar>2</TitaniumBar>
<CarbonAlloy>2</CarbonAlloy>
</RepairIngredients>
Expand All @@ -636,4 +680,4 @@
</modExtensions>
</ThingDef>

</Defs>
</Defs>

0 comments on commit b9020fc

Please sign in to comment.