Project Zomboid

Project Zomboid

Not enough ratings
Gain Weight Easy [B42]
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
182.312 KB
18 Jan @ 5:30am
25 Mar @ 6:23am
5 Change Notes ( view )

Subscribe to download
Gain Weight Easy [B42]

Description
The B42.7 update had no effect on this mod.



This mod makes it easier to gain weight in B42.

In B42, gaining weight is quite difficult due to strict caps on calories, carbs, fat, and protein which are set too low. Anything you consume beyond these limits simply disappears.

This mod removes all those caps, ensuring that everything you eat directly contributes to weight gain, with nothing lost. From now on, what you eat is all yours; nothing is lost.

This mod does not impact game performance and can be safely added to your existing save files. The only changes made to the hard-coded file are the cap-checking routines; everything else remains untouched.

This mod modifies a vanilla Java file, so it requires manual installation.

Uninstallation can be done by verifying the integrity of game files through Steam (However, be aware that this process removes ALL mods that modify Java code, "the Java mods", so you’ll need to copy and paste them again afterward for any you want to keep.)

This mod does not directly conflict with other mods, but its effects can be nullified or limited by any weight or calorie-related mods that override similar mechanics. To ensure this mod works properly, you must disable all other weight or calorie-related mods.

Follow the installation instructions below carefully to install the mod.



How to Install
1. Subscribe to the Mod
  • First, make sure your game version is B42, not B41, and that the game is fully closed.

  • Then, subscribe to Gain Weight Easy [B42] on the Steam Workshop.

2. Locate the Mod Folder
In File Explorer, navigate to your Steam Workshop directory, which by default is:

C:\Program Files (x86)\Steam\steamapps\workshop\content\108600\3409766590\mods\GainWeightEasy\42

(You may copy and paste the above path into the Windows search bar or File Explorer to quickly open it.)

3. Copy the “zombie” Folder
Within the 42 folder, locate a folder named “zombie.”
Right-click this folder and select “Copy.”

4. Find the Project Zomboid Installation Directory
Open a File Explorer window and navigate to your Project Zomboid installation folder. Typically, this can be found here:

C:\Program Files (x86)\Steam\steamapps\common\ProjectZomboid

Make sure you see an existing “zombie” folder in this directory.

5. Paste and Replace Files
Paste the “zombie” folder from Step 3 into your main Project Zomboid folder. When prompted with a warning message indicating that a file named “Nutrition.class” already exists, choose “Replace the file in the destination.” This will overwrite the necessary file.

You have successfully installed Gain Weight Easy [B42]. Enjoy gaining weight now!




Workshop ID: 3409766590
Mod ID: GainWeightEasy
Mod ID: GainWeightEasy
18 Comments
Gran Trasero 25 Mar @ 6:32pm 
Someone out there had to put their laptop over their lap when they saw this mod. I'm not judging.
jaelee1111  [author] 11 Feb @ 8:31pm 
@WhiteGlove Glad you appreciate it!
jaelee1111  [author] 11 Feb @ 8:30pm 
@ash_williams NP!
WhiteGlove 11 Feb @ 3:48am 
Thank you for making this! Very happy someone else noticed this, and I'm happy someone edited it because you can't manually select Very High/Low Weight anymore.
ash_williams 28 Jan @ 6:09am 
Thx! :steamthumbsup:
jaelee1111  [author] 28 Jan @ 3:58am 
@ash_williams In the original code excerpt below, I removed all the routines that used ">" to check for caps:

public void setCarbohydrates(float var1) {
if (var1 < -500.0F) {
var1 = -500.0F;
}

if (var1 > 1000.0F) {
var1 = 1000.0F;
}

this.carbohydrates = var1;
}

public void setProteins(float var1) {
if (var1 < -500.0F) {
var1 = -500.0F;
}

if (var1 > 1000.0F) {
var1 = 1000.0F;
}

this.proteins = var1;
}

public void setCalories(float var1) {
if (var1 < -2200.0F) {
var1 = -2200.0F;
}

if (var1 > 3700.0F) {
var1 = 3700.0F;
}

this.calories = var1;
}

public void setLipids(float var1) {
if (var1 < -500.0F) {
var1 = -500.0F;
}

if (var1 > 1000.0F) {
var1 = 1000.0F;
}

this.lipids = var1;
}
ash_williams 28 Jan @ 3:45am 
Can you please open sources? Just intersting to see)
Alleyne 25 Jan @ 8:54am 
Thank you for the response, I'll install it and if any issues arise I'll be sure to let you know!
jaelee1111  [author] 25 Jan @ 4:38am 
@Alleyne I just read the description of the mod, and based on that, this mod should work well with the All in One Fluid Fix mod. This mod does nothing except for removing the caps.
jaelee1111  [author] 25 Jan @ 4:36am 
@bliblablub I haven’t checked the code, but as far as I know, the bug mentioned in the mod description was fixed in B42, wasn’t it? It was a kinda well-known bug, so there’s no way it could’ve been overlooked. Anyway, this mod should work well with that mod, too. This mod does nothing other than removes the caps.