Food types in general


Although the central place for design discussion is ##crawl-dev on freenode, some may find it helpful to discuss requests and suggestions here first.

User avatar

Crypt Cleanser

Posts: 689

Joined: Sunday, 3rd June 2012, 13:10

Post Monday, 3rd September 2012, 14:56

Food types in general

This was started because "problems with fruit": viewtopic.php?f=8&t=5576

While we're at it, can we make all these different food items take up only one slot in your inventory?

Is this a good idea? How can we improve food types in general?

Here's my idea (based off of mad's idea in the other thread):

There are only 3 generic types of food in the inventory: fruit, rations, and meat, corresponding to herbivore, omnivore, and carnivore respectively. Special foods like royal jellies and ambrosia get their own spot.

The types of food only exist on the floor - once you pick them up they get placed into their corresponding slot. This allows vaults such as the rats guarding cheese to retain their flavor. Food would have a value corresponding to the number of generic units derived from their previous nutrition value. For instance, meat rations would grant 5 meat units while bananas would only grant 1 fruit unit.

The rations inventory slot refers to omnivore food (honeycomb, cheese, pizza) because I can't think of a better name. Bread rations would be removed and meat rations would be renamed to "meat steak" to avoid confusion.

I'm not really sure how to handle chunks, although then again I'm not so sure we really need chunks in the game.
Dearest Steve
thanks for the gym equipment
the plane crashed
User avatar

Tartarus Sorceror

Posts: 1729

Joined: Wednesday, 19th October 2011, 21:25

Location: New England.

Post Monday, 3rd September 2012, 15:02

Re: Food types in general

Meat steak sounds like it would rot.
What made you happy today?
Shatari wrote:I traded a goat for a Nintendo DS XL, and a ton of games.

Lair Larrikin

Posts: 19

Joined: Friday, 17th December 2010, 15:12

Post Monday, 3rd September 2012, 15:39

Re: Food types in general

The question is how eating would actually work in this case. If a meat ration is 5 food then do you have to manually tell the game to eat five times in order to get full? I already hate it when I have to eat grapes because I have tell the game to eat each individual grape and that is extremely tedious.

Ziggurat Zagger

Posts: 2996

Joined: Tuesday, 28th June 2011, 20:41

Location: Berlin

Post Monday, 3rd September 2012, 15:42

Re: Food types in general

0 27 e x

= eat 27 of the item in slot x

For this message the author cerebovssquire has received thanks:
Igxfl
User avatar

Crypt Cleanser

Posts: 720

Joined: Friday, 7th January 2011, 01:43

Post Monday, 3rd September 2012, 15:43

Re: Food types in general

Bread rations would be removed and meat rations would be renamed to "meat steak" to avoid confusion.


Why remove bread? For herbivores it's the equivalent to meat rations.
duvessa wrote:Christ, you can't remove anything without tavern complaining about it.

Slime Squisher

Posts: 375

Joined: Sunday, 15th January 2012, 16:59

Post Monday, 3rd September 2012, 15:52

Re: Food types in general

So, interface-wise, it could be that when you pick up a food item it would be like.

You pick up the filet mignon (+5 meat).
or
You pick up the honeycomb (+4 vegetarian).
or
You pick up the choko (+3 fruit).

In your inventory you would have five food slots:

a - 56 meat rations
b - 48 herb rations
c - 39 fruits
d - 4 ambrosiae
e - 3 royal jellies

trying to eat a, b, or c would prompt "how many?" which you could also specify by e -> # -> a/b/c. Consuming one unit of food takes 1 aut and displays a message corresponding to food that you've already picked up (you start/continue to eat the filet mignon until its 5 units are exhausted, then switch to the next foodstuff).
User avatar

Shoals Surfer

Posts: 301

Joined: Saturday, 21st May 2011, 08:23

Post Monday, 3rd September 2012, 15:59

Re: Food types in general

Mmm, love eating some delicious 'meat unit.'
(p.s. this is stupid some dev please make it not stupid) - minmay

Slime Squisher

Posts: 375

Joined: Sunday, 15th January 2012, 16:59

Post Monday, 3rd September 2012, 16:02

Re: Food types in general

This would actually increase the number of potential types of food because you could have 100 different varieties of meat ration with different names without introducing annoying interface problems..

Ziggurat Zagger

Posts: 2996

Joined: Tuesday, 28th June 2011, 20:41

Location: Berlin

Post Monday, 3rd September 2012, 16:10

Re: Food types in general

Is this just me or are royal jellies completely superfluous? Statrot is already nonthreatening in most cases, and if it removing royal jellies turns out to be a problem we can always increase !restab spawn rate slightly. Otherwise they are basically rations. Ambrosia at least has a unique effect (MP over time + confusion).
Or the effect could be made unique by removing the potion. I think this is an inferior choice though because royal jellies mainly spawn in vaults right now.
User avatar

Crypt Cleanser

Posts: 689

Joined: Sunday, 3rd June 2012, 13:10

Post Monday, 3rd September 2012, 16:27

Re: Food types in general

Meat steak sounds like it would rot.

All food found in Crawl rots IRL.

Roderic wrote:
Bread rations would be removed and meat rations would be renamed to "meat steak" to avoid confusion.


Why remove bread? For herbivores it's the equivalent to meat rations.

Because it isn't a fruit. I suppose it could stay if it became omnivore food.

trying to eat a, b, or c would prompt "how many?" which you could also specify by e -> # -> a/b/c. Consuming one unit of food takes 1 aut

I don't know why the e -> # isn't already implemented but it should be. Using 0 27 e always breaks webtiles for me so I don't use it much, but it's more keystrokes anyways.

and displays a message corresponding to food that you've already picked up (you start/continue to eat the filet mignon until its 5 units are exhausted, then switch to the next foodstuff)

Adding metadata like this seems too complex to be worthwhile.

Is this just me or are royal jellies completely superfluous? Statrot is already nonthreatening in most cases, and if it removing royal jellies turns out to be a problem we can always increase !restab spawn rate slightly. Otherwise they are basically rations. Ambrosia at least has a unique effect (MP over time + confusion).

We can't remove royal jellies without ruining the humor of TRJ. Give royal jellies regeneration+slowing or something?

Mmm, love eating some delicious 'meat unit.'

'Meat unit' is jargon I stole from the fast food industry.
Dearest Steve
thanks for the gym equipment
the plane crashed

Ziggurat Zagger

Posts: 6393

Joined: Friday, 17th December 2010, 18:17

Post Monday, 3rd September 2012, 17:10

Re: Food types in general

pubby wrote:Food would have a value corresponding to the number of generic units derived from their previous nutrition value. For instance, meat rations would grant 5 meat units while bananas would only grant 1 fruit unit.

One problem here is that the nutrition value of food varies wildly according to player race, mutations, gourmand, etc. I once wanted to include the nutrition value in food descriptions (because I don't like the fact that it's impossible to tell whether a banana is more nutritious than a pear ingame), but gave it up because of this issue.
User avatar

Pandemonium Purger

Posts: 1341

Joined: Monday, 24th October 2011, 06:13

Post Monday, 3rd September 2012, 19:45

Re: Food types in general

I looked at bread and meat rations, and thought if one had to go, it would be the meat ration. Only rank 3 carnivores are unable to eat bread rations, and only rank 3 herbivores are unable to eat meat rations. The difference is that carnivores can rely on chunks to make up for the loss of meat rations, while the removal of the bread ration would leave herbivores with honeycombs as their best current source of nutrition, and at current drop rates that is not sufficient. That leaves Royal Jelly, Bread Ration, Ambrosia, Honeycomb, Snozzcumber, Slice of Pizza, Sausage, Apple, Choko, Sultana. Three of those ten have special effects (honeycomb is fast nutrition, royal jelly cures statrot, ambrosia gives mana) and gives food in general a maximum of ten slots of inventory to occupy. This might seem like a lot but it is still better than 22 potential slots. I don't think food is special enough to have rune of zot style inventory treatment, and this one slot system doesn't seem good for fedhas. Consolidating fruit into one slot still ignores the fact that some fruit provides more nutrition than others but have the exact same value to fedhas, and the idea that eating two times from your fruit pile and get different nutrition from each time (you finish your apples, say, and move on to sultanas) would come off as very confusing to players.
seattle washington. friends for life. mods hate on me and devs ignore my posts. creater of exoelfs and dc:pt
User avatar

Ziggurat Zagger

Posts: 5832

Joined: Thursday, 10th February 2011, 18:30

Post Monday, 3rd September 2012, 20:19

Re: Food types in general

With this proposal I'd really hate to lose my precious "bee vomit" food slot.
"Be aware that a lot of people on this forum, such as mageykun and XuaXua, have a habit of making things up." - minmay a.k.a. duvessa
Did I make a lame complaint? Check for Bingo!
Totally gracious CSDC Season 2 Division 4 Champeen!

Tartarus Sorceror

Posts: 1776

Joined: Monday, 21st February 2011, 15:57

Location: South Carolina

Post Tuesday, 4th September 2012, 00:55

Re: Food types in general

What if eating always caused you to eat until you reach the next satiation level, unless you are interrupted? Who really wants to worry about how many pieces of food to eat?

For this message the author jejorda2 has received thanks: 2
danr, varsovie

Snake Sneak

Posts: 113

Joined: Saturday, 12th May 2012, 21:18

Post Tuesday, 4th September 2012, 01:19

Re: Food types in general

cerebovssquire wrote:Is this just me or are royal jellies completely superfluous? Statrot is already nonthreatening in most cases, and if it removing royal jellies turns out to be a problem we can always increase !restab spawn rate slightly. Otherwise they are basically rations. Ambrosia at least has a unique effect (MP over time + confusion).
Or the effect could be made unique by removing the potion. I think this is an inferior choice though because royal jellies mainly spawn in vaults right now.


In one of the diesel robins a zig raiding character had pretty severe stat rot without any !restore, so it used acquirement to get royal jellies.
User avatar

Blades Runner

Posts: 536

Joined: Wednesday, 10th August 2011, 01:06

Post Tuesday, 4th September 2012, 01:32

Re: Food types in general

I was also saved from death in the Abyss by Royal Jellies. Brainless, all my pots burned from lack of conservation, was about to give in until I saw ye olde jelly.

They might be a bit superfluous for most playthroughs, though.

Cocytus Succeeder

Posts: 2297

Joined: Saturday, 14th April 2012, 21:35

Post Thursday, 1st November 2012, 11:39

Re: Food types in general

Grimm wrote:
pubby wrote:Food would have a value corresponding to the number of generic units derived from their previous nutrition value. For instance, meat rations would grant 5 meat units while bananas would only grant 1 fruit unit.

One problem here is that the nutrition value of food varies wildly according to player race, mutations, gourmand, etc. I once wanted to include the nutrition value in food descriptions (because I don't like the fact that it's impossible to tell whether a banana is more nutritious than a pear ingame), but gave it up because of this issue.

This brings forth the question: is there a need for different fruit to have slightly different nutrition values? I don't think anything would be lost if functionally, (non-special) permafood was boiled down to:
  Code:
Small/Medium/Large Vegetarian unit
Medium/Large Omnivore unit
Medium/Large Carnivore unit
Where "non-special" means "royal jelly and ambrosia not included". "Functionally" means the food could have different names while on the floor and the flavour text could be varied too, but each [size]+[diet] type of unit would all occupy one inventory slot each.

The questionable next step would then be to boil it even further down to "one-size-fits-all" units. This would allow characters to essentially "eat half a loaf of bread and put the rest away for later because they got interrupted" and "shove a mouthful of grapes into their mouth all at once". How attached are we to the concept of "big meals take several turns to eat, you can't cancel it if attacked"? And to the Fedhas concept of "one tiny sultana is just as good as a big apple to grow this plant"?

Snake Sneak

Posts: 109

Joined: Monday, 17th October 2011, 20:36

Post Thursday, 1st November 2012, 16:00

Re: Food types in general

Jabberwocky wrote:Meat steak sounds like it would rot.


Salted pork in a cold dungeon.

most players die within 2 hours ?

haha, nah no time for rotting.
User avatar

Tartarus Sorceror

Posts: 1729

Joined: Wednesday, 19th October 2011, 21:25

Location: New England.

Post Thursday, 1st November 2012, 20:28

Re: Food types in general

Crawl time =/= real time.
What made you happy today?
Shatari wrote:I traded a goat for a Nintendo DS XL, and a ton of games.

Ziggurat Zagger

Posts: 5382

Joined: Friday, 25th November 2011, 07:36

Post Thursday, 1st November 2012, 21:10

Re: Food types in general

Deimos wrote:I was also saved from death in the Abyss by Royal Jellies. Brainless, all my pots burned from lack of conservation, was about to give in until I saw ye olde jelly.

They might be a bit superfluous for most playthroughs, though.


They also tend to be rather important to deep dwarves, who cannot regenerate their stats...

Return to Game Design Discussion

Who is online

Users browsing this forum: No registered users and 36 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.