RimWorld

RimWorld

48 ratings
Rimbody - Stat Module
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.5, 1.6
File Size
Posted
Updated
147.505 KB
28 Nov, 2024 @ 5:17am
20 Jun @ 10:46pm
8 Change Notes ( view )

Subscribe to download
Rimbody - Stat Module

Description
Rimbody StatModule
This is a module for Rimbody mod. This module integrates Rimbody’s Muscle Mass and Body Fat into pawns' stats.

Features
  • Muscle is mostly beneficial to the stats, as most work needs muscle, and you don't gain muscle easily.
  • Fat is not so beneficial, but high fat will come in handy when you are starving, and having low fat can be deadly when you have no food.
  • Rimbody is also designed so that Fat helps pawns keep their muscle (bodyfat lowers muscle loss), so having a moderate, healthy amount of fat can be beneficial.


Detailed Stats

Vanilla
Stat
Relevant Info
Number
Mass
Muscle, Fat
40kg~110kg
Meat Amount
Muscle, Fat
x 0.5 ~ 1.375
Leather Amount
Muscle, Fat
x 0.5 ~ 1.375
Nutrition
Muscle, Fat
x 0.5 ~ 1.375
Max Nutrition
Muscle, Fat
x 0.8 ~ 1.2
Food Need
Muscle, Fat
x 0.8 ~ 1.2
Inventory Mass*
Muscle
x 0.75 ~ 1.25
Arrest Success Chance
2*Muscle, Fat
x 0.7 ~ 1.3
ComfyTemperatureMin
-Muscle, -2*Fat
-6 ~ +6
ComfyTemperatureMax
-Muscle, -2*Fat
-3 ~ 3
MoveSpeed
-Fat
x 0.85 ~ 1.15
Crawl Speed
-Fat
x 0.85 ~ 1.15
Melee Damage Factor
Muscle
x 0.85 ~ 1.15
Stagger Duration
-2*Muscle, -Fat
x 0.85 ~ 1.15
Mining Speed
Muscle
x 0.85 ~ 1.15
Smoothing Speed
Muscle
x 0.85 ~ 1.15
Planting Speed
Muscle
x 0.85 ~ 1.15
Construction Speed
Muscle
x 0.85 ~ 1.15
Deepdrill Speed
Muscle
x 0.85 ~ 1.15
Malnutrition progress
-Fat
x0.5 ~ x1.2
*If CE is active, this will not be applied as CE uses its own inventory mass system. Instead, Stat module will apply to the CE's inventory mass system.

Combat Extended
Stat
Relevant Info
Number
CarryWeight
Muscle
x 0.75 ~ 1.25
CarryBulk
Muscle
x 0.75 ~ 1.25
UnarmedDamage
Muscle
x 0.75 ~ 1.25
MeleeParryChance
Muscle
x 0.75 ~ 1.25

The source code is available on GitHub[github.com]
24 Comments
Maux  [author] 7 Jul @ 4:35pm 
@moo I believe that conflict would be better fixed on their end. I'll post on the discussion.
Maux  [author] 13 Jun @ 2:15am 
@Legeden Glad to hear it! Yes, Rimworld has CarryingCapacity and then 'Mass Capacity'. Confusing names, I know. The muscle will keep on affecting how much your pawns can hold in the inventory, so no worries!

And I agree that full muscle should be more beneficial to carry weight! I'm actually looking into buffing them for higher muscle, while still making it not too punishing for skinny pawns. I'll try to come up with a formula that's easy on the performance that achieve this effect.
Legeden 13 Jun @ 2:10am 
I think I might've had a wrong assumption and thought CarryWeight is CarryingCapacity.

Which would affect pawn benefit from Muscles for Pick Up and Haul or Combat Extended.

If those two are not the same, then I withdraw my objection :D if anything full muscle could boost CarryWeight even more :P
Maux  [author] 13 Jun @ 1:55am 
@Legeden Carrying Capacity controls how much a pawn takes from a stack. At 100% (assuming bodysize 1), they carry the item’s max stack size (e.g. 75 for wood/steel, 5000 for silver).

The issue with making Carrying Capacity depend on Muscle/Fat is that it usually doesn’t have a positive effect. Even with a +20% buff, they still carry 75 wood because that’s the stack limit. It only really helps if the pawn has a debuff (like low Manipulation), but most of the time it just limits carrying.

I wasn’t able to find any situation where the system was actually beneficial. If you have a reason to keep this feature, could you share your experience? I’m mainly removing it to avoid unnecessarily nerfing pawns, not to prevent buffs. If there’s a real advantage to keeping it, I’ll consider adding it back.
Legeden 12 Jun @ 11:27pm 
adding another mod that is already on life support is just not something I'd like to do to keep the same functionality
Legeden 12 Jun @ 11:25pm 
but I love the Carrying Capacity increase
Maux  [author] 15 May @ 6:26am 
@Deankiller Turnupseed Yes it should be. The carry capacity modified by this mod will affect Dynamic Carrying Capacity. However I am considering removing carry capacity modification from this soon, so if that happens, the two mods will not have any interaction.
Deankiller Turnupseed 14 May @ 9:35pm 
is this compatible with dynamic carry capacity?
Maux  [author] 23 Apr @ 5:52am 
@mynameactually stats module already patches malnutrition so that it rises slower with pawns with higher fat. (and rimbody core base makes is so that starving pawns lose fat faster) Have you encountered any incompatibility with that mod?