Project Zomboid

Project Zomboid

Not enough ratings
Dynamic Traits and Expanded Moodles [B41 & B42] FIX
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
1.331 MB
Sep 28 @ 3:47am
1 Change Note ( view )

Subscribe to download
Dynamic Traits and Expanded Moodles [B41 & B42] FIX

Description
It's the exact same Mod, made by PepperCat, but with one edited lua file (and maybe deleted the b41 content, sry)

This mod is NOT made by me, nor do I put my name in the collarobation
This is only a temporary fix until PepperCat applies my fix in her workshop post. In the meantime, feel free to use this patch.

Link to her mod: https://steamcommunity.com/sharedfiles/filedetails/?id=2459400130&searchtext=Dynamic+Traits

The issue

The current mod throws out runtime errors, that happen when you swing a weapon or push and when hitting a zombie (unarmed or even armed with any weapon). This is because the game engine changed how these things get registered or idk (yet not understand everything). That's why I opened the mod in vs code, looked up which function in which line made problems and fixed it with a check. Because the swinging and hitting outputs a nil (idk, similar to null but nil is in lua), that's why the game screams and outputs a long error in the log. With the check we can somehow trick it, as I say, I'M NOT SURE IF I UNDERSTAND IT RIGHT, now it's fixed, yay.

I didn't just make it not scream but the mod functions as before. I've only edited one file that made the problems, nothing else.

Old description:

Features

The player will be able to gain or lose both positive and negative traits during the game based on different conditions.
New traits, some dynamic, some statics.
Vanilla traits cost rebalance.
New moodles and new effects for vanilla moodles such as: fractures by being overloaded or possibility to pass out if too tired for too much time, etc.
Vanilla professions rebalance.
Some new funtionalities such as overdose.

WIP Documentation - Outdated, this is B41. For B42 there's nothing yet.

High level guide of Dynamic Traits (Still a work in progress but already with a lot of details) [docs.google.com]

Other Traits mods Compatibilities
Evolving Traits World --> Incompatible
Simple Overhaul: Traits and Occupations --> Incompatible
More Simple Traits --> Compatible (I think? not really sure in B42)
More Traits --> Should be compatible (I think? not really sure in B42)
Dynamic Traits - Sauce Edition --> Incompatible

Other Compatibilities
Snake's Modpack --> Full compatibility in B41. B42 still not released.
Fitness & Workout Overhaul --> Full compatibility both B41 and B42.

My mods :)
Dynamic Traits and Expanded Moodles
Trees Have Loot
Surviving the storm
Wash Or Rot

If you wish to support the development of my mods you can do it through Paypal:

Copyright 2022 [PepperCat]. This mod doesn't have authorization to be published in Steam, except under the account name PepperCat.

Thanks to Aurora for the poster imagen <3

Workshop ID: 2459400130
Mod ID: DynamicTraits
---------------------------------------------
Workshop ID: 3576335725
Mod ID: DynamicTraitsFIX
6 Comments
Winged One 5 hours ago 
Mod keeps throwing an error everytine I try and cut down a tree, error seems to trigger everytime the tree is hit
2sa2  [author] Sep 28 @ 9:44pm 
it's the same mod again. Which means, you won't need the original mod. Just activate this and Moodle framework and you're good to go
zortag Sep 28 @ 10:52am 
do i need also the original mod installed and set this after it or i can keep only this one?
2sa2  [author] Sep 28 @ 4:51am 
I've looked into the files again, the workshop upload and my local folder have the same files and data. Though, I'm not sure what might make your instance different from mine, because it works fine for me. Are you sure you are on the absolute newest b42 version (42.12)? Do you perhaps use other mods, that might affect the game engine or so, or incompatible mods (seen in the description)?
2sa2  [author] Sep 28 @ 4:46am 
What kind of errors? I'm free to help you right now
Srviper Sep 28 @ 4:39am 
Its not work on me still doing errors