Project Zomboid

Project Zomboid

[B42.9] Detailed Descriptions for Occupations and Traits
106 Comments
egeesen07 13 hours ago 
in TR Turkish ty.
Jetmax937  [author] 11 Jul @ 12:13am 
@Sneezingprince

I don't know how that mod integrates its descriptions, but it shouldn't cause any issues.

There is no reason to use both mods though, many descriptions will be duplicated or very similar.
Sneezingprince 10 Jul @ 9:35am 
Is this mod compatible with "More Description for Traits"?
Jetmax937  [author] 2 Jul @ 2:14am 
@Albert

Couldn't replicate the issue with the mod.

Baseball player only gives +1 Long blunt.

Please verify that you aren't using any other mods that affect traits/professions.
Albert 1 Jul @ 4:23am 
when looking at the traits, the traits that give you +X/-X levels into skill shows multiple times but doesn't give extra for example:

Baseball player
Knowledge:
- Carve bat

+1 Long blunt
+1 Long blunt
Jetmax937  [author] 26 May @ 7:52pm 
@melodelic

Just tried the mod in B42.8, couldn't find any errors or weird things at all.

B42.8 changed some stuff with traits, so please verify that you aren't using any other mods that affect traits/professions.
melodelic 26 May @ 3:17pm 
I don't know what broke it, but it throwing an error and doing weird things while creating a character in 42.8.0.
Kust5 3 May @ 3:37am 
Спасибо за русский перевод. Ну и конечно же автору мода:steamthumbsup:
Arthritis 21 Apr @ 1:16am 
WOWIEE!!
Jetmax937  [author] 24 Feb @ 5:52pm 
@Loccatpowersdog

"This is just a code snippet, the rest of the code has been cut out for readability reasons."

They are not the two main variables nor the only traits that affect trip chance.

Clumsy was kept to show an example of a trait that affects the trip chance negatively.
Loccatpowersdog 23 Feb @ 10:09am 
Don't really do code other than simple edits, but looks like maybe the two main variables it checks for Vaulting is if you have Clumsy/Graceful and Fitness values; very interesting and thanks for the reply!

I wonder where this possible misinformation is coming from? Maybe someone did tests that showed there is a Graceful bug or read some patchnotes and got confused? Either way thanks again for some strong clues here.
Jetmax937  [author] 23 Feb @ 7:21am 
@Loccatpowersdog

The trip chance was obtained from the following file:

Project Zomboid\zombie\ai\states\ClimbOverFenceState.java
(If you want to verify this for yourself, you will need to decompile it first)

Line 485:

private boolean shouldFallAfterVaultOver(IsoGameCharacter var1) {
if (var1 instanceof IsoPlayer && !((IsoPlayer)var1).isLocalPlayer()) {
return ((IsoPlayer)var1).networkAI.climbFenceOutcomeFall;
} else if (DebugOptions.instance.Character.Debug.AlwaysTripOverFence.getValue()) {
return true;
} else {
float var2 = 0.0F;

if (var1.Traits.Clumsy.isSet()) {
var2 += 10.0F;
}

if (var1.Traits.Graceful.isSet()) {
var2 -= 10.0F;
}

var2 -= (float)var1.getPerkLevel(PerkFactory.Perks.Fitness);
return (float)Rand.Next(100) < var2;
}
}

This is just a code snippet, the rest of the code has been cut out for readability reasons.
Loccatpowersdog 22 Feb @ 12:06pm 
Are we 100% sure about the Graceful trait now? Like is this listed in the files/debug mode somewhere or tested for sure?

I prefer this mod over a very similar one but both have the chance to trip % while I'm also reading/seeing conflicting reports about build 42 Graceful being foostep loudness ONLY?
Quilava 13 Feb @ 6:39am 
Ah, pardon me, after checking again, look like mod list sorting overwrite a trait mod i use and reverse the vanilla trait back to normal some how, this one on me, change order and it work now, sr about that :steamfacepalm:
Jetmax937  [author] 13 Feb @ 2:39am 
@karolcia

If I remember correctly, Corpse Grapple Effectiveness affects the chance of successfully grabbing a corpse and the dragging speed.
Jetmax937  [author] 13 Feb @ 2:36am 
@Quilava

Still havent updated the mod with the Build 42.3 changes, since its only a couple of recipes being added.

What do you mean with "the trait description doesnt show much"? The mod still works in Build 42.3
karolcia 12 Feb @ 2:24am 
and i want to ask is "+10% Corpse grapple effectiveness" the speed of how fast u drag a zombie body?
karolcia 12 Feb @ 2:12am 
oh ok i thought it might be some kind of mistake or something
Quilava 11 Feb @ 11:21pm 
Ah ... now that im noticed, the game is now B42.3, you may want to update the tag, no wonder the trait description doesnt show much :cta_emo10:
Jetmax937  [author] 11 Feb @ 7:46pm 
@karolcia

Polish translation is missing Build 42.1 changes.

"Removed MakeSlugTrap from the Farmer profession bonus recipes; that recipe/item/mechanic didn't manage to make it into the game."

Mod change notes has the list of occupations/traits that were updated.
karolcia 11 Feb @ 11:52am 
im working on polish translation and ive found something that isnt in english version.

In polish there are 8 things pointed out as knowledge for farmer. (line 12)
In english there are 7 things pointed out as knowledge for farmer.
im confused.
KilinhaMartins 8 Feb @ 3:34pm 
The mod is available in the following languages:
BeeBro 6 Feb @ 9:39am 
Must have mod :D Would love to see that also for skill levels
Jetmax937  [author] 2 Feb @ 4:28am 
@I don't believe you.

Reluctant Fighter (Pacifist) does not affect maintenance in B42.
I don't believe you. 1 Feb @ 8:29am 
I think the description for Reluctant Fighter is missing maintenance?
Jetmax937  [author] 29 Jan @ 4:10am 
@ATKToast

The mod only works in Build 42.
ATKToast 28 Jan @ 11:38pm 
This isn't working on my server? Both the MOD ID and name are in the correct place and all other mods are functioning properly but this one is not any ideas?
Jetmax937  [author] 25 Jan @ 6:53pm 
@Luna {ODST}

I havent had the time to update 42.1 patchnotes yet, will do soon!
Claudia {ODST} 25 Jan @ 12:40pm 
Veteran has now been changed again to fully grant full panic reduction as per : https://theindiestone.com/forums/index.php?/topic/78311-4210-unstable-released/
Jetmax937  [author] 12 Jan @ 10:16pm 
@Stupid Sexy Rat

Only B42 vanilla occupations and traits.

Though, the code in the mod updates the character screen, so traits and occupations display their names + descriptions when hovering the mouse over their icons (Occupations need an attached texture for it to work). That should also work for modded traits/occupations.
Stupid Sexy Rat 12 Jan @ 1:07pm 
Does this also work with the More Traits mod or have you just stuck to the vanilla B42 traits?
Jetmax937  [author] 8 Jan @ 4:30pm 
@绿色羽毛球123

Only the text that is between "" must be translated, the rest of the file should be kept intact.

For Chinese, the .txt must be saved in the format of UTF-8.
绿色羽毛球123 8 Jan @ 9:06am 
I tried to translate the files in the description into Chinese and replaced the original files. But only the detailed description of the profession was displayed, and the detailed description of the characteristics was not displayed. I don't know what's wrong with this?
Jetmax937  [author] 6 Jan @ 5:36pm 
@piwergamer23

The mod only works in Build 42, cant think of any other reason for it to not show up, since its basically just a translations .txt

Maybe try re-subscribing to the mod or deleting it manually in the following path:
"\steamapps\workshop\content\108600\3387957272"
piwergamer23 6 Jan @ 4:35pm 
its not popping up on the mods section for some reason
Jetmax937  [author] 2 Jan @ 6:05pm 
@LumberingTroll

There is only a small bit of code in the mod that updates the character screen, so traits and occupations display their names + descriptions when hovering the mouse over their icons (Though for occupations that only works if there is an attached texture to them). That should also work for modded traits/occupations.

Extra information, values and % cant really be obtained dynamically, since the code that references those is in many .java files and they are just methods/math that for most people wont make much sense without an added text explanation.

Knowledge and foraging bonuses were also added manually with the help of some Java to automatically make the format. Im sure that this can be done dynamically, though performance might be slightly affected.

Essentially, the mod is mostly just a translations .txt override.
LumberingTroll 2 Jan @ 8:20am 
Does this pull from professions and traits dynamically, or is it all manually set? Curious if it works for mods that add traits. Im guessing its a manually entered string.
Halcyon Ways 31 Dec, 2024 @ 4:15pm 
Great mod.
Jetmax937  [author] 31 Dec, 2024 @ 3:45pm 
@locheedmax

The mod only works for B42.
locheedmax 31 Dec, 2024 @ 12:46pm 
is this only for B42 or also works with B41?
LeFrench 30 Dec, 2024 @ 4:13am 
thanks for the edification. i had it totally wrong in my head. cheers for that link.
Jetmax937  [author] 30 Dec, 2024 @ 3:41am 
@LeFrench

Grappling has been explained in this Thursdoid:

https://projectzomboid.com/blog/news/2024/04/dya-like-them-grapplez/

For now, it seems to only affect the chance of your character picking up and dragging a corpse.

A higher value makes your character more likely to succeed, so SpeedDemon and Brave would be better (There are more traits that affect this chance, not only the 3 previously mentioned).
LeFrench 30 Dec, 2024 @ 2:29am 
superb mod by the way. thanks for making it.
LeFrench 30 Dec, 2024 @ 2:28am 
sorry, meant to say +15% (i was going off memory). thanks for your interest in, probably quintuple checking at this point. appreciate the code snippet. but isn't that crazy wierd?

Does this mean the zombies have +15% chance to grapple you when you take speed demon?

mmm. i was just considering the context of the snippet. grapple effectiveness seems to be affected by Brave, Cowardly, and Speed Demon, right? so if i'm reading correct, the value increases with Brave and Speed demon, but decreases with Cowardly.

so maybe the brave and speed demon make it harder to be grappled? otherwise this would be being cowardly is increasing your chances not to be grappled? what do you think? how would you interpret this? which ones are the 'positive' benefit in grappling situations? Brave and Speed Demon.... or Cowardly?
Jetmax937  [author] 29 Dec, 2024 @ 3:43pm 
@LeFrench

Speed demon actually has a +15% corpse grapple effectiveness!

If you want to verify for yourself, you will need to decompile the following file:

Project Zomboid\zombie\characters\IsoGameCharacter.java

Line 7402:
public float calculateGrappleEffectivenessFromTraits() {
float var1 = 1.0F;
if (this.Traits.Brave.isSet()) {
var1 *= 1.1F;
}

if (this.Traits.Cowardly.isSet()) {
var1 *= 0.9F;
}

if (this.Traits.SpeedDemon.isSet()) {
var1 *= 1.15F;
}

return var1;
}

Here is the code snippet, obviously not all traits have been listed here, just showing where SpeedDemon is and two other examples.
LeFrench 29 Dec, 2024 @ 12:14pm 
i know you said you are getting the values from inside the game files.... but are you sure on what you are reading? speed demon has +10% to zombie grapple? surely that is... wtf? :)
_MilkTea_Doo_ 29 Dec, 2024 @ 1:31am 
Thank U :)
Jetmax937  [author] 28 Dec, 2024 @ 6:31pm 
@emmmbomb Yup, it only gives skill points at the moment.
emmmbomb 28 Dec, 2024 @ 7:53am 
really nothing for livestock farmer though? other than the skill points? im gonna keep taking it anyway :3
Jetmax937  [author] 27 Dec, 2024 @ 6:06pm 
I believe that for now, most (if not all) descriptions and values have been added and made easier to read.

So translations will be rolling out slowly with the help of AI and online translators (Would be very appreciated if a native speaker could help fix any errors!).

Languages requested at the moment:
- Russian
- Brazilian Portuguese
- Italian
- Polish