Project Zomboid

Project Zomboid

aoqia's toothbrush mod
98 Comments
aoqia  [author] 4 May @ 5:01pm 
@hellomortals I don't think I will be maintaining this mod anymore considering I have moved onto working on more complex things like a Java mod manager for this game, so I will probably not have much time or interest in this mod. It will still remain open source though for anyone who wants to PR.
hellomortals 4 May @ 4:49am 
It would be great if there was an option to not have it be tied to unhappiness, but rather pain levels (cavities) and dirtiness
aoqia  [author] 19 Jan @ 8:50pm 
@Cam3 Oh, if you are talking about a sort of "max brush limit", there shouldn't be one. If you can't brush more than twice, it is definitely a bug; I intended for it to be so you can brush as many times as you want (mainly for roleplay purposes).
Cam3 19 Jan @ 6:22am 
yes please, and remove it by default, as there is no reason for this limit in the first place. let me be weirdo and brush my teeth 1000 times a day
aoqia  [author] 13 Jan @ 5:33pm 
@Cam3 I did think about that, but it isn't currently an option in the mod. I might add it though as a sandbox option.
Cam3 13 Jan @ 2:39pm 
Why can't i brush my teeth anytime i want ? Where can i modify that, i couln't find it in the options
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?
QS 18 Sep, 2024 @ 12:16am 
@aoqia okay I wait forward to the update
aoqia  [author] 17 Sep, 2024 @ 11:50pm 
@Q10 sure, I've got a lot to fix in the code locally before I can push an update, so it will take a little time. Please disable the mod if needed until an update is pushed :D
QS 17 Sep, 2024 @ 6:44am 
The mod doesn't work and it shows a lot of errors. Would you mind checking it?
aoqia  [author] 23 Jul, 2024 @ 4:22pm 
@Anach Toothbrush durability sounds like a good feature.
Limited uses for toothpaste was on my todo list since 1.0.0 but I've never gotten around to it due to the nature of changing the Toothpaste item from a normal item to one which has uses as it is not as simple as changing a line of code.
I have also noted the returning of the toothbrush to the container which it was grabbed from, that will be in the next update.
There should actually be both a positive and negative moodle already, I will have to fix that.
Anach 23 Jul, 2024 @ 12:56am 
After spending time with this mod, I really do like it. There are a few things I'd like to see, if you ever decide to add to it.

Wear and tear on toothbrushes
Limited uses for toothpaste
Returning the objects to wearable containers (it retrieves, but doesn't return)
Brushing, and water audio.
A negative Moodle, for when I haven't brushed that day.
Anach 19 Jul, 2024 @ 12:01am 
@aoqia Neither of those would qualify me. I keep a pretty tight ship, and either remove, find compatibility patches, or fix broken mods myself, when I can. So my error logs are pretty clean. I can say I've not encountered any errors due to conflicts, which would make tracking my issue easier. It's low priority, I just need to spend some time sorting mods, using the 50/50 method, until it works, and see why just those bench top sinks don't work. Everything seems fine.
aoqia  [author] 16 Jul, 2024 @ 10:35am 
@Anach Thanks for your reply. I do note that I don't account for players in split-screen mode or players using controllers purposely, so if those players are using either two then that could potentially be why.
Anach 16 Jul, 2024 @ 12:30am 
Based on it's limited people with the issue, I'd imagine it's a conflict, but as there's no error, it might take some time to find what it is.
aoqia  [author] 14 Jul, 2024 @ 1:38am 
@Anach I do plan to add the bottled water feature. I am not sure about the toothpaste right click entry as I feel like it is similar to a lighter and a cigarette where you right click the item to be used not the accessory (in this example you right click the cigarette and the lighter is the accessory item). If you could find out the issue for sinks, that would be great as currently on my end with just the mod enabled and its dependancies, I can brush on all sinks in the game, even baths. I will have to test wells when I get the chance though as I've never done it.
Anach 13 Jul, 2024 @ 8:15pm 
@aoqia. I have a lot of mods installed, but when I mean any water source, I mean even bottled water. I'd also expect to see the option on the brush or paste. However, aside from possible features, I do have the same issue as MogMog, in that it only currently works on freestanding sinks, not counter-top sinks. I haven't got as far to try a well, but I will when I'm next near one. If the counter-top sink issue is a conflict, I'll see if I can find the problem.
aoqia  [author] 13 Jul, 2024 @ 5:47am 
@Anach All of what you said I agree with. This was my first mod, so I do understand what you mean by how the moodle isn't very well thought out. I have thought about how hard it is for the user to understand what the mod does just from dot points in the workshop description which doesn't help anyone that wont read any more than 2 sentences.

By the way, can you please tell me if you have any mods installed while playing with mine? You should in theory be able to brush your teeth with *any* water source that isn't specifically a washing machine, dryer or washer/dryer combo. I cannot replicate this on my end and am able to brush teeth with any source that isn't the specifically excluded ones. People keep bringing this bug up but due to the fact that I cannot replicate it, I do not know how to fix it.

I do recursively find and transfer the toothbrush and toothpaste from backpacks and the like as of now, though I forgot to put them back so I am glad you bring it up as I will fix that.
Anach 12 Jul, 2024 @ 10:15pm 
Cool mod. I was a little confused over the Moodle to start with, as it seems to me that it should be there permanently, to give a constant status and reminder. There's one feature I'd like to have, and that's if it could automatically place the tooth brush and paste back into the container they're automatically retrieved from. Also, we should be able to brush our teeth from pretty much any water source.
aoqia  [author] 1 Jul, 2024 @ 8:08am 
@MogMog Thanks for pointing this out.
MogMog 30 Jun, 2024 @ 3:58am 
The brush teeth option isn't showing up in the context menu when right clicking on sinks that are on counter tops. but I'll get it on the non counter top sinks,toilet and baths/showers.
aoqia  [author] 14 Jun, 2024 @ 7:07pm 
Since I am so short of time recently, this mod has kind of been at a standstill for some time; not to mention the reset of my computer (luckily GitHub saved me there :D).

I am currently in university doing a bachelors full time, so I don't have all the time in the world. The project will *always* be on GitHub and open-source so you can always check it out and modify it!

I will be performing bug fixes where needed as of current. Compatibility comes second but I can still try and add support if any incompatible mods have been found.
aoqia  [author] 14 Jun, 2024 @ 7:01pm 
@porkycorky Can you reproduce any issues (if you are to use those types of mods with this one)? They shouldn't have any incompatibilities with each other unless the author of those said gun maintenance mods specifically change something about the Base.Toothbrush, which would make this a per-mod compatibility update and not a bugfix.

Taking that into account, I will be adding compatibility whenever it is needed.
porkycorky 12 Jun, 2024 @ 6:57am 
possible conflict with gun maintenance mods as you can use a toothbrush to clean weapons
aquelarrefox 8 Jun, 2024 @ 8:43pm 
i have the same issue, im not sure cose i was on hopefalls a moded map, i could wash in teh sink but i could do it in the toilet.
you should brush from a water bottle?
aoqia  [author] 2 Jun, 2024 @ 8:36am 
@Manterok I have no idea why this is happening. I cannot replicate it at all and I am not sure why it would work like that. All I do is perform checks inside the right click menu to make sure you are clicking on an object that stores water and that it isn't a washer or dryer (or combo washer dryer) and it should let you.
Manterok 28 May, 2024 @ 3:42pm 
To you guys saying the "Brush Teeth" isn't showing up, I was having the same issue also, and it was pissing me off. I was trying to click on the sink, and then the tooth brush in my inventory, and got nothing. I had done it before, and now it wasn't working, BUT I right-clicked my character, and the option showed up. I don't know what y'all are clicking on, but try that if you haven't yet. I did it multiple times to success. Hope this helps.

And thanks aoqia for this mod.
Bitterman 27 May, 2024 @ 7:18pm 
@Пампкерино Theres the mod "Dirtiness Sickness" that do something similar.
Equil 26 May, 2024 @ 2:24am 
Having same issue as below. Toothpaste and brush in inventory and no context menu will show up. Started a test save with nothing but cheat menu and this mod enabled(with the pre-requisites) and still won't appear
aoqia  [author] 25 May, 2024 @ 5:08am 
@Пампкерино As a trait, that would be cool I think.
Пампкерино 25 May, 2024 @ 4:34am 
Now we need someone to make a mod that makes you sick/filthy when you are bloody, or wear bloody clothes or even smelly clothes... the perfect enviroment for people with OCD :roland:
aoqia  [author] 16 May, 2024 @ 12:52am 
@HAR93 Are there any other mods that would modify the toothbrush? There probably wouldn't be anything of use in the logs that I can think of. If searching toothbrush in the console.log file only shows similar entries to the ones you posted a couple replies ago, it's of no use.
HAR93 15 May, 2024 @ 10:44am 
@aoqia well where can i find any error logs that could lead me to the problem? guess it could be one out of the 750 mods i got running at once :.(
aoqia  [author] 15 May, 2024 @ 9:56am 
@HAR93 I have done some testing and cannot get it to replicate. Do know that you can't use water from a washer, dryer or combo washer dryer!
aoqia  [author] 15 May, 2024 @ 8:44am 
@HAR93 That is fine and shouldn't break anything for now.
HAR93 15 May, 2024 @ 8:09am 
@aoqia, i also found a recipe (through recipe helper) that "recycles" the toothbrush into plastic, the mod responsible for that is ammo maker
https://imgur.com/a/Pc1fwhR
aoqia  [author] 15 May, 2024 @ 5:15am 
@HAR93 It seems from those logs, the mods are conflicting somehow. AoqiaToothbrushMod changes the category for the Toothbrush and Toothpaste to First Aid as I wasn't sure whether to put it first aid because of cleaning or as the category of say the bath towel. I will do some testing with those 3 mods listed to see if I can replicate.
HAR93 15 May, 2024 @ 5:12am 
@aoqia im looking through the console.txt thingy and i did the find keyword for brush. 3 mods kept showing up.
1. [LitteringB41] Base.Toothpaste: Tooltip, Can be used with a toothbrush to brush your teeth.
[LitteringB41] Base.Toothbrush: Tooltip, Can be used to brush your teeth.

2. [BetterSortCC] Base.Toothpaste: Tooltip, Can be used with a toothbrush to brush your teeth.
[BetterSortCC] Base.Toothbrush: Tooltip, Can be used to brush your teeth.

3. [SimpleOverhaulBladesAndSpears] Base.Toothpaste: Tooltip, Can be used with a toothbrush to brush your teeth.
[SimpleOverhaulBladesAndSpears] Base.Toothbrush: Tooltip, Can be used to brush your teeth.

also both tooth brush and paste are in the "first aid" category. wondering if any of those might be causing the issue
aoqia  [author] 15 May, 2024 @ 5:06am 
@HAR93 That is weird. You should be able to just select the "Brush Teeth" option in the context menu, but if it isn't showing up, I assume that it's not finding the toothbrush for whatever reason. If the toothbrush is not the Base.Toothbrush (vanilla game one) then it will not find it. Toothpaste is optional too.
HAR93 15 May, 2024 @ 3:56am 
how do you brush your teeth with this mod? do you need a mirror or something? i got a toothbrush and toothpaste but i dont see any option to "brush teeth" when left clicking...
aquelarrefox 10 May, 2024 @ 9:48am 
thats looks fine to me