Project Zomboid

Project Zomboid

59 ratings
aoqia's toothbrush mod
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
3.141 MB
26 Mar, 2024 @ 10:49am
9 Oct, 2024 @ 6:38pm
7 Change Notes ( view )

Subscribe to download
aoqia's toothbrush mod

Description
This is a toothbrush mod and it's completely open-source.
The idea was from "Madman's Toothpase Emporium" which hasn't been updated in quite some time.

Details
---
- Needs at least a toothbrush to work! Toothpaste is optional and will double the speed of brushing.
- Brush your teeth to reduce unhappyness (-10 only twice a day)! Toothpaste speeds up this process by 2x.
- If you don't brush your teeth at least once a day, you will accumulate an unhappyness buff every day.
- Brushing your teeth for the full amount (default 2 brushes) for (default 10 days) will give you the Golden Brusher trait! This means you only have to brush your teeth half as much!!!
- On the flip side, not brushing your teeth at least once for (default 7 days) will give you the Foul Brusher trait. This means you have to brush twice as frequently.
- The toothbrush moodle will show you how clean your teeth are. This is a direct representation of how much you need to brush your teeth. super dirty means you need to brush your teeth if you care and super clean means you have gained all the benefits of brushing your teeth (and only need to brush more for roleplaying purposes.)
- I will add more here when I can think.

To visualise the daily effect formula, I have created simple desmos graph: https://www.desmos.com/calculator/awdp9rmxs8 If you intend to change the exponent value in the Sandbox Options, you should change it in the graph first so you can see how it affects the game.

GitHub repository: https://github.com/aoqia194/AoqiaToothbrushMod
Bug and Feature Tracker: https://github.com/users/aoqia194/projects/5

Workshop ID: 3201961129
Mod ID: AoqiaToothbrushMod
Popular Discussions View All (2)
0
5 Jul, 2024 @ 5:16pm
PINNED: BUG REPORTS
aoqia
92 Comments
aoqia  [author] 24 Dec, 2024 @ 12:11am 
@Shipyard Not updating any of my mods until either B42 gets a full release or gets multiplayer (likely happen before full release anyway). If you want a reason, it's because everyone is in such a hurry to update their mods to B42, that they break half of their mod. Also, anything can change at any time, so I'd much rather to wait for the codebase to be stable before I invest any more time into mods. Especially when I am making some other modding platform, so I wont be able to sustain these mods apart from bug fixes as of now.
Shipyard 22 Dec, 2024 @ 3:39pm 
Hope this gets updated for B42. Very immersive mod.
GestumStage 18 Oct, 2024 @ 9:21am 
В зомбоиде так много безхозных предметов, пора бы это исправить.
Doomzfire-Qc 9 Oct, 2024 @ 11:58am 
Your image is well done nonetheless! Thank you for the mod!
aoqia  [author] 6 Oct, 2024 @ 5:49pm 
Update pushed. I am only human and suck at testing so please let me know if any issues arise, it will be much easier to fix them now.
aoqia  [author] 2 Oct, 2024 @ 2:32pm 
@MobileSuitCleb I am already aware of all of the changes that caused the mod to break. The main thing that was stopping me from just fixing it is that I've already had an update I was working on, so I didn't think about just creating a branch and force-pushing a fix. I am already too deep in the weeds right now to do that, so whatever works for you currently is good enough!
MobileSuitCleb 2 Oct, 2024 @ 11:17am 
Just for context, looks like it was a result of this change for your uitl pack

"Changed

- Prevented file conflicts by renaming folder paths."
MobileSuitCleb 2 Oct, 2024 @ 10:30am 
@aoqia I've managed to figure out what was causing the mod not to work, it wasn't a compatibility issue. Basically just a typo in "mod_constants.lua" & "context_menu.lue".

"mod_constants.lua" line 5, needs to be changed from
local logger = require("AoqiaZomboidUtils/logger")
to
local logger = require("AoqiaZomboidUtilsShared/logger")

"context_menu.lua" line 25, needs to be changed from
local constants = require("AoqiaZomboidUtils/constants")
to
local constants = require("AoqiaZomboidUtilsShared/constants")

logger.lua wasn't being loaded properly due to these lines. I've just tested with these changes applied and I'm now able to brush my teeth and keep my survivor happy with pearly whites!
aoqia  [author] 30 Sep, 2024 @ 1:03am 
@Stroomschok That is the intended behaviour. I think I somehow broke the trait and moodle, so please wait for an update.
Stroomschok 29 Sep, 2024 @ 3:49am 
Perhaps not brushing for a long time should build up to the 'bad teeth' trait?