Project Zomboid

Project Zomboid

Trait Magazines
36 条留言
Ichinin  [作者] 8 月 20 日 下午 4:10 
FYI: TraitMagUnlucky/TraitMagLucky have been fixed in these Trait mods.
minami26 2024 年 10 月 22 日 上午 6:28 
finally found the reason why the lucky magazine wouldnt spawn.
its because in the distribution file you set it to "Base.TraitTraitMagLucky" instead of just TraitMagLucky. hope you'll fix it 🙏🙏
Ise 2024 年 8 月 21 日 下午 1:54 
Thanks for your answer !
Well, thats true ahah, but I was still wondering because it slightly "spoils" the loot table if i find one mag' i find too op to use :steamhappy:
Ichinin  [作者] 2024 年 8 月 21 日 上午 7:57 
@Ise the best way is to practice self restraint and don't use the things you find OP.
Ise 2024 年 8 月 21 日 上午 7:37 
Awesome mod, I was searching for replacement since the mods for unconspicuous, organized and graceful magazines I use were strangely removed..
I just wonder if, is it possible to desactviate some magazines of my choice if i find them to OP ?
Thanks for your answer !
j01ntarush 2024 年 7 月 25 日 上午 3:41 
You're the man!!! Many thanks for doing this!
Ichinin  [作者] 2024 年 7 月 24 日 上午 9:58 
And yeah, i caved and made two separate mods: it took less time to just clone the mods and add two different item distributions than to write the item distribution scripts with sandbox variables.
Ichinin  [作者] 2024 年 7 月 24 日 上午 9:56 
There is now a second version of this mod included in the download that is called NOSPAWN, this version does not spawn items into the magazine racks, but can be used for RP or other purposes like some have been requesting.

Important is: ONLY USE ONE VERSION OF THE MOD - NOT BOTH.
Ichinin  [作者] 2024 年 7 月 24 日 上午 7:01 
Sandbox or Modoptions (less good) are the only way to do this without creating lots of work.

Item distribution files can read Sandbox parameters before they do their thing and can just exit if a boolean value is set to zero so no books becomes distributed into containers.

Setting item distribution to 0.0 would require me to create a whole new mod and that means two things i have to maintain.

If you have the mod active, you have to remove it, then add it back, set sandbox (distribution) variables to disabled, then start the game again, so the content gets updated.

That means that if any players have trait magazines, they will disappear. If they have applied the traits already, the traits will stay active on the player characters though.
j01ntarush 2024 年 7 月 24 日 上午 6:46 
@Ichinin isn't there a way in the lua somewhere to just set the spawn rate to 0.0 or delete the lines associated with the items spawnrate? I don't necesarrily want a sandbox option for it if it can be done in any other way. Thanks for your quick response.
Ichinin  [作者] 2024 年 7 月 24 日 上午 6:39 
@j01ntarush there is no such option right now, but the question has been raised earlier (just below your comment). I'll think about it, probably something with Sandbox Variables can be done.
j01ntarush 2024 年 7 月 24 日 上午 6:03 
hey, how can i disable these magazines from spawning? I want to make them purchaseable in the shop we got.
Ichinin  [作者] 2024 年 5 月 16 日 上午 9:43 
@RangerZero2, go nuts - do what you want.
RangerZero2 2024 年 5 月 16 日 上午 9:23 
I would be all over this if I can change the spawn rate and also block it completely. I would love to spread such books myself on my server for my players to find
Ichinin  [作者] 2024 年 5 月 11 日 下午 11:16 
@Ryan Try it and report back. As mentioned, this only add/remove traits to your character, it doesn't do anything else. It shouldn't collide with anything else.
Ryan 2024 年 5 月 11 日 下午 2:48 
is it compatible with dynamic traits?
Urban 2024 年 5 月 10 日 上午 6:53 
Amazing. thank you
Ichinin  [作者] 2024 年 5 月 10 日 上午 4:14 
Latest update: I've added Lucky and Unlucky to the trait mods, but as i only play Multiplayer (hosted locally), i have no way to test the out.
Ichinin  [作者] 2024 年 5 月 10 日 上午 3:43 
@gibo122 I probably can. I just haven't done it because i'm mainly focused on MP and that trait doesn't work in MP, and i use a MP server to test out my mods.

But i can see what i'll can do. Sit tight for a few days.
Urban 2024 年 5 月 10 日 上午 3:09 
can you add Luck to the positive trait?
Ichinin  [作者] 2024 年 5 月 8 日 下午 10:37 
@aquelarrefox No, for now i don't even know how some of those work. You can chose a trait, and then live up to the trait in question. It would require lots of coding to properly set the character properties according to the traits.
aquelarrefox 2024 年 5 月 8 日 下午 7:55 
for example in negative traits you have some that are dinamics like obese, could you make a reduced version with the traits that make sense that come from a magzine (deft for example)
Ichinin  [作者] 2024 年 5 月 8 日 下午 3:00 
@aquelarrefox Positive Traits and Negative traits are two different, separate mods already.
aquelarrefox 2024 年 5 月 8 日 上午 11:50 
is posible to split both mods. im not satisfice with removing deft or obese. so you have the option of not have traits for dynamic or things that could not be solved light deft (mitigated by the earasist mod)
Ichinin  [作者] 2024 年 5 月 8 日 上午 10:46 
For people who also want Negative traits too, I've released a new mod for that: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3242336824
Ichinin  [作者] 2024 年 5 月 8 日 上午 3:26 
@GummiGamer tested it now, and if you have a negative trait like Sunday Driver, adding Speed Demon trait will not have any effect whatsoever.

I've considerered making anotbher mod with just negative traits that allow you to turn then on/off as well, like @UnmaskedMask suggested.
Ichinin  [作者] 2024 年 5 月 7 日 下午 10:30 
@GummiGamer I really don't know. This just flips traits on/off so i think you would have both traits. I haven't added any checks if a counter-trait is active. YMMV.
GummiGamer 2024 年 5 月 7 日 下午 2:55 
Hey, question, say I take Sunday Driver and find the Speed Demon magazine, does it remove Sunday Driver when I read it and replace it with Speed Demon or are both traits now active. I assume the same situation for Iron Gut/Weak Stomach and Organized/Disorganized.
TwoFacedComedy 2024 年 5 月 7 日 上午 10:53 
Wow, thank you! To be honest, this is really nice act (to do something which random asked) :cleandino:
Ichinin  [作者] 2024 年 5 月 7 日 上午 9:32 
NEW: You can now toggle traits on and off by reading the same magazine again. It will work with all trait magazines in this mod.
Ichinin  [作者] 2024 年 5 月 6 日 上午 10:52 
@unmasked: If you want to create it yourself, here is the mod source in a .zip. Should be easy enough to modify the files to get what you want: https://github.com/ProIntegritate/Gaming/tree/main/Mods.ProjectZomboid
TwoFacedComedy 2024 年 5 月 6 日 上午 9:43 
Anyway, nice idea and realisation!
Ichinin  [作者] 2024 年 5 月 6 日 上午 8:31 
@Unmasked Currently not in this mod.
TwoFacedComedy 2024 年 5 月 6 日 上午 8:20 
It's strange, but is there a chance that there will be magazines which will have antitrait effects? Like, what if I'll want to became an invalid (again) after being ultrabuffed? :cleandino:
Ichinin  [作者] 2024 年 5 月 6 日 上午 7:31 
Download a mod for that. I just make the magazines.
hyuwee 2024 年 5 月 6 日 上午 6:41 
How to read fast