Project Zomboid

Project Zomboid

81 ratings
[B41] Fitness Is A Lifestyle!
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
31.845 KB
2 Jan, 2022 @ 6:27am
6 Jan, 2022 @ 6:57am
13 Change Notes ( view )

Subscribe to download
[B41] Fitness Is A Lifestyle!

Description
Dev branch: Fitness is a Lifestyle! [Dev][41.78]

As for right now, the mod Dynamic Traits will override the XP Multiplier at 100% regularity in any of the exercises, in the dev version it's already compatible in 0.2.7.

In SP: When you create a save, you must check Custom Sandbox, there will be the options. Or changing an already created save. I found this:
HOW TO CHANGE SANDBOX SETTINGS IN AN ACTIVE SAVEFILE?[theindiestone.com]

In MP (Hosted or dedicated): In order to save, and always have the settings when ever you do changes in the server settings, you must have the mod activated in the MODS menu in the main menu. This way, when ever you are going to create or edit a server setting, under the Sandbox Options page, this and other mods will display the settings, if they have them.

So in here:


You activate the mod:


Then you edit your server settings:






Or if you rather add it by hand each time you can go to: C:\Users\*user*\Zomboid\Server\*servername*_SandboxVars.lua
and add at the end of the code

FitnessIsALifestyle = {
Hardcore = false,
XPMultiplier = 3.0,
},

Like this:

Default settings:

Hardcore mode = Dissabled

XP Multiplier = 3.0 (x3)

What does this mod do?

  • Gives an XP Multiplier to the both passive skills (Strength and Fitness) based on the amount of regularity you have in each exercise.
    Note: When you do exercise it will give you the XP Multiplier based on the regularity of that exercise.

    If you are not doing exercise it will give you the average of all regularities of all exercise as the XP Multiplier.

    Example (Easy mode) x3: Sum of all regularities will be, in %, (25+50+2+15+0+0+0) = 92/7 = 13,14*3 = 39,42/100 = 0,39+1 = 1,39 XP Multiplier

  • XP Multiplier is granted on each level, meaning that if the multiplier is 3, each level the new Max XP Multiplier will be added 3 more XP Multiplier.

    👉At level 0 you get, at 100% regularity, XP Multiplier x3
    👉At level 5 you get, at 100% regularity, XP Multiplier x15
    👉At level 10 you get, at 100% regularity, XP Multiplier x30

    (It will show x4 as x1 gives the same number and does not add any new XP)

  • Easy Mode will give the XP Multiplier in a linear way.

  • Hardcore Mode (if active in the sandbox options) gives the XP Multiplier in a exponential way. Meaning that at 70% of Regularity you only gain a 25% of the XP Multiplier. At 100% Regularity you get the 100% XP Multiplier.


    🛑WARNING🛑

    I doubt this will work with skill books that affect the passive xp multipliers such as: All Skill Books

    But does work with others that don't give an xp multiplier to passive skills, such as: Additional Skill Books 2 (41 build)

    🟦Permissions🟦

    ✅ You are allowed, of course, to add this mod to a Steam Collection.
    ✅ You are allowed to add this mod to a Mod Collection, with credit and a direct link of this mod in the description
    🚫 You are not allowed to upload variants of this mod, neither copy it, without permission of the owner/s. Not in the Steam Workshop nor any other mod websites.
    🤝 If broken by any case because of updates, please contact the owner/s to get the permission to fix and upload it.

    GitHub[github.com]
    Workshop ID: 2704980483
    Mod ID: FitnessIsALifestyle
Popular Discussions View All (1)
4
7 Jan, 2022 @ 4:14am
Bugs
GuiriGuy
48 Comments
GuiriGuy  [author] 30 Jun, 2023 @ 3:46am 
Sorry! This last thing, I believe it is done in the DEV version of the mod, even tho, this mod should be safe to delete or add at any time
GuiriGuy  [author] 30 Jun, 2023 @ 3:45am 
HI there!!

Well it's been some time without me playing PZ, i know, i know... Waiting for 42...

Regarding your question I have played with dynamic traits and did adapt it, tho i believe it was kinda OP if I can remember correctly.... The edition I don't know, would have to check, but basic one, yes :D
Luna Sky 29 Jun, 2023 @ 11:34am 
is this tested with dynamic traits sauce edition?
GuiriGuy  [author] 13 Nov, 2022 @ 3:16pm 
New Dev branch has been added for testing and if no problems occur, will become Main branch. Hope you like it!
GuiriGuy  [author] 12 Nov, 2022 @ 3:35am 
@The Monkey King, Thanks for your kind words, I love that the mod got this love, as I didn't expect to it be more than a mod for me and my mates, at the time. Answering your message, yes, this could also be possible and even I kinda like it (optional tho) as a multiplier itself to the multiplier based on the expierence of the character. I don't remember how much the multiplier affected (in numbers), but if I get back (this will probably happen soon) I'll give it a try or even rewrite it all again as I'm gaining more knowledge to scripting at work.

@RedRum... I hope so (?) hahahha, let me know!
GuiriGuy  [author] 12 Nov, 2022 @ 3:35am 
Hi everyone, sorry for not given the attention to the mod nor updating it. IRL lot's of stuff have happened. I'm outdated with the new updates that the game has had.

So...
@Nilsinho and @Gral. Galtieri, Trying to search for your error, unless the game has changed the way it's called to the sandbox_vars, either in SP or MP, the only guess I can get is that you maybe play in another language?
I'll have to double check if this happens to me also.

@dodgytactics, yeah, this could be possible, yet I was trying to minimize the amount of options the mod gives you to not be too much, but I also like to be able to change to my linking as much as I can, I'll try to check a way to do so.
Sound Expert 8 Sep, 2022 @ 12:52am 
does this work for the current game version?
NΘMΛD 1 Aug, 2022 @ 10:55am 
Just to add to the previous message. Simply being able to set the current minimum to 0.1 instead of 1.0 would be enough. The multiplier per level being 1x, 2x, 3x etc is fine, as long as we can set the ninimum lower, so it doesnt go so high too quickly.
NΘMΛD 1 Aug, 2022 @ 10:30am 
Thanks for the settings option. Being able to tailor the multiplier per level would be amazing. i'd love for it to be on the decimals like 0.8x so it's hard when you're unfit (makes it so the negative traits have a bigger impact, but also the needed exp is lower) and goes up to 8x at the end, which is a good value imo. I absolutely love this mod, but setting it to 1.0 (minimum right now) still feels too much. Cheers mate
Gral. Galtieri 31 Jul, 2022 @ 6:21pm 
Not working in MP. When i click on run server, sandbox_vars automatically erases the text referring to firnessisalifestyle