Project Zomboid

Project Zomboid

评价数不足
Trait Magazines
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
354.208 KB
2024 年 5 月 5 日 上午 2:59
8 月 17 日 上午 11:50
9 项改动说明 ( 查看 )

订阅以下载
Trait Magazines

描述
*** NEW: You can now toggle Traits ON and OFF by reading the same magazine again. (and on, and off, and on and off.. you get it) ***

So, i tried the "Nutritionist Magazine" by Darksider BR. Nice mod, but i wanted more. So here it is.

(The code for reading books was borrowed from DS mod so all credits go out to him for that).

There are currently Trait books for the following:

- Speed Demon
- Dextrous
- Fast Reader
- Outdoorsman
- Iron Gut
- Brave
- Graceful
- Inconspicuous
- Light Eater
- Nutritionist
- Organized
- Low Thirst
- Desensitized
- Resilient
- Adrenaline Junkie
- Athletic
- Cats Eyes
- Eagle Eyed
- Fast Healer
- Fast Learner
- Keen Hearing
- Thick Skinned
- Wakeful
- Night Owl
- Lucky

They can be found where magazines are usually found. Try gas stations, bookstores and shopping malls.

FYI: Distribution chance roll for all magazines in any container is set to 0.7. They are kind of easy to find as each of them that gets a roll, but it is up to you to practice restraint. You can always re-read a book again to undo the trait if things becomes too unbalanced.

So, you want to test them out? These items are added:

/additem Base.TraitMagSpeedDemon
/additem Base.TraitMagDextrous
/additem Base.TraitMagFastReader
/additem Base.TraitMagOutdoorsman
/additem Base.TraitMagIronGut
/additem Base.TraitMagBrave
/additem Base.TraitMagGraceful
/additem Base.TraitMagInconspicuous
/additem Base.TraitMagLightEater
/additem Base.TraitMagNutritionist
/additem Base.TraitMagOrganized
/additem Base.TraitMagLowThirst
/additem Base.TraitMagDesensitized
/additem Base.TraitMagResilient
/additem Base.TraitMagAdrenalineJunkie
/additem Base.TraitMagAthletic
/additem Base.TraitMagCatsEyes
/additem Base.TraitMagEagleEyed
/additem Base.TraitMagFastHealer
/additem Base.TraitMagFastLearner
/additem Base.TraitMagKeenHearing
/additem Base.TraitMagThickSkinned
/additem Base.TraitMagWakeful
/additem Base.TraitMagNightOwl
/additem Base.TraitMagLucky

Workshop ID: 3239899439
Mod ID: TraitMagazines
Mod ID: TraitMagazines-NOSPAWN
热门讨论 查看全部(3)
0
8 月 17 日 上午 4:44
TODO's: (Do not comment in this thread, for personal notes).
Ichinin
0
2024 年 7 月 1 日 下午 11:17
Adding the mod to an existing savegame.
Ichinin
0
2024 年 5 月 8 日 上午 7:57
FAQ
Ichinin
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.