Project Zomboid

Project Zomboid

Gyde's Trait Magazines
329 Comments
Gyde  [author] Sep 20 @ 11:52pm 
@le criminologue If you have a "bad trait" like Sunday Driver, reading the magazine will replace the bad trait with the positive version, Speed Demon. There is a sandbox setting to only allow you to only remove the trait if you think replacing is too strong. I might work on another setting soon that needs 2 magazines to clear and add the trait. :guineapig:
le criminologue Sep 20 @ 5:16pm 
Hello, i do not understand the part about "bad trait", will i have a bad trait by learning a skill via the magazine ? thanks for your answer, the mod looks amazing, great thought
Gyde  [author] Sep 17 @ 5:19am 
That would be great, thanks!
Gojita Sep 17 @ 4:03am 
@Gyde: My players didn’t point out specifics, just mentioned finding multiple copies of the same mags while looting in different places in the world. I might get back to you on that if I have further info.
Gyde  [author] Sep 17 @ 3:53am 
@Gojita I have previously used debug tools in Zomboid to compare the spawn rates of my magazines with the vanilla rare magazines like the How to Use Generators and Herbalist, so some magazines are already balanced to vanilla. A global rarer spawn rate would make those already balanced magazine much more rare than they should be.

I might have missed a few spawn points when balancing the spawn rates for each magazine which is why I would appreciate if people could let me know which magazines are appearing more frequently than they should be and if possible where they appear at so I can tweak them. :spiffo:
Gojita Sep 17 @ 3:07am 
@Gyde: I mean, not a specific/area spawnrate option, more like a general setting for ALL magazines in the whole map, even lower than your "rarest" preset.
Gyde  [author] Sep 17 @ 2:53am 
@Gojita The issue is that each magazine has a bunch of possible spawn points (roughly 10-13 for each), some spawn points appear much more than others (like school desks for example), so to properly balance it I need to lower that spawn rate for that specific spawn point for the magazine type.

Unfortunately, I can't give an option to change each spawn point for each magazine as there are simply too many spawn point and magazines (there would need to be an option for each magazine and every spawn point individually). So if I get feedback that one magazine type like Fast Learner is being found much more commonly than others in school desks for example, I can turn the base rarity down to balance it. :ReeneAHA:

Another option is to modify the mod files themselves and adjust the base spawn rate in lua > server > items > GydeTraitMagazines_Distribution, explored chunks won't change but it will affect spawn rates of unloaded chunks.
Gojita Sep 17 @ 1:07am 
@Gyde: In 4–5 hours of playtime he found around 5~7 trait book/mag, some of them are duplicates, across multiple towns (because we use multiple map mods), it's more of a balance issue rather than technical, so I’d really like an option to manually tweak spawnrate since the presets don’t suit my server for the time being.
Gyde  [author] Sep 17 @ 12:54am 
@Gojita Could you ask which type of magazines are being found and where they are found in? I could tweak the magazine spawns individually as for example Fast Learner spawns in school desks and there are many desks in each school, I've adjusted it before but I can lower it if it's still an issue.
Gojita Sep 16 @ 11:08am 
@Gyde: I love this mod my friend, but please add a setting that allow server owners to tweak the settings in %numbers rather than the current preset, on my server, even when I set it to rarest, my members still report that they have found around 5-7 trait mag in only couple of hours.
Fasterman5 Sep 13 @ 8:02pm 
This is probably my fault, but I'm playing on Apocalypse and decided not to wait until six days passed in order to read a couple of the magazines (I only saw the Workshop slide afterwards). Unfortunately, even after trying to read the magazines again after the six day requirement I still cannot get the traits for the ones I already used. I tried a magazine for a different trait afterward which worked so at east the intended mechanic is working as intended.

My save might be messed up now though so I may need to make a new one.

(Long story short, wait the six days. It may soft lock your character if you read them early. I know that it is already shown on the slides, but it might be a good idea to put it in the description as well.)
VillbliTårta Sep 13 @ 11:11am 
un-saves sandbox options everytime i start up the game
JJ Sep 12 @ 5:47pm 
You should add a insanely rare option that's twice as rare as 'very low'
Gyde  [author] Sep 11 @ 4:29am 
@Marz Yep, totally alright! I actually encourage people to look and reuse code from this mod to improve or add on to it. :spiffo:
Marz Sep 11 @ 2:32am 
I ask for permissions since I may have to look at your code and use some of it.
Marz Sep 11 @ 2:32am 
If its OK, I will work on a add-on to your mod to cover some other traits, and possibly add compatibility to some of the most popular trait mods when they come out to version 42.
Fabrizio Sep 10 @ 2:24pm 
Please tell me how to make the positive perk appear when I read the second copy of the magazine. I have the disappearing feature enabled, and when I find the same magazine, it says 65/65 pages, and when I read it, it just disappears without any result. The feature that removes the negative perk and immediately gives a positive perk is too much of a cheat.:steamhappy:
popka79 Sep 8 @ 11:52am 
how do i reset chunks?
chrisdasp Sep 4 @ 2:11am 
I know it's based on luck, but after the first run I got 4 or 5 magazines in the spawning building being the city hall. It seems to be very easy somehow and I felt cheating... Maybe with lower spawn rate it's better?
sexter morgan Aug 31 @ 2:26pm 
would appreciate mod compatibility with other trait mods if possible
블코드 Aug 29 @ 12:54pm 
정말좋은모듴ㅋㅋ
Klokinator Aug 6 @ 9:48pm 
I actually like Lucas's idea a lot. Making them consumable but usable multiple times would be a good change. Specifically as a toggle though, not as default behavior.
ladyteruki Aug 4 @ 11:39am 
Such a great mod ! It makes me think differently about some traits, and sometimes make the risky bet of picking a bad vanilla trait in hopes of finding the magazine ! It has really changed the kind of traits I pick and allowed me to switch things up more. Does anyone know whether someone actually made a spin-off mod of magazines for modded traits ? I can't seem to find any but maybe I'm not using the right search words. Links would be appreciated, if there are any.
lukAs Aug 4 @ 6:02am 
@Gyde

Oh understood. In my playthrough I made the spawn rate very low and the magazines to be consumable, so in my mind it would make sense to gain the positive trait if I found the same magazine a second time given that's a very low chance of happening, not necessarily just free points.

Maybe this could be a setting?
Gyde  [author] Aug 3 @ 11:24pm 
@lukAs This was actually intentional as I wanted to give people an option to cure negative traits but be unable to gain the positive trait if they started with the negative one so there's still some reason to not pick a negative trait at the start for free points.

The option to replace is for those who want to cure it and gain a positive trait as well. :spiffo:
lukAs Aug 3 @ 10:18am 
There's an issue if you start with a negative trait and use the magazine to gain the positive counterpart (not using the sandbox setting to replace). When you read the magazine you lose the negative just fine, but if you read it again you're not gaining the positive.

Found that this is due to an inverted condition on code in GydeTraitMagazines.lua line 83

if not modData["StartedWith" .. traitData.negative] or sBvars.ReplaceTraits then
traits:add(traitData.positive)

Should be

if modData["StartedWith" .. traitData.negative] or sBvars.ReplaceTraits then
traits:add(traitData.positive)
Sideroht Jul 16 @ 2:58pm 
just some to read when I walk and one that changes the icons on books
LionelCG Jul 16 @ 1:03pm 
@Sideroht interesting. I changed the setting even after reading the book and directly jumped from bad to good trait. Maybe you have some other mods manipulating books?Just a wild guess.
SwaggyBadger Jul 15 @ 9:02pm 
sandbox settings did not appear for me
Sideroht Jul 15 @ 7:10pm 
@LionelCG Yes, I did it, that’s why it feels strange to me.
LionelCG Jul 15 @ 2:24pm 
@Sideroht there is a setting for that. Check for sandbox settings in the mod description.
Fred Jul 15 @ 1:14pm 
more traits please, tailoring, butchering, artisan, masonry, whittlery etc
Sideroht Jul 15 @ 1:28am 
Hi, I don't know if it's because of an error in my game or something, but it doesn't give me the new trait by changing a negative one :( it only removes it but nothing more
Alpha Gamer Jul 12 @ 3:05am 
will you expand on doing the "more traits" mod? as like a sub mod or anything? theres a lot of cool traits in there which would be a great addition
Gyde  [author] Jul 6 @ 12:44pm 
@PhilosophyGaming I believe skill recovery journal only saves your experience in skills and not the traits themselves.
PhilosophyGaming Jul 6 @ 10:36am 
Do you know if the Skill Recovery Journal mod will retain traits gained as well?
jack6419 Jun 27 @ 4:08am 
awesome mod feels like organic/lore friendly way of upgrading your character has you still have to find them and they take time to read
Loccatpowersdog Jun 23 @ 4:22am 
Yes @ LionelCG you have to read/find it twice... came on here to note that in-case you do don't read one while the other is also in your inventory! Just got rid of slow-learner & had a 2nd magazine to try & gain fast-learner but finishing one magazine "ate" both. Will debug my 2nd copy but if your in this situation just leave the 2nd copy on shelf till you're done with the other.
LionelCG Jun 20 @ 3:20pm 
How does this work? If I set the setting to loose the negative trait only, do I have to find the same magazine twice to gain the positive trait? Does anyone know?
Sideroht Jun 19 @ 12:47pm 
Hola, se puede configurar en un servidor local? No me sale la opcion en sandbox
galesdeloscien Jun 14 @ 5:03am 
this is one of my favourites tbh.
Texican Jones Jun 4 @ 8:00am 
not 100% sure but I've searched like 20 gas stations, all schools in west point taylorsville, muldarugh and rosewood, all the books stores in in those cities and like over 200 houses and i still have not found the book "art of speed reading"...
Blessed Mother May 30 @ 12:13pm 
@Ruute
@Fred
Go to 108600\3342191739\mods\GydeTraitMagazines\42\media and open up sandbox-options.txt. In option GydeTraitMags.SpawnRate modify the default value to lower than 0.1, and I think that will work. Just make sure to select the Default option in the sandbox settings so you can use your desired value.
RAMMFEUER May 28 @ 11:23pm 
doesn't working, showing error when magazine is used
Fred May 26 @ 1:44pm 
agreed with Ruute, very common and becomes overpowered
Ruute May 19 @ 6:41am 
I'm finding that these magazines are still too common on the lowest spawn rate in the sandbox options. Is there any way to set it even lower? I'm feeling pretty overpowered by the amount that spawn.
NPC May 13 @ 9:52am 
more traits please🙏
snipercrab May 3 @ 5:54pm 
I had to hotfix my modpack cause your mod causes 69420 issues broken mod. Spent 3 hours looking whats wrong. Fix your mod :steamsad: 3 hours i could have spent trying to sleep
Box Lover Apr 18 @ 6:55am 
Lmao, @𝕭

As an infected burger eating american, I was making a reference to the classic TV show catchphrase from"Iron Chef", in which contestants cooked with odd (non-american) ingredients. The french gave us fries and a cool statue, can't be too mad at them.

IDK what a 1091 is, I assume some sort of military division, but it's a strong title.
𝕭 Apr 17 @ 4:50pm 
@"Box Lover"
Excellent ideas, for Brave: "101 tips from 1091 Veterans"

But, Jeeze, Iron Gut being French tho?
I know our French friends eat buttered garden pests as a delicacy are famous for their stank-bum cheddar imitations, and also their breakfast is bread named solely for it's shape... but I don't think we're supposed to say that out loud. As a polite civilisation.
As an Englishman, who is genetically obligated to torment the French - it's not unlike dealing with one's younger siblings. We can be mean to the French, but nobody else can.

Let's call it "Cuisson Basse: Hákarl and Marmite on Chips"
(Entire comment is fun)