Project Zomboid

Project Zomboid

89 평점
True Music improves Mood
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
파일 크기
게시일
업데이트일
106.907 KB
2023년 10월 10일 오후 1시 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 2025년 6월 21일 오후 4시 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 2025년 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.
2025년 3월 11일 오후 4시 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 2025년 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일 오후 10시 16분 
Also waitting for smoker fix.
Shal 2024년 10월 2일 오후 10시 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일 오후 9시 46분 
You wonderful man. I'll look into applying this soon.
Shal 2024년 10월 2일 오후 9시 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)