Rimworld Weight gain Mod the second coming discusion

First, progress update! The next few features have been a little slow to add as I’m figuring out some technical details, but I am still making progress. As for new things,

  • When a pawn eats a little floating mote displays how much weight it was worth.
    • This was more a test to get the function working, which it now is. That means that in the future similar information can be shared with the player this way. I was thinking that this method would be employed with a scale object.
  • By default RimWorld has a rather small limit on how large a pawn sprite can be. To get around this I have started using the Humanoid Alien Races framework which allows you to bypass this limit. Due to the way this mod handles rendering I have to change the way that I do it as well. Not really a problem, just a technical hiccup. Because of this framework pawns can now be as big as you'd like (yay!)
  • Lastly, I've been trying to implement a feature to allow the player to custom select the frequency at which the pawn eats. In Vanilla this is accomplished through the aptly named "FoodLevelPercentageWantEat()" method. However, the way that Vanilla implements this is through diet category (e.g. herbivore, omnivore) and isn't easily amendable. Therefore the fix I had was to add a bar (like the ones when you set the prune level on a Gaurenlen tree or when you set the fuel level on a launch pod) that will let you choose what eat frequency for each pawn. The source code for these is downright nightmarish so its been a bit of a grind to finish this one, but its about half made.
    • I was thinking that you can set custom values for this, but pawns will have preferred settings. Too far above or below for too long and they will become unhappy. Then, through various processes this can be raised or lowered.
  • There’s a lot of things that could be done with Ideology that I’d like to do. What’s that website people use to track progress? I was thinking I could throw ideas like this on there just to keep track. I hadn’t’ really thought about Feedee being a role as in for ideology but that works out quite well.

    How would you like to? I’m sure it wouldn’t be too hard, what did you have in mind?

    Good question! I myself am not sure.I plan to get this working today, since with that the really basic mechanics are nailed out. I think for it to work I might have to lower the mood debuffs for starving (currently -44!) so that they only apply when you actually earn Malnutrition, which would be probably only when you’re below average weight. What do you guys think? I really haven’t been super inspired for passive weight loss. As for instantaneous wight loss, various surgeries and medicines would work fine.

    To be honest, it really depends on what everyone wants, to a degree. I personally struggle to even keep my colonists’ clothes not tattered much less nice. Clothing WILL have to be whitelisted if we change sprites, which is the plan. This means mod clothing will need to be redrawn for every size for compatibility. As for size restrictions… not sure yet. Like I said, it depends what everyone wants.

    Yes! There will be custom sizes so it’s a must. I haven’t decided whether I want to go for a more realistic style or stick with rimworld’s hyperblobby (lmao) style. Either way I’m not an artist. All said and done though, changing sprites at any point wouldn’t be a problem, just rename drag and drop.

3 Likes