Project Zomboid

Project Zomboid

105 ratings
Profession Framework B42
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
229.932 KB
Dec 22, 2024 @ 5:36pm
Dec 22, 2024 @ 5:49pm
2 Change Notes ( view )

Subscribe to download
Profession Framework B42

In 1 collection by Saul Zomboid
Saul Zomboid's Mods
4 items
Description
Updated Profession Framework for B42, enjoy! Mods that use this framework should work!
Original All credits to them!
Browse my other mods here

Adds a framework to simply adding additional professions and traits to project zomboid,
and editing the default professions. As well as simplifying the modding process and letting
professions have the 'special' traits (brave, lucky, etc), it also simplifies the processes
of adding starting gear to various professions/traits.

Be aware this mod adds no new professions or traits itself, it is merely a framework.
For maximum compatibility, this mod should not included in your own mod, but instead listed as
a requirement.

Workshop ID: 3389904146
Mod ID: ProfessionFrameworkB42
20 Comments
Hephaistos Jun 5 @ 10:07am 
@OKSasquatch
Aye, my bad — I meant ThinkSkinned with a capital "S" needs to be changed. If you check the vanilla trait naming, it's always written with a capital "S," like ThickSkinned and ThinSkinned. That's probably why the handler is throwing an error.

Also, I published my own version of the original mod that doesnt throw these errors and takes the changes in B42 into account — some of my mod users were getting tired of the constant errors that pop up when using this version :handsup:
OKSasquatch May 26 @ 5:50pm 
Hey @Hephaistos,

Can you explain the rationale behind your proposed "Thinskinned2" correction?

To me, the code currently in the file seems to be following the same format as all the other code blocks. The "exclude" lines in the code block for each mod trait look like they contain the vanilla trait itself plus any traits with opposing effects. Just want to know what you're seeing (maybe I'm not picking up on something) and why it's only that one trait if all the others do in fact follow the same format.

The rest of your updates are spot-on, thanks for those.
Hephaistos Apr 22 @ 4:43am 
Hey @Saul,
Fantastic work on the B42 revamp! Thanks to your efforts, I might actually end up using it for my Occupation mod instead of rewriting the entire character creation process. :spiffo:

I took a quick look through the code and noticed a small typo in ProfessionSpecificTraitHandler on line 226 — it says "lacaiton" instead of "location," which could potentially cause issues.

There are also four errors related to setting mutually exclusive traits for Lucky and Unlucky, which are no longer present in the game. Since the devs removed those traits for now, it might be a good idea to comment out the corresponding lines — they're causing four consistent errors on every boot.

Additionally, there are a few typos in the mutual exclusivity settings:
- HeartyAppitite should be HeartyAppetite
- Claustophobic should be Claustrophobic
- Thinskinned2 is trying to exclude Thinskinned, it should be Thickskinned
irrelevantredundancy Feb 4 @ 4:51pm 
F-everyone's-I, this can throw stack trace errors that will reference More Traits, Even More Traits, and Lifestyles separately. Just in case anyone else runs into the same situation in the future, maybe this message will save you the time spent tracking it down.
busta.nut Jan 31 @ 6:39am 
Hey Saul. Great mod! Some of my favourite mods are made with this. But I have a problem. If I run it using the latest build 42.2.0 I get three errors. I don't know what they are, and I'm not running any other mods, only the framework. Does anyone else have this issue?
Cabbage Jan 30 @ 8:10pm 
Oof, sadly this can't be used with Evolving Traits World (ETW).
Darthsawyer Jan 24 @ 6:04pm 
Order does not matter, make sure you are using the correct name and most importantly, make sure there are no spaces in the name. If you tried to add a level of Nimble but called it "Nimble " it would not work.
Pastor Of Pwn Jan 14 @ 2:50pm 
I am struggling a bit still. I have things up and running. Does the order of the skills matter when you define a trait? I was trying to do Hiker with 1 Carving, 1 Foraging, 1 Trapping and I got 3 various results: no carving, only carving, and finally I got all 3 to show up.
Darthsawyer Jan 3 @ 4:37pm 
@Pastor Of Pwn feel free to copy the files of my mod Sawyer's Professions as an example. Saul Zomboid also made a Saul profession you could download to look at the files of as well
Saul Zomboid  [author] Jan 3 @ 3:29pm 
@Pastor Of Pwn There are some examples in the Github here [github.com]