Project Zomboid

Project Zomboid

39 ratings
Profession Framework
Mod: Mod
File Size
0.170 MB
Mar 27, 2018 @ 7:35am
1 Change Note ( view )

Subscribe to download
Profession Framework

Profession Framework Mod for Project Zomboid

by Fenris_Wolf

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.

See the documentation in media/shared/2ProfessionFramework.lua for full usage, and the files in
the for examples.

All 'Special' traits that have hardcoded features can be used as profession traits. These include:

profession version name (real trait name)
Brave2 (Brave)
Cowardly2 (Cowardly)
Clumsy2 (Clumsy)
Graceful2 (Graceful)
ShortSighted2 (ShortSighted)
EagleEyed2 (EagleEyed)
HardOfHearing2 (HardOfHearing)
Deaf2 (Deaf)
KeenHearing2 (KeenHearing)
HeartyAppitite2 (HeartyAppitite)
LightEater2 (LightEater)
ThickSkinned2 (ThickSkinned)
Thinskinned2 (Thinskinned)
Resilient2 (Resilient)
ProneToIllness2 (ProneToIllness)
Lucky2 (Lucky)
Unlucky2 (Unlucky)
Dextrous2 (Dextrous)
AllThumbs2 (AllThumbs)
FastHealer2 (FastHealer)
SlowHealer2 (SlowHealer)
FastLearner2 (FastLearner)
SlowLearner2 (SlowLearner)
FastReader2 (FastReader)
SlowReader2 (SlowReader)
Illiterate2 (Illiterate)
NeedsLessSleep2 (NeedsLessSleep)
NeedsMoreSleep2 (NeedsMoreSleep)
Inconspicuous2 (Inconspicuous)
Conspicuous2 (Conspicuous)
Organized2 (Organized)
Disorganized2 (Disorganized)
LowThirst2 (LowThirst)
HighThirst2 (HighThirst)
WeakStomach2 (WeakStomach)
IronGut2 (IronGut)
Outdoorsman2 (Outdoorsman)
AdrenalineJunkie2 (AdrenalineJunkie)
NightVision2 (NightVision)
Hypercondriac2 (Hypercondriac)
Agoraphobic2 (Agoraphobic)
Claustophobic2 (Claustophobic)
Hemophobic2 (Hemophobic)
Insomniac2 (Insomniac)
Pacifist2 (Pacifist)
Smoker2 (Smoker)
Asthmatic2 (Asthmatic)
Handy2 (Handy)
Jogger2 (Jogger)

Workshop ID: 1343686691
Mod ID: ProfessionFramework
Popular Discussions View All (1)
Apr 5, 2018 @ 12:39pm
Little guide on how to add this mod as an requirement
< >
Dr_Cox1911  [author] Apr 15, 2018 @ 11:46am 
Those are the ones shipped with the game. If you want to look at the others take a look at the file "SteamLibrary/steamapps/common/ProjectZomboid/projectzomboid/media/lua/shared/NPCs/MainCreationMethods.lua".

(Sidenote: I'm not the creator of this mod, I simply uploaded it to Steam with the permission of Fenris_Wolf who is the author)
Fox Apr 15, 2018 @ 10:51am 
Ok it seems to be working for me now, don't know what I did last time that caused it to break but thanks. The only thing that I'm struggling with now is icons, in your sniper example you referenced 'profession_veteran2' but I can't find where it's getting it from or how to get any others.
Dr_Cox1911  [author] Apr 15, 2018 @ 8:39am 
Just made a simple mod with the example files and it works for me.
The steps I did:
1. extract the from the TIS forum download
2. made a new mod folder in /Zomboid/mods and extracted the lua-folder from the in /Zomboid/mods/ProfTest/media"
3. created a file with all the necessary info, important is the "require=ProfessionFramework,ORGM" line
4. make sure that you are subscribed to ORGM as well for the example to work
5. start the game and activate the ProfTest mod, the ProfessionFramework and ORGM should activate automaticly
Fox Apr 15, 2018 @ 6:31am 
The IWBUMS, sorry
Dr_Cox1911  [author] Apr 15, 2018 @ 12:25am 
@Fox: Did you mean the vehicle build or the IWBUMS build (vehicle build is now discontinued now that the vehicles are merged in IWBUMS)?

I didn't use it myself just yet, but I can try to test it if you specify the build.
Fox Apr 10, 2018 @ 4:02pm 
Has this been tested on the vehicles build? I'm on it and I can't seem to get anything I make working, not even the examples you gave will work.
Dr_Cox1911  [author] Apr 5, 2018 @ 12:42pm 
@B4sslover: there are some examples in the thread from Fenris_Wolf. There is even a zip-file in his mod download, but zip-files aren't allowed here on Steam Workshop, so I had to remove it.

Here [] is the link to the forum thread with some examples.

As for the distribution question:
I just started a little discussion describing the process of properly using this mod framework. Here it is.
Mariaez0r Apr 3, 2018 @ 6:57pm 
Just started using the framework, nice work dude, hope I can pull out some nice things from here.

Suggestion: leave one or two traits and professions example with all the fields populated, this way it is way easier to understand and follow how the framework goes.

Question: let's say I build a pack of new professions and traits using your framework, can I distribute as a standalone mod (all credits granted ofc)?

Thanks in advance, nice work!
Thrandisher Mar 29, 2018 @ 5:48pm 
Glad you tossed this up over here. Hopefully it will get some use from others!