# Tooth brush

**URL:** <https://discourse.cataclysmdda.org/t/tooth-brush/4206>\
**Category:** The Lab\
**Created:** [November 25, 2013, 3:08am UTC](https://discourse.cataclysmdda.org/t/tooth-brush/4206 "2013-11-25T03:08:37Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mattamue](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/mattamue/32/186_2.png) [@Mattamue](https://discourse.cataclysmdda.org/u/Mattamue)\
**Post date:** [November 25, 2013, 3:08am UTC](https://discourse.cataclysmdda.org/t/tooth-brush/4206/1 "2013-11-25T03:08:37Z")

</div>

Someone please make this happen. This is as far as I could get in the JSONs and ripping off stuff that I wanted to mimick:

comestibles.json

{  
“type” : “COMESTIBLE”,  
“id” : “tooth\_paste”,  
“name” : “tooth paste”,  
“weight” : 1,  
“color” : “green”,  
“addiction\_type” : “none”,  
“spoils\_in” : 0,  
“use\_action” : “brush\_teeth”,  
“stim” : 0,  
“container” : “null”,  
“to\_hit” : 0,  
“comestible\_type” : “MED”,  
“symbol” : “!”,  
“quench” : 0,  
“heal” : 0,  
“addiction\_potential” : 0,  
“nutrition” : 0,  
“description” : “Mostly water with an abrasive agent, fluoride, and detergent. This tube advertises it can make your teeth strong enough to eat other teeth.”,  
“price” : 170,  
“material” : “plastic”,  
“tool” : “null”,  
“volume” : 1,  
“cutting” : 0,  
“phase” : “solid”,  
“charges” : 50,  
“stack\_size” : 100,  
“bashing” : 0,  
“fun” : 10  
},

iuse.cpp

int iuse::brush\_teeth(game \*g, player \*p, item \*it, bool t) {  
// Requires toothbrush and something to brush with.  
bool alreadyBrushed = (p-\>has\_disease(“clean\_teeth”));  
bool hasBrush = (p-\>has\_amount(“brushing\_apparatus”, 1));  
bool canBrush = (hasBrush || p-\>has\_charges(“tooth\_paste”, 1));  
if (!canBrush) {  
g-\>add\_msg\_if\_player(p,_(“You haven’t got anything to brush with.”));  
return 0;  
} else if (!hasBrush && p-\>has\_charges(“clean\_water”, 1)) {  
p-\>use\_charges\_if\_avail(“tooth\_paste”, 1);  
}  
if (p-\>use\_charges\_if\_avail(“clean\_water”, 1)) {  
p-\>health += 4;  
p-\>thirst += 1;  
if (!alreadyBrushed) {  
g-\>add\_msg\_if\_player(p,_(“You scrub the gunk off your teeth.”));  
} else {  
g-\>add\_msg\_if\_player(p,_(“You brush again and make sure to brush away from the gums.”));  
}  
p-\>add\_disease(“clean\_teeth”, 90);  
} else {  
g-\>add\_msg\_if\_player(p,_(“You need some clean water to rinse with.”));  
return 0;  
}  
return it-\>type-\>charges\_to\_use();  
}

player.cpp

int player::amount\_of(itype\_id it) {  
if (it == “toolset” && has\_bionic(“bio\_tools”)) {  
return 1;  
}  
if (it == “apparatus”) {  
if (has\_amount(“crackpipe”, 1) ||  
has\_amount(“can\_drink”, 1) ||  
has\_amount(“pipe\_glass”, 1) ||  
has\_amount(“pipe\_tobacco”, 1)) {  
return 1;  
}  
}  
}  
if (it == “brushing\_apparatus”) {  
if (has\_amount(“tooth\_brush”, 1)) {  
return 1;  
}  
}  
int quantity = 0;

tools.json

{  
“id”: “tooth\_brush”,  
“type”: “TOOL”,  
“symbol”: “;”,  
“color”: “dark\_gray”,  
“name”: “tooth brush”,  
“description”: “A plastic handle with nylon bristles bunched up on one end. Your teeth will thank you.”,  
“price”: 800,  
“material”: [“plastic”],  
“weight”: 100,  
“volume”: 1,  
“bashing”: 1,  
“cutting”: 0,  
“to\_hit”: -4,  
“max\_charges”: 0,  
“initial\_charges”: 0,  
“charges\_per\_use”: 0,  
“turns\_per\_charge”: 0,  
“ammo”: “NULL”,  
“revert\_to”: “null”,  
“use\_action”: “brush\_teeth”  
},

item groups.json

},{  
“type”:“item\_group”,  
“id”:“softdrugs”,  
“items”:[  
[“tooth\_brush”, 50],  
[“tooth\_paste”, 50],  
[“bandages”, 50],  
[“1st\_aid”, 35],  
[“vitamins”, 75],  
[“aspirin”, 85],  
[“caffeine”, 25],  
[“pills\_sleep”, 15],  
[“iodine”, 5],  
[“dayquil”, 70],  
[“nyquil”, 70],  
[“disinfectant”, 35],  
[“vaccine\_shot”, 10],  
[“protein\_powder”, 15],  
[“caff\_gum”, 10],  
[“nic\_gum”, 25]  
]  
},{

iuse.h

int brush\_teeth (game \*g, player \*p, item \*it, bool t);

---

<div class="post-metadata">

**Author:** ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)\
**Post date:** [November 25, 2013, 3:15am UTC](https://discourse.cataclysmdda.org/t/tooth-brush/4206/2 "2013-11-25T03:15:32Z")

</div>

What effects would “clean teeth” have?

---

<div class="post-metadata">

**Author:** ![deadmerits](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/deadmerits/32/19_2.png) [@deadmerits](https://discourse.cataclysmdda.org/u/deadmerits)\
**Post date:** [November 25, 2013, 3:18am UTC](https://discourse.cataclysmdda.org/t/tooth-brush/4206/3 "2013-11-25T03:18:15Z")

</div>

Minty fresh breath for breathtaking NPC interaction.

---

<div class="post-metadata">

**Author:** ![FunsizeNinja123](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/funsizeninja123/32/118_2.png) [@FunsizeNinja123](https://discourse.cataclysmdda.org/u/FunsizeNinja123)\
**Post date:** [November 25, 2013, 3:38am UTC](https://discourse.cataclysmdda.org/t/tooth-brush/4206/4 "2013-11-25T03:38:07Z")

</div>

SHARPEN THE TOOTHBRUSH

---

<div class="post-metadata">

**Author:** ![Mattamue](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/mattamue/32/186_2.png) [@Mattamue](https://discourse.cataclysmdda.org/u/Mattamue)\
**Post date:** [November 25, 2013, 3:43am UTC](https://discourse.cataclysmdda.org/t/tooth-brush/4206/5 "2013-11-25T03:43:10Z")

</div>

I meant it to prevent endlessly re-using the toothbrush for the health benefit. Once you have clean\_teeth you can’t make them any cleaner

---

<div class="post-metadata">

**Author:** ![EkarusRyndren](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/ekarusryndren/32/80_2.png) [@EkarusRyndren](https://discourse.cataclysmdda.org/u/EkarusRyndren)\
**Post date:** [November 25, 2013, 3:44am UTC](https://discourse.cataclysmdda.org/t/tooth-brush/4206/6 "2013-11-25T03:44:10Z")

</div>

> [@Kevin Granade](#):
>
> What effects would “clean teeth” have?

Even scary monsters don’t have plaque Kevin. Get with the times. Haven’t you seen the movies? EVEN IN THE APOCALYPSE EVERYONE HAS WHITE TEETH THAT COULD TAKE THE WHITE OUT OF FRESH SNOW.

---

<div class="post-metadata">

**Author:** ![KA101](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@KA101](https://discourse.cataclysmdda.org/u/KA101)\
**Post date:** [November 25, 2013, 5:17am UTC](https://discourse.cataclysmdda.org/t/tooth-brush/4206/7 "2013-11-25T05:17:13Z")

</div>

OK, so brushing teeth is about as good as taking a pair of vitamins, and you can only brush so often.

Seems like a fair amount of work, and not sure I’d do it personally, but wev. No objection here.

---

<div class="post-metadata">

**Author:** ![John\_Candlebury](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/john_candlebury/32/6437_2.png) [@John\_Candlebury](https://discourse.cataclysmdda.org/u/John_Candlebury)\
**Post date:** [November 25, 2013, 8:31am UTC](https://discourse.cataclysmdda.org/t/tooth-brush/4206/8 "2013-11-25T08:31:11Z")

</div>

I like the RP value of this thing even if it is not that useful for gameplay

---

<div class="post-metadata">

**Author:** ![vultures](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/vultures/32/69_2.png) [@vultures](https://discourse.cataclysmdda.org/u/vultures)\
**Post date:** [November 26, 2013, 7:33pm UTC](https://discourse.cataclysmdda.org/t/tooth-brush/4206/9 "2013-11-26T19:33:29Z")

</div>

Toothpaste has quite a few common uses in a household; it’s just not on-spot here, meaning what could it be used in Cataclysm besides cleaning yourself up after eating Bear. But then - it’s time to chew bubblegum, and we’re all out of gum. 😛

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/1X/21b5d044e8473b25d0bf905d60477e25f6fbe0cf.png) [@system](https://discourse.cataclysmdda.org/u/system)\
**Post date:** [November 26, 2013, 7:36pm UTC](https://discourse.cataclysmdda.org/t/tooth-brush/4206/10 "2013-11-26T19:36:06Z")

</div>

Well, you can use toothpaste if you want to remove pimples.  
Seriously, but don’t rub it in too hard.

And yes, we should totally have pimples.

---

<div class="post-metadata">

**Author:** ![vultures](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/vultures/32/69_2.png) [@vultures](https://discourse.cataclysmdda.org/u/vultures)\
**Post date:** [November 26, 2013, 7:37pm UTC](https://discourse.cataclysmdda.org/t/tooth-brush/4206/11 "2013-11-26T19:37:39Z")

</div>

Too bad it’s not coded in a way so you could remove LC clones; the brush of brushes. 🙂

---

<div class="post-metadata">

**Author:** ![youtoo](https://avatars.discourse-cdn.com/v4/letter/y/779978/32.png) [@youtoo](https://discourse.cataclysmdda.org/u/youtoo)\
**Post date:** [November 29, 2013, 7:27pm UTC](https://discourse.cataclysmdda.org/t/tooth-brush/4206/12 "2013-11-29T19:27:56Z")

</div>

love this. dirty teeth can lead to cavities and possible infections. This is a common issue in Africa. I saw a 60 minutes report about a ship run by a charity with doctors that docks in west africa.

[http://www.mercyships.org/home/](http://www.mercyships.org/home/)

Not posting this as a joke. I never realized how bad plaque can get. Its a real shame for these people.

before and after:

[![](https://mercyships.s3.amazonaws.com/wp-content/plugins/PluginPopup/images/children.jpg) ](https://mercyships.s3.amazonaws.com/wp-content/plugins/PluginPopup/images/children.jpg)

---

<div class="post-metadata">

**Author:** ![Bonevomit](https://avatars.discourse-cdn.com/v4/letter/b/e9c0ed/32.png) [@Bonevomit](https://discourse.cataclysmdda.org/u/Bonevomit)\
**Post date:** [November 30, 2013, 2:03am UTC](https://discourse.cataclysmdda.org/t/tooth-brush/4206/13 "2013-11-30T02:03:54Z")

</div>

> [@Kevin Granade](#):
>
> What effects would “clean teeth” have?

Spreading dental hygiene awareness among the zombie masters.

---

<div class="post-metadata">

**Author:** ![phaethon](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/phaethon/32/981_2.png) [@phaethon](https://discourse.cataclysmdda.org/u/phaethon)\
**Post date:** [December 4, 2013, 6:23am UTC](https://discourse.cataclysmdda.org/t/tooth-brush/4206/14 "2013-12-04T06:23:28Z")

</div>

> [@Kevin Granade](#):
>
> What effects would “clean teeth” have?

How about a health boost and a scent reduction until we eat again? Also, I think we need an artifact toothbrush. 😉

---

<div class="post-metadata">

**Author:** ![Slax](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/slax/32/5385_2.png) [@Slax](https://discourse.cataclysmdda.org/u/Slax)\
**Post date:** [December 4, 2013, 2:18pm UTC](https://discourse.cataclysmdda.org/t/tooth-brush/4206/15 "2013-12-04T14:18:10Z")

</div>

“Your gums tingle.”  
“Your mouth feels really grimy.”  
“Your gums are bleeding. Gross!”  
“Your teeth ache.”  
“One of your teeth falls out. It’s rotten!”  
“Your jaw feels really sore. It hurts.”  
“Your teeth are all rotten! They’re all… loose. Feels disgusting.”  
“You’ve lost all of your teeth!”

“Your empty mouth has gotten a bad infection. It hurts.”

“You cough and dark blood spills from your infected mouth. It really hurts!”

“Strange mushrooms rapidly grow out from your rotten gums! The pain is excruciating!”

OH GOD! Brush your teeth, kids.

---

<div class="post-metadata">

**Author:** ![Dominae](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/dominae/32/53_2.png) [@Dominae](https://discourse.cataclysmdda.org/u/Dominae)\
**Post date:** [December 4, 2013, 5:30pm UTC](https://discourse.cataclysmdda.org/t/tooth-brush/4206/16 "2013-12-04T17:30:19Z")

</div>

[quote=“Slax, post:15, topic:4206”]“Your gums tingle.”  
“Your mouth feels really grimy.”  
“Your gums are bleeding. Gross!”  
“Your teeth ache.”  
“One of your teeth falls out. It’s rotten!”  
“Your jaw feels really sore. It hurts.”  
“Your teeth are all rotten! They’re all… loose. Feels disgusting.”  
“You’ve lost all of your teeth!”

“Your empty mouth has gotten a bad infection. It hurts.”

“You cough and dark blood spills from your infected mouth. It really hurts!”

“Strange mushrooms rapidly grow out from your rotten gums! The pain is excruciating!”

OH GOD! Brush your teeth, kids.[/quote]

I demand the fallen teeth zombify, sprout faces, and march toward you to attack!

---

<div class="post-metadata">

**Author:** ![Cherry](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/cherry/32/230_2.png) [@Cherry](https://discourse.cataclysmdda.org/u/Cherry)\
**Post date:** [December 4, 2013, 6:57pm UTC](https://discourse.cataclysmdda.org/t/tooth-brush/4206/17 "2013-12-04T18:57:53Z")

</div>

> [@Dominae](#):
>
> I demand the fallen teeth zombify, sprout faces, and march toward you to attack!

![](http://puu.sh/5C53c.png)

You should be able to obviously make a necklace out of all your teeth to wear.  
DUH
