Project Zomboid

Project Zomboid

89 人が評価
True Music improves Mood
   
アワード
お気に入り
お気に入り
お気に入りから削除
ファイルサイズ
投稿日
更新日
106.907 KB
2023年10月10日 13時36分
2023年11月7日 9時45分
9 項目の変更履歴 ( 表示 )

サブスクライブしてダウンロード
True Music improves Mood

解説
Music lowers stress, boredom and unhapiness. ~ now with 100% more sandbox options!
Fork of Poltergeist's mod with some new features.

The effects are triggered every 10 in game minutes while listening to True Music.
Adjust your settings as needed. Default balancing expects a 1 hour day.
Can be safely added/removed with existing saves.

Optional Modifiers:
- Boredom
- Happiness
- Stress
- Panic
- Fatigue
- Pain (Reduction only)

If you want to disable something, set it to zero.

If zomboid ever adds Morale/Sanity this will get an update too.

Workshop ID: 3048902085
Mod ID: TrueMusicMoodImprovement
37 件のコメント
T I L T 6月21日 16時42分 
Could you please update this to fix the bug with the Smoker trait? Half of the people on our server run that trait and we'd love to use this mod, but it causes us to go through our cigarettes way too fast.
The Stellar Engineer 5月9日 8時26分 
Can confirm Shal's bug report! The mod only makes a check if noise is being played aloud. If youre using headphones it wont make a check until you make noise. Perhaps the mod could instead check if the player can hear it instead of if the player is making noise? Im not sure.
3月11日 16時22分 
god tier mod that improves immersion by 1000%. so good it should be in the base game
D R V A P O R 2月24日 8時32分 
works real nice. But doesn't work with the true music radio mod i don't think. will still work with tapes and vinyls tho
Shal 2024年10月10日 12時29分 
Are you using any other mods that reduce stress? I found the same issue with several others.
Baleur 2024年10月10日 6時19分 
Nope, applied the fix and im still getting max stress.
Baleur 2024年10月9日 22時16分 
Also waitting for smoker fix.
Shal 2024年10月2日 22時01分 
Also found a different bug in this mod: if you're listening to a music player with headphones, you don't seem to be creating any world sound, so this mod only triggers when your character does something else that makes noise. If you're just standing around listening to music from the player, or listening while you read, this mod has no effect. You'd need to shout every ten minutes to get it to make its check.
Zenith  [作成者] 2024年10月2日 21時46分 
You wonderful man. I'll look into applying this soon.
Shal 2024年10月2日 21時23分 
Nope, the bug is real. I've been experiencing the same issue with music maxing out stress, so I checked it out in debug mode. I figured out how to recreate the smoker stress spike bug running only this mod, its dependencies, and a music library mod, and how to fix it.

I'm not sure if it's a bug in the base game or just unexpected a badly named function, but when you use setStress(), you are actually setting the stress to the sum of the given stress value and the character's current stressFromCigarettes. So if the character has 0.5 stressFromCigarettes and you try to setStress to a value 0.1 lower than the current stress, you end up increasing it by 0.4 instead.

So you just need to change

stats:setStress(stats:getStress() - SandboxVars.TrueMusicMoodImprovement_stressMod)

to

stats:setStress(stats:getStress() - stats:getStressFromCigarettes() - SandboxVars.TrueMusicMoodImprovement_stressMod)