Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mention if food will rot in the description #5162

Merged
merged 3 commits into from Dec 27, 2013

Conversation

Projects
None yet
3 participants
@ianestrachan
Copy link
Contributor

commented Dec 21, 2013

As requested in: http://smf.cataclysmdda.com/index.php?topic=4849.0

If an item is perishable (or it's a food container with perishable food), the description will state that the item will eventually rot.

Also handles already-rotten food (and saprovores).

dump->push_back(iteminfo("DESCRIPTION", "\n\n"));
if(rotten()) {
if(g->u.has_trait("SAPROVORE")) {
dump->push_back(iteminfo("DESCRIPTION", _("This food has started to rot, but that just adds to the flavor.")));

This comment has been minimized.

Copy link
@KA101

KA101 Dec 21, 2013

Contributor

FWIW saprovores and Expanded Digestive Tract-havers don't get any better morale out of eating rotten food: ick, it still doesn't taste so good. Something along the lines of "but you've had worse" might be better?

{
dump->push_back(iteminfo("DESCRIPTION", "\n\n"));
if(rotten()) {
if(g->u.has_trait("SAPROVORE")) {

This comment has been minimized.

Copy link
@KA101

KA101 Dec 21, 2013

Contributor

Expanded Digestive Tract ("bio_digestion") gives a 66% chance to avoid food poisoning, and bypasses the health penalty, but doesn't bypass the sniff test (it still smells awful, Y/N before eating). Worth a line?

This comment has been minimized.

Copy link
@ianestrachan

ianestrachan Dec 21, 2013

Author Contributor

Probably, since it is a different case from Saprovore.

@kevingranade kevingranade merged commit 6f0240d into CleverRaven:master Dec 27, 2013

1 check failed

default Unmergeable pull request.

@ianestrachan ianestrachan deleted the ianestrachan:food-rot-mention branch Dec 27, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.