Template:Sandbox/Darce/Test: Difference between revisions

From Vintage Story Wiki
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<languages/>
{|border="1" cellpadding="2" cellspacing="0" class="screwTemplatesMan" style="border-radius:7px; font-size:90%; width:250px; float:right; position:relative; margin-left:15px; margin-bottom: 5px;"
<translate>
 
Most foods have a perish time, meaning they will spoil over time, losing nutritional value, and eventually turn into rot. To combat this, there are certain preservation methods to keep your food supply fresh, like special storage containers and cellars.
 
__TOC__
 
=== Shelf Life===
Every kind of object has a different "perish time" which is composed of their “freshness time”, which is the time it takes for a fresh item to start spoiling; and their “spoilage time”, which is the time it takes for the item to turn into rot.
 
{| class="wikitable mw-collapsible" style="background: transparent; width: 34%;"
|-
|-
|bgcolor="#000000" colspan="2" style="border-top-right-radius:7px; border-top-left-radius:7px; text-align:center; font-size:13.5px;"|<font color="white">'''{{{Name}}}'''</font>
colspan=5 | Meat
|-
|-
|bgcolor="#d3ab92" colspan=2 style="text-align: center"|{{#tag:tabber|
! width="1%";  rowspan=2 | Image
{{!}}-{{!}} {{{Title}}} = File:{{{image}}}
! width="3%";  rowspan=2 | Item
{{!}}-{{!}} {{{Title2}}} = File:{{{image2}}}
! width="3%"; colspan=2 | Perish Time
{{!}}-{{!}} {{{Title3}}} = File:{{{image3}}}
! width="3%"; rowspan=2 | Rot produced after spoiling
}}
|-
|-
|bgcolor="#000000" colspan="2" style="border-top-right-radius:0px; border-top-left-radius:0px; text-align:center; font-size:13.5px;"|<font color="white">'''Health'''</font>
! Freshness Time (hours)
! Spoilage Time (hours)
|-
|-
{{#if: {{{HealthM|}}} | {{#!:
| style="text-align:center" | [[File:Grid_redmeat_raw.png|40px]]
|'''Health ({{{Title}}})'''
| '''Raw Meat'''
|{{{HealthM}}}
| style="text-align:center" | 36
}} }}
| style="text-align:center" | 24
| style="text-align:center" | 1
|}
 
 
== Factors affecting food spoilage == <!--T:24-->
 
=== Climate === <!--T:25-->
The climate in which the food is stored affects the rate of food spoilage. Hot climates can increase the decay rate up to 2.5x (250%), while very cold climates can reduce the decay rate down to 0.1x (10%). Only the climate at sea level is considered, so placing your food high up in the mountains will have no effect if the mountain is in a hot climate.<br>
 
<!--T:26-->
You can however completely negate the impact of climate by building a cellar.
 
=== Food type === <!--T:27-->
Different types of foods have different lifetimes. Food items remain 100% fresh for a specific time period (shown in the table below). After this time, food items begin to decay at a rate affected by storage containers, storage locations, and climate conditions. As food items decay, they lose [[nutrition]] value and will eventually become "rot".
 
<!--T:28-->
{| class="wikitable sortable"
|-
|-
{{#if: {{{HealthF|}}} | {{#!:
! Food !! Freshness time, hours
|'''Health ({{{Title2}}})'''
|{{{HealthF}}}
}} }}
|-
|-
{{#if: {{{HealthMF|}}} | {{#!:
| Raw meat || 36
|'''Health ({{{Title}}}/{{{Title2}}})'''
|{{{HealthMF}}}
}} }}
|-
|-
| '''Health ({{{Title3}}})''' || {{{HealthB}}}
| Cooked meat || 120
}}
|-
|-
|bgcolor="#000000" colspan="2" style="border-top-right-radius:0px; border-top-left-radius:0px; text-align:center; font-size:13.5px;"|<font color="white">'''Attack'''</font>
| Cured meat || 8760
|-
|-
{{#if: {{{BaseAttackM|}}} | {{#!:
| Vegetable || 504
|'''Base Attack ({{{Title}}})'''
|{{{BaseAttackM}}}
}} }}
|-
|-
{{#if: {{{BaseAttackF|}}} | {{#!:
| Pumpkin || 216
|'''Base Attack ({{{Title2}}})'''
|{{{BaseAttackF}}}
}} }}
|-
|-
{{#if: {{{BaseAttackB|}}} | {{#!:
| Onion || 672
|'''Base Attack ({{{Title3}}})'''
|{{{BaseAttackB}}}
}} }}
|-
|-
{{#if: {{{BaseAttackMF|}}} | {{#!:
| Cooked Cattail Root || 48
|'''Base Attack ({{{Title}}}/{{{Title2}}})'''
|{{{BaseAttackMF}}}
}} }}
|-
|-
{{#if: {{{BaseAttackFB|}}} | {{#!:
| Pickled vegetable || 1800
|'''Base Attack ({{{Title2}}}/{{{Title3}}})'''
|{{{BaseAttackFB}}}
}} }}
 
|-
|-
|bgcolor="#000000" colspan="2" style="border-top-right-radius:0px; border-top-left-radius:0px; text-align:center; font-size:13.5px;"|<font color="white">'''Characteristics'''</font>
| All Other Fruits || 48
|-
|-
{{#if: {{{PortionsEaten|}}} | {{#!:
| Cranberries || 96
|'''Satiety to Mate'''
|{{{PortionsEaten}}}
}} }}
|-
|-
{{#if: {{{GestationTime|}}} | {{#!:
| Soybeans || 8760
|'''Gestation Time (hours)'''
|{{{GestationTime}}}
}} }}
|-
|-
{{#if: {{{IncubationTime|}}} | {{#!:
| Pickled soybeans || 4320
|'''Incubation Time (hours)'''
|{{{IncubationTime}}}
}} }}
|-
{{#if: {{{GrowthTime|}}} | {{#!:
|'''Growth Time (hours)'''
|{{{GrowthTime}}}
}} }}
|-
|-
| Grains || 2160
|}
<!--T:29-->
Note that unlike other pickled items pickled soybeans decay faster, but can be eaten without further [[cooking]], unlike raw soybeans.
== Food preservation methods ==  <!--T:30-->
Due to the different components in foods, there are different methods to preserve each type or category of food. Almost all types of food items can be stored in the form of cooked meals, but it is not always practical to cook all food items into meals.
=== Salt Curing (Preserving Meats) === <!--T:31-->
Curing meats requires a barrel, [[salt]] and the raw meat to preserve. Each unit of meat requires two units of salt, i.e. 32 meat = 64 salt. After adding the appropriate ingredients into the input slot of the barrel, the GUI will state the process yield. At this point the barrel must be sealed for 480 hours to complete the curing process.
=== Pickling (Preserving Vegetables) === <!--T:32-->
Pickling vegetables requires a barrel, a [[Wooden_Bucket|bucket]], [[salt]], water, and the vegetables to preserve. Water and salt are mixed in the barrel to make [[brine]] before adding the vegetables.  Otherwise, the process of pickling is very similar to salt curing. Each vegetable or legume uses one unit of brine and the barrel must remain sealed for 336 hours.
<!--T:33-->
Once the food items are pickled or salt preserved, they can be stored in any stationary container, though storage vessels are best.
=== Jam (Preserving Berries) === <!--T:34-->
Making jam requires a cooking pot, a bucket, [[beekeeping|honey]], and [[Berries|berries]].
Berries can be stored by making jam, which is prepared in the cooking pot. See the [[Cooking|cooking page]] for the [[Cooking|jam recipe]].
For longest shelf life, Jam should be stored in a sealed crock.
=== [[Cheese]] (Preserving Milk) === <!--T:35-->
Milk can be turned into cheese by processing it in several steps with pickled vegetables and salt in a barrel.
== Food preservation containers == <!--T:36-->
While food can be stored in any stationary container, [[storage vessels]] are best for storing grains and vegetables. Storage vessels and crocks are fairly easy to make, requiring only [[Clay Forming|clay]]. However to increase the shelf life of meats and vegetables, combining preserving methods with containers is best.
=== Crocks ===  <!--T:37-->
Up to 4 portions of [[Cooking|meals]] or pickled vegetables can be stored in crocks providing a slight reduction in food decay, which is a good option for short term food storage. For long term storage, '''sealing the crocks''' with a lump of [[fat]] or [[beekeeping|beeswax]] above the crock in the crafting grid reduces decay by a factor of 10. Filled crocks may be carried in player inventories.<br>
<!--T:38-->
For convenience you can build shelves that can hold up to 8 crocks at a time.
=== Storage Vessels === <!--T:39-->
Any food item can be stored in vessels, which provide storage benefits to preserved foods as well as raw foods. These vessels are good options for short and long term food storage as they reduce decay 75% for veggies and 50% for grains.
== Removing the Rot from Bowls, Pots and Crocks == <!--T:40-->
<!--T:41-->
You just need to throw it in water and wait for a few seconds, the rot will float out of the container. For sealed crocks, you need to unseal it first (getting a food portion with a bowl).


{{Drops
== Food preservation locations == <!--T:42-->
|Code1={{{DropCode1|}}}
To negate the impact of a warm climate, build a cellar. Cellars have a fixed temperature of 5°C or colder if the ambient temperature is lower, meaning you will only profit from a cellar if the outside temperature is higher then 8°C in the first place.
|Avg1={{{DropAvg1|}}}
|Var1={{{DropVar1|}}}
|Code2={{{DropCode2|}}}
|Avg2={{{DropAvg2|}}}
|Var2={{{DropVar2|}}}
|Code3={{{DropCode3|}}}
|Avg3={{{DropAvg3|}}}
|Var3={{{DropVar3|}}}
|Code4={{{DropCode4|}}}
|Avg4={{{DropAvg4|}}}
|Var4={{{DropVar4|}}}
}}
|-
|bgcolor="#000000" colspan="2" class="Bloba" style="text-align:center; font-size:13.5px; border-bottom-right-radius:7px; border-bottom-left-radius:7px;"|
|}
</includeonly>


<noinclude>
=== Cellars === <!--T:43-->
Template for displaying an entity's male, female, and baby form in one chart.
{{Sandbox/Darce/Test
|Name=Chicken


|Title= Rooster
<!--T:44-->
|Title2= Hen
[[File:Cellar.png|425px|thumb|right|Typical layout of a cellar filled with Crocks on shelves, storage vessels, chests and 2 barrels of pickled food]]
|Title3= Chick


|image= <nowiki>[[File:Chicken(Male).png|120px|center]]</nowiki>
<!--T:45-->
|image2 = <nowiki>[[File:Chicken(Female).png|120px|center]]</nowiki>
To maximize the cellar effect when building:
|image3 = <nowiki>[[File:Chicken(Baby).png|120px|center]]</nowiki>
* Build the walls from [[Soil Blocks|soil]], [[Ceramic Blocks|ceramic]], or [[Stone Blocks|stone]] materials.
* Keep door/trapdoor count low. The best is no doors/trapdoors, and instead use dirt or hay as full-block fillers. The less light inviting openings the cellar has, the better - additionally, doors do not count as a soil or stone block and thus lower the efficiency, even if they do not let in sunlight.
* Keep the sun light level inside the cellar low as it can raise the temperature by up to 10°C, thus influencing spoilage rate. Artificial lights like lanterns, torches and oil lamps are fine. Thus, building a cellar under ground can help reduce the sunlight, but it doesn't give a bonus solely on building underground - cellars can be located aboveground, as long as they are save from the sun.
* Cellars should be no larger than 7x7x7 blocks inside. If the room exceeds these dimensions, it will not be recognized as a cellar. Only the direct walls count, the corner rows can be left out without affecting the room recognition.


|HealthMF= 3
<!--T:46-->
|HealthB= 1.5
Once a cellar is created any food items may be placed on a shelf or inside containers. All items stored in the cellar will receive equal food decay reduction. Players can verify the storage benefit by looking at the block info HUD of a shelf or storage container. It will display something like <code>Stored food perish speed: 0.25</code> - which in this case means food will last 4 times longer.<br>
Keep in mind that spoilage rates in a cellar might actually vary from block to block, if there is sunlight reaching the cellar in some way.


|BaseAttackM=0.25
== Effect stacking == <!--T:47-->
|BaseAttackFB=0


|PortionsEaten=3
<!--T:48-->
|IncubationTime=120
Food preservation benefits from methods, containers, and locations stack, so it is best to combine as many preservation solutions as possible. Generally, all food should be stored in a cellar.
|GrowthTime= 168


|DropCode1=Poultry
<!--T:49-->
|DropAvg1=1.25
{{Navbox|Vintage Story}}
|DropVar1=0.25
|DropCode2=Feathers
|DropAvg2=12
|DropVar2=4
|DropCode3=Bone
|DropAvg3=0.5
}}


:{| class="wikitable" style="width: 50%;"
</translate>
|-
! width="1%" | Section
! width="3%" | Parameter
! width="10%" | Description
|-
! rowspan="4" | Health
| style="text-align:center;"| Health Male
| rowspan="2" | When the health of the male and female entity are different values, they must be presented in separate rows.
|-
| style="text-align:center;"| Health Female
|-
| style="text-align:center;"| Health Male/Female
| When the health of both the male and female entity are the same, they must be presenten in one single row.
|-
| style="text-align:center;"| Health Baby
| The health of the baby entity
|-
! rowspan="5" | Attack
| style="text-align:center;"| Attack Male
| Damage produced by the base attack of the male entity
|-
| style="text-align:center;"| Attack Female
| Damage produced by the base attack of the female entity
|-
| style="text-align:center;"| Attack Male/Female
| When the damage of both the male and female entity are the same, they must be presenten in one single row.
|-
| style="text-align:center;"| Attack Female/Baby
| When the damage of both the female and baby entity are the same, they must be presenten in one single row.
|-
| style="text-align:center;"| Attack Baby
| Damage produced by the base attack of the baby entity
|-
! rowspan="4" | Characteristics
| style="text-align:center;"| Satiety to Mate
| Portions needed to be eaten from a trough before the entity is ready to mate.
|-
| style="text-align:center;"| Gestation Time
| Time before the pregnant entity gives birth.
|-
| style="text-align:center;"| Incubation Time
| Time before the eggs hatch.
|-
| style="text-align:center;"| Growth Time
| Time before the baby entity becomes a full adult.
|-
! Drops
| style="text-align:center;"| Drops
| Items the entity drops when looted
|}
[[Category:Infoboxes]]
</noinclude>

Revision as of 12:30, 6 October 2021


Most foods have a perish time, meaning they will spoil over time, losing nutritional value, and eventually turn into rot. To combat this, there are certain preservation methods to keep your food supply fresh, like special storage containers and cellars.

Shelf Life

Every kind of object has a different "perish time" which is composed of their “freshness time”, which is the time it takes for a fresh item to start spoiling; and their “spoilage time”, which is the time it takes for the item to turn into rot.

Meat
Image Item Perish Time Rot produced after spoiling
Freshness Time (hours) Spoilage Time (hours)
Grid redmeat raw.png Raw Meat 36 24 1


Factors affecting food spoilage

Climate

The climate in which the food is stored affects the rate of food spoilage. Hot climates can increase the decay rate up to 2.5x (250%), while very cold climates can reduce the decay rate down to 0.1x (10%). Only the climate at sea level is considered, so placing your food high up in the mountains will have no effect if the mountain is in a hot climate.

You can however completely negate the impact of climate by building a cellar.

Food type

Different types of foods have different lifetimes. Food items remain 100% fresh for a specific time period (shown in the table below). After this time, food items begin to decay at a rate affected by storage containers, storage locations, and climate conditions. As food items decay, they lose nutrition value and will eventually become "rot".

Food Freshness time, hours
Raw meat 36
Cooked meat 120
Cured meat 8760
Vegetable 504
Pumpkin 216
Onion 672
Cooked Cattail Root 48
Pickled vegetable 1800
All Other Fruits 48
Cranberries 96
Soybeans 8760
Pickled soybeans 4320
Grains 2160

Note that unlike other pickled items pickled soybeans decay faster, but can be eaten without further cooking, unlike raw soybeans.

Food preservation methods

Due to the different components in foods, there are different methods to preserve each type or category of food. Almost all types of food items can be stored in the form of cooked meals, but it is not always practical to cook all food items into meals.

Salt Curing (Preserving Meats)

Curing meats requires a barrel, salt and the raw meat to preserve. Each unit of meat requires two units of salt, i.e. 32 meat = 64 salt. After adding the appropriate ingredients into the input slot of the barrel, the GUI will state the process yield. At this point the barrel must be sealed for 480 hours to complete the curing process.

Pickling (Preserving Vegetables)

Pickling vegetables requires a barrel, a bucket, salt, water, and the vegetables to preserve. Water and salt are mixed in the barrel to make brine before adding the vegetables. Otherwise, the process of pickling is very similar to salt curing. Each vegetable or legume uses one unit of brine and the barrel must remain sealed for 336 hours.

Once the food items are pickled or salt preserved, they can be stored in any stationary container, though storage vessels are best.

Jam (Preserving Berries)

Making jam requires a cooking pot, a bucket, honey, and berries. Berries can be stored by making jam, which is prepared in the cooking pot. See the cooking page for the jam recipe. For longest shelf life, Jam should be stored in a sealed crock.

Cheese (Preserving Milk)

Milk can be turned into cheese by processing it in several steps with pickled vegetables and salt in a barrel.

Food preservation containers

While food can be stored in any stationary container, storage vessels are best for storing grains and vegetables. Storage vessels and crocks are fairly easy to make, requiring only clay. However to increase the shelf life of meats and vegetables, combining preserving methods with containers is best.

Crocks

Up to 4 portions of meals or pickled vegetables can be stored in crocks providing a slight reduction in food decay, which is a good option for short term food storage. For long term storage, sealing the crocks with a lump of fat or beeswax above the crock in the crafting grid reduces decay by a factor of 10. Filled crocks may be carried in player inventories.

For convenience you can build shelves that can hold up to 8 crocks at a time.

Storage Vessels

Any food item can be stored in vessels, which provide storage benefits to preserved foods as well as raw foods. These vessels are good options for short and long term food storage as they reduce decay 75% for veggies and 50% for grains.

Removing the Rot from Bowls, Pots and Crocks

You just need to throw it in water and wait for a few seconds, the rot will float out of the container. For sealed crocks, you need to unseal it first (getting a food portion with a bowl).

Food preservation locations

To negate the impact of a warm climate, build a cellar. Cellars have a fixed temperature of 5°C or colder if the ambient temperature is lower, meaning you will only profit from a cellar if the outside temperature is higher then 8°C in the first place.

Cellars

Typical layout of a cellar filled with Crocks on shelves, storage vessels, chests and 2 barrels of pickled food

To maximize the cellar effect when building:

  • Build the walls from soil, ceramic, or stone materials.
  • Keep door/trapdoor count low. The best is no doors/trapdoors, and instead use dirt or hay as full-block fillers. The less light inviting openings the cellar has, the better - additionally, doors do not count as a soil or stone block and thus lower the efficiency, even if they do not let in sunlight.
  • Keep the sun light level inside the cellar low as it can raise the temperature by up to 10°C, thus influencing spoilage rate. Artificial lights like lanterns, torches and oil lamps are fine. Thus, building a cellar under ground can help reduce the sunlight, but it doesn't give a bonus solely on building underground - cellars can be located aboveground, as long as they are save from the sun.
  • Cellars should be no larger than 7x7x7 blocks inside. If the room exceeds these dimensions, it will not be recognized as a cellar. Only the direct walls count, the corner rows can be left out without affecting the room recognition.

Once a cellar is created any food items may be placed on a shelf or inside containers. All items stored in the cellar will receive equal food decay reduction. Players can verify the storage benefit by looking at the block info HUD of a shelf or storage container. It will display something like Stored food perish speed: 0.25 - which in this case means food will last 4 times longer.
Keep in mind that spoilage rates in a cellar might actually vary from block to block, if there is sunlight reaching the cellar in some way.

Effect stacking

Food preservation benefits from methods, containers, and locations stack, so it is best to combine as many preservation solutions as possible. Generally, all food should be stored in a cellar.


{{{title}}}