Project Zomboid

Project Zomboid

109 ratings
Profession Framework
   
Award
Favorite
Favorited
Unfavorite
Mod: Mod
File Size
Posted
0.170 MB
Mar 27, 2018 @ 7:35am
1 Change Note ( view )

Subscribe to download
Profession Framework

Description
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 example.zip 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)
0
Apr 5, 2018 @ 12:39pm
Little guide on how to add this mod as an requirement
Dr_Cox1911
< >
13 Comments
Nervict Mar 29 @ 10:16pm 
Is there no Desensitized?
Stick2TheShadows Jul 18, 2020 @ 4:03am 
Hypochondriac trait is disabled in IWBUMS, so if you are annoyed (like me) by red error box showing up every time you launch the IWBUMS build (though i think it doesnt affect the game in negative way), you have to delete or comment section of the code which adds this trait - file '3ProfessionTraits.lua', lines 323-329.
Dr_Cox1911  [author] Mar 18, 2020 @ 11:58pm 
@leon2356: Fenris (the mod author) has made some bugfixes for it to work with Build 41, but the last time I checked with him he wanted to wait a little bit before I push it to Steam.

Will ask him again if I should update it to the latest version.
leon2356 Mar 17, 2020 @ 10:57pm 
Does this still work on the newest build? I have been trying to make a profession on the IWBUMS build with no luck.
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 example.zip from the TIS forum download
2. made a new mod folder in /Zomboid/mods and extracted the lua-folder from the example.zip in /Zomboid/mods/ProfTest/media"
3. created a mod.info 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.