Project Zomboid

Project Zomboid

112 valoraciones
Profession Framework B42
   
Premiar
Favoritos
Favorito
Quitar
Tamaño
Publicado el
Actualizado el
229.932 KB
22 DIC 2024 a las 17:36
22 DIC 2024 a las 17:49
2 notas sobre cambios ( ver )

Suscríbete para descargar
Profession Framework B42

En 1 colección creada por Saul Zomboid
Saul Zomboid's Mods
4 artículos
Descripción
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 comentarios
Hephaistos 5 JUN a las 10:07 
@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 26 MAY a las 17:50 
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 22 ABR a las 4:43 
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 4 FEB a las 16:51 
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 31 ENE a las 6:39 
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 30 ENE a las 20:10 
Oof, sadly this can't be used with Evolving Traits World (ETW).
Darthsawyer 24 ENE a las 18:04 
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 14 ENE a las 14:50 
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 3 ENE a las 16:37 
@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  [autor] 3 ENE a las 15:29 
@Pastor Of Pwn There are some examples in the Github here [github.com]