Food

From TerraFirmaCraft Wiki
Revision as of 16:48, 22 May 2014 by Peffern (Talk | contribs) (Added milk-consumption bug)

Jump to: navigation, search

Nutrition

There are five different categories of food: Fruit, Vegetable, Grain, Protein, and Dairy.

Fruit Grid Banana.pngBanana Grid Blackberries.png Blackberries Grid Blueberries.png Blueberries Grid Bunchberries.png Bunchberries Grid Cherry.png Cherry Grid Cloudberries.png Cloudberries
Grid Cranberries.png Cranberries Grid Elderberries.png Edlerberries Grid Gooseberries.png Gooseberries Grid Green Apple.png Green Apple Grid Lemon.png Lemon Grid Olive.png Olive
Grid Orange.png Orange Grid Peach.png Peach Grid Plum.png Plum Grid Raspberries.png Raspberries Grid Red Apple.png Red Apple Grid Snowberries.png Snowberries
Grid Strawberries.png Strawberries Grid Wintergreen Berries.png Wintergreen Berries
Vegetable Grid Cabbage (Harvest).png Cabbage Grid Carrot (Harvest).png Carrot Grid Garlic (Harvest).png Garlic Grid Greenbean (Harvest).png Green Beans Grid Green Bell Pepper (Harvest).png Green Bell Pepper Grid Onion (Harvest).png Onion
Grid Potato (Harvest).png Potato Grid Red Bell Pepper (Harvest).png Red Bell Pepper Grid Rutabaga (Harvest).png Rutabaga Grid Squash (Harvest).png Squash Grid Tomato (Harvest).png Tomato Grid Yellow Bell Pepper (Harvest).png Yellow Bell Pepper
Grain Grid Barley (Bread).png Barley Bread Grid Barley (Grain).png Barley Grain Grid Corn (Bread).png Cornbread Grid Maize (Harvest).png Maize Ear Grid Oat (Bread).png Oat Bread Grid Oat (Grain).png Oat Grain
Grid Rice (Bread).png Rice Bread Grid Rice (Grain).png Rice Grain Grid Rye (Bread).png Rye Bread Grid Rye (Grain).png Rye Grain Grid Wheat (Bread).png Wheat Bread Grid Wheat (Grain).png Wheat Grain
Protein Grid Cooked Beef.png Cooked Beef Grid Cooked Calamari.png Cooked Calamari Grid Cooked Egg.png Cooked Egg Grid Cooked Fish.png Cooked Fish Grid Cooked Horse Meat.png Cooked Horse Meat Grid Cooked Mutton.png Cooked Mutton
Grid Cooked Porkchop.png Cooked Pork Grid Cooked Chicken.png Cooked Poultry Grid Cooked Venison.png Cooked Venison Grid Soybean (Harvest).png Soybeans
Dairy Grid Cheese.png Cheese Grid Wooden Bucket (Milk).png Milk
  • Other food items are listed under these categories in-game for searching purposes, but are inedible (e.g. Dough & Raw Meat)
  • While some foods are biologically different from their categories (tomatoes are actually a fruit), they have been placed in the category that is typically used by society. "Knowledge is knowing that a tomato is a fruit, wisdom is not putting it in a fruit salad." ― Miles Kington


HealthTab.png


On initial spawn, The Player starts with each category of nutritional value at roughly 80% of the maximum amount. Each of these categories' levels are represented with a visual bar on the health tab of the player's inventory. As the player's hunger depletes, their nutrition bars will slowly deplete as well. In order to replenish the bar, the player must eat some food in that category. The first four categories account for 25% of the player's max health, with the dairy bar giving up to an additional 25% boost.

For example, a starting player with no levels has a possible max health of 800HP with all four of the first categories filled. If one of these categories are empty while the other three are full, the player will have a max health of 600HP. If the player has a full dairy bar in addition to all four of the main categories being full, they will have a max health of 1,000HP.

This change in HP is done behind the scenes, as the health bar will change to represent the altered max HP and will still fill completely regardless of the player's possible max health value.

Weight

Every piece of food will have a weight value on its tool-tip. The maximum amount that a single slot can hold is 160 ounces(oz). Food sources that provide more than 160 oz of food (such as animals) will drop as many max-weight pieces as possible before dropping a single, non-max weight item. Multiple pieces of food that are underneath the maximum weight can be crafted together to create a single piece of food of the combined weight. Up to 9 pieces of food can be crafted together at once, and the output slot will produce single max weight pieces, consuming individual pieces in the grid until all that is left is a single non-max weight piece in the grid, or all the remaining pieces can combine into one of less than or equal to max weight (e.g. combining four 100 oz pieces will result in two 160 oz pieces and a single 80 oz piece left in the grid). This combining of food through the crafting table is meant to represent creating a bundle of multiple pieces, and not mashing the items together to create a single super food that weighs more than the average newborn child.

When eating food, the player can consume a maximum of 5 oz at a time. The player's stomach can hold a maximum of 24 oz of food, and if their stomach level is above 19 oz, they will only consume enough to fill their stomach. This means that it is impossible to over-eat, and saturation is therefore only acquired through eating meals.

Decay

For the majority of food, the decay level is represented via the durability bar on the item, as well as a numerical percentage on the tool-tip. The exception to this rule is milk, which has a tool-tip message of Fresh, Old, or Sour. The rate at which a piece of food decays is dependent on the item, as well as the ambient temperature. Light levels affect temperature, so the best place to store food is in a cool, dark place. These general types of food decay in order of fastest to slowest: Unsalted Raw Meat/Cooked Eggs, Fruit, Cooked Meat, Salted Raw Meat, Grains/Vegetables, Cheese/Raw Eggs.

Regardless of the type of food, decay rates are compounding (i.e. An apple with 50% decay will decay faster than an apple with 5% decay). To circumvent this, a piece of food that is decayed can be crafted with a knife to remove the decayed portion (e.g. crafting a 100 oz potato that is 25% decayed with a knife will result in a 75 oz potato with 0% decay). Milk cannot have its decay removed. If a piece of food that has no decay is crafted with a knife, it will be cut in half. This is useful for sharing food with multiple players.

The tracking of decay is based off of the calendar date and time, so skipping time forwards through the use of a bed or commands will result in the food decaying the same amount as if that time frame had passed normally. This also means that items in environments that do not tick properly (such as on the ground, or in other mod's containers) will instantly update and make up the lost decay as soon as it enters a player's inventory. For example: A player kills a pig, and then walks away so that the items are in unloaded chunks. The player returns a few weeks later to pick up the pork that did not despawn because the chunks were unloaded. As soon as the pork enters the player's inventory, it will rapidly make up for the lost time, quickly decaying until it disintegrates in the player's hands.

Food Preparation

Salt

Main article: Salt

Salt is used to extend the shelf life of raw meat.

Raw Beef Salt Raw Beef
Grid layout Arrow (small).png
Grid layout Shapeless.png

The meat will have •Salted on the tooltip and its decay rate will be cut in half.

Cooking

Raw foods can be cooked in either a firepit or a forge. With the exception of eggs, cooking raw food will make it decay at a slower rate.

Cooking Temps

Food Cold Warm Hot Very Hot
Beef Grid Raw Beef.png Grid Cooked Beef.png
Bread Grid Dough.png Grid Bread.png
Calamari Grid Raw Calamari.png Grid Cooked Calamari.png
Chicken Grid Raw Chicken.png Grid Cooked Chicken.png
Egg Grid Egg.png Grid Cooked Egg.png
Fish Grid Raw Fish.png Grid Cooked Fish.png
Horse Meat Grid Raw Horse Meat.png Grid Cooked Horse Meat.png
Meal Grid Meal.gif Grid Wooden Bowl.png1
Mutton Grid Raw Mutton.png Grid Cooked Mutton.png
Porkchop Grid Raw Porkchop.png Grid Cooked Porkchop.png
Venison Grid Raw Venison.png Grid Cooked Venison.png

1 Meals heated to temperatures over Very Hot result in burning and loss of the meal.

Bread

Processing grains into bread doubles it's weight, providing more food from each harvest. For cereal crops, the harvest must first be refined by crafting it with a knife to get grains. The grains (or maize ear) are then ground in a quern to produce flour. Next, the flour is hydrated with a bucket of fresh water to produce dough which is double the weight. If the flour weighs more than 80 oz, crafting the dough will leave the flour in the crafting grid, minus the 80 oz used to create a max weight piece of dough. Finally, the dough can be cooked in either are firepit or a forge to produce edible bread.

Grain Flour Dough Bread
Stone_Knife Barley_(Harvest) Barley_(Grain)
Grid layout Arrow (small).png
Grid layout Shapeless.png
Grid Quern.png
Grid layout None (small).png
Barley (Grain) Barley (Flour)
Barley_(Flour) File:Grid Wooden Bucket (Water).png Dough
Grid layout Arrow (small).png
Grid layout Shapeless.png
Grid layout None (small).png FirePit Temp.png
Dough
Grid layout None d (small).png
FirePit Arrows.png
Grid layout None d (small).png
Barley (Bread)
Grid layout None d (small).png

Cheese

Main article: Barrels

Cheese is one of the slowest decaying foods. Leave at least one bucket's worth of space in a milk barrel to add vinegar to create curdled milk. A single bucket of milk and vinegar will result in a 40 oz block of cheese, with each additional bucket of milk adding another 20 oz. This means that a full barrel of curdled milk made from 7 milk buckets and a single vinegar bucket will produce a single, max size, 160 oz block of cheese. Remove the empty bucket when you are finished filling the barrel, then click seal and wait about 5 minutes to produce the cheese.

Input Before Sealing Output
N/A
Grid layout Arrow (small).png Wooden Bucket (Vinegar)
N/A
N/A
Grid layout Arrow (small).png
N/A
N/A
Grid layout Arrow (small).png Cheese
N/A
Barrel of Milk Barrel of Curdled Milk

Meals

Meals are a way for players to mix and match foods to create a dish which is able to give the player saturation. The quality of the meal is shown in the tool-tip labeled as Taste, ranging from Terrible to Fantastic. The tastier the meal, the more saturation it will give. In order to create a meal prep surface, the player must right click with a knife on the top of a solid wood, stone, or metal material block with a bowl in their inventory.

Note: Meals do not behave like other foods in that they cannot be crafted with a knife to remove decay or split into smaller pieces. This is the trade-off for being a multi-nutritional food that can give saturation boosts.

Recipes

Note: Meal recipes and their tastiness are specific to the seed used to create the world as well as the cooking skill level of the player, so recipes will not be the same between worlds unless you use the same seed and have the same skill level.

The food preparation surface is made up of four input slots for ingredients: a single 10 oz slot, two 4 oz slots, and a single 2 oz slot. As implied, the food in each slot must have at least that much non-decayed weight, and will have that much weight removed from it upon meal creation. Meals require a minimum of 14 oz of food, and 2 different food categories to be created. When utilizing both of the 4 oz slots, the two foods can be different items of the same category (e.g. a carrot and a tomato), or items from two different categories. If a meal is created using all four of the slots, 3-4 different food categories are required (a category for the 10 oz slot, 1-2 categories for the 4 oz slots, and a category for the 2 oz slot). If an invalid combination of food has been placed in the interface, the "Create" button will be grayed out so that the player cannot press it.

Warming

Meals with a taste value higher than 0% can be slightly improved by warming them in a fire pit or a forge. The meal only needs to be heated to warm to see the boost, but can be heated is high as very hot to allow time for it to cool and still have the boost a few minutes later. Be careful not to overcook the meal, as temperatures over very hot will burn it and just give an empty bowl.

Configuration

Option Default
Value
Description
food decay Options which affect food decay.
FoodDecayMultiplier 1.0
This is a global multiplier for food decay. Unlike FoodDecayRate which only modifies the base decay and not the environmental effect upon decay, this multiplier will multiply against the entire amount. Set to 0 to turn decay off.
FoodDecayRate 1.0170378966055869
This number causes base decay to equal 50% gain per day. If you wish to change, I recommend you look up a y-root calculator 1.0170378966055869517978300569768 ^ 24 = 1.5
decayProtectionDays 24
If a food item has not been ticked for greater than or equal to this number of days than when it is ticked for the first time, only a small amount of decay will occur.
useDecayProtection true
Set this to false if you want food to auto decay when a chunk is loaded instead of limiting decay when a chunk has been unloaded for a long period.

History

Beta
Build 53Added Meals.
Build 58When holding a Meal or Food in your hand, your hunger bar will now show a preview of how much of the hunger bar will be restored if you eat that item.
77.0Creating a meal prep area now requires a bowl in your inventory along with the knife.
78.0Added nutrition system and food decay.
Overhauled meal creation mechanic & removed potion effects.

Issues

  • Consuming a meal in a wooden bowl does not give the player the empty bowl back. This is intentional as eventually there is a possibility of ceramic bowls which will break occasionally, and metal bowls which may never break.
  • Milk cannot be consumed directly in order to replenish Dairy; it must be turned into Cheese.

Trivia

  • There are 685,795 possible combinations for meal recipes.
  • Ceramic Vessels decrease the rate food decays by 50%, making them ideal storage even after the ability to make chests.

Gallery

See Also


Navigation
Construction Barrels • Blueprints • Bricks • Firepit • Plank Blocks • Protection Meter • Quern • Smooth Stone • Straw & Hide Bed • Support Beams • Thatch
Environment Altitude • The Player • Calendar • Cobblestone • Logs • Mobs • Saplings • Seasons • Stone • Temperature • Trees
Food Agriculture • Animal Husbandry • Berries • Fruit Trees
Materials Charcoal • Coal • Double Ingots • Double Sheets • Flux • Gems • Gunpowder • Hides • Ingots • Leather • Lumber • Minerals • Pottery • Redstone/Powders • Sheets • Sticks • Straw • Unshaped Metal • Wool
Metalworking Alloys • Anvils • Armor • Bellows • Blast Furnace • Bloomery • Tool Molds • Crucible • Forge • Gold Pan • Metals • Ores • Sluice
Tools & Weapons Arrows • Axe • Buckets • Chisel • Firestarter • Flint & Steel • Hammer • Hoe • Javelin • Knife • Mace • Pickaxe • Prospector's Pick • Saw • Shovel • Sword • Scythe • Shears • Spindle
Other Crafting Differences • Item Index