Room: Difference between revisions
(Slightly misread the code, updating with the fact that it’s easier to get the bonuses to warmth than previously said.) |
(Edited the section on greenhouses re: placing water blocks underneath walls. Previous text was suggesting that water under walls was not counted in the room size calculations, when this is not the case since farmland does not count as a full block. users with 13x13 or 14x14 greenhouses are unable to replace blocks under walls with water without invalidating their rooms.) |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 15: | Line 15: | ||
<!--T:44--> | |||
If the player is in a room that has either no holes or a skylight score of less than 50%, including something like a small cave, | If the player is in a room that has either no holes or a skylight score of less than 50%, including something like a small cave, | ||
Line 22: | Line 23: | ||
* While sleeping, {{ll|Temperature#Body_temperature|player body temperature}} will slowly adjust towards normal. | * While sleeping, {{ll|Temperature#Body_temperature|player body temperature}} will slowly adjust towards normal. | ||
<!--T:45--> | |||
Additionally, but only when players are in a fully enclosed room, the increased hunger rate from harsh winters will be removed. | Additionally, but only when players are in a fully enclosed room, the increased hunger rate from harsh winters will be removed. | ||
Line 30: | Line 32: | ||
<!--T:41--> | <!--T:41--> | ||
Certain blocks have unique conditions for being counted as solid by the game. {{ll|Glass#Leaded_glass_pane|Leaded glass panes}}, {{ll|Door|doors}} | Certain blocks have unique conditions for being counted as solid by the game. {{ll|Glass#Leaded_glass_pane|Leaded glass panes}}, {{ll|Door|doors}} that aren't crude, sleek, or ruined doors, and {{ll|Trapdoor|trapdoors}} count as solid blocks, regardless of the position they are in or gaps they leave open. | ||
<!--T:42--> | <!--T:42--> | ||
Line 46: | Line 48: | ||
<translate> | <translate> | ||
<!--T:11--> | <!--T:11--> | ||
'''Greenhouses''' are structures intended to make {{ll|farming|farming}} crops possible in climates that drop below the pausing point of crops for part of the year. If built correctly, the farmland, {{ll|Fruit_tree|fruit trees}}, {{ll|Berry|berries}}, or {{ll|Beekeeping|beehives}} inside of the structure will | '''Greenhouses''' are structures intended to make {{ll|farming|farming}} crops possible in climates that drop below the pausing point of crops for part of the year. If built correctly, the farmland, {{ll|Fruit_tree|fruit trees}}, {{ll|Berry|berries}}, or {{ll|Beekeeping|beehives}} inside of the structure will behave as if the temperature inside is 5°C warmer than the current outside temperature, and the effect of +5°C will be visible as an additional line in the Block Info Overlay for tilled farmland. | ||
==== Creation ==== <!--T:12--> | ==== Creation ==== <!--T:12--> | ||
Line 56: | Line 58: | ||
<!--T:15--> | <!--T:15--> | ||
When building a greenhouse, water blocks placed between farmland counts as part of the height of the allowable 14x14x14 area - forgetting this can lead to the game not registering a newly-built greenhouse for being too large. | When building a greenhouse, water blocks placed between farmland counts as part of the height of the allowable 14x14x14 area - forgetting this can lead to the game not registering a newly-built greenhouse for being too large. Water sources can be placed underneath walls to hydrate farmland, although be aware that placing a water block under a wall extends the size of the room by 1 block since farmland does not count as a full block. If your greenhouse is at the maximum internal size of 14 blocks deep and 14 blocks wide, placing water blocks under all 4 walls will increase the size to 16x16, which invalidates it as a room and a greenhouse. | ||
</translate> | </translate> | ||
{{Protip | {{Protip | ||
Line 114: | Line 116: | ||
{{Protip|<translate><!--T:34--> Because there is no minimum size for a cellar, burying a vessel in a cube of soil is an extremely effective way of preserving food early-game. Just dig out the top block or a side block to access it, then replace it to seal it again. Make sure the vessel is surrounded on every side by a cooling block and never build with anything transparent or you won’t get the full bonus!</translate>}} | {{Protip|<translate><!--T:34--> Because there is no minimum size for a cellar, burying a vessel in a cube of soil is an extremely effective way of preserving food early-game. Just dig out the top block or a side block to access it, then replace it to seal it again. Make sure the vessel is surrounded on every side by a cooling block and never build with anything transparent or you won’t get the full bonus!</translate>}} | ||
<translate> | <translate> | ||
Shelves (for crocks etc) and chests don't count against the cooling score. | |||
Clay storage vessels give an additional benefit to vegetables and grains, but are no better than chests for storing protein, fruit, or dairy. | |||
==== Cheese Ripening ==== <!--T:35--> | ==== Cheese Ripening ==== <!--T:35--> | ||
Line 121: | Line 125: | ||
</translate> | </translate> | ||
{{Protip|<translate><!--T:37--> Remember if you’re trying to build an open-air cellar for ripening blue cheese, /debug rooms hi will always show those as red, but you can fill in the hole before using the command to check and make sure that it counts as a room, and then dig out the hole to make it open-air again. Placing the shelf as far away from the hole as possible and including a long and/or twisty corridor to get in and out of the cellar can help keep sunlight low as well.</translate>}} | {{Protip|<translate><!--T:37--> Remember if you’re trying to build an open-air cellar for ripening blue cheese, /debug rooms hi will always show those as red, but you can fill in the hole before using the command to check and make sure that it counts as a room, and then dig out the hole to make it open-air again. Placing the shelf as far away from the hole as possible and including a long and/or twisty corridor to get in and out of the cellar can help keep sunlight low as well.</translate>}} | ||
== Troubleshooting == | |||
By far, the most common reason for a room not behaving as expected is the choice of door: crude door and sleek door do not seal a room; solid door, trapdoor, and iron door do. | |||
Blocks less than full height, such as path blocks, should be avoided. | |||
Mods can sometimes interfere. TentBag-2.1.1 interfered with a room registering as sealed, even when the mod item was removed: "Picking up a structure and re-placing it in the same spot somehow destroys the ability to be a cellar in -that- spot. Move the structure to a new location? It's back to a perfect cellar." | |||
== References == | |||
<references /> | |||
{{Farming navbox}} | {{Farming navbox}} |
Latest revision as of 08:42, 22 October 2024
This page was last verified for Vintage Story version 1.19.5.
Rooms are a type of structure players may create for staying warm and avoiding the consequences of harsh winter , or to use as cellars or greenhouses.
The game checks through each block in a room to determine the sunlight level of each of the blocks inside the room and the coolness level of each of the blocks making up the walls, floor, and ceiling of the room. If it determines there are no open exits it will classify it as an enclosed room.
All valid rooms are enclosed rooms with the exception of open-air cellars for making blue cheese . All rooms additionally have a cooling score and a skylight score. These are largely relevant for two special room types, cellars and greenhouses.
If the player is in a room that has either no holes or a skylight score of less than 50%, including something like a small cave,
- Heat from a heat source extends farther out into the room,
- Wind no longer reduces player body temperature,
- While sleeping, player body temperature will slowly adjust towards normal.
Additionally, but only when players are in a fully enclosed room, the increased hunger rate from harsh winters will be removed.
Creation
Any fully-enclosed space whose interior volume fits within a 14x14x14 bounding box may be counted as a room by the game when all sides of the room are made up of solid blocks with no gaps or holes at all.
Certain blocks have unique conditions for being counted as solid by the game. Leaded glass panes , doors that aren't crude, sleek, or ruined doors, and trapdoors count as solid blocks, regardless of the position they are in or gaps they leave open.
Slabs are counted as solid on the side that is flush with other blocks but not on any others, however if the flush side faces the outside instead of the inside of the room then the game will count the block that slab is in as part of your room and check that it is within the bounding box.
Faces of Chiseled blocks only need to be "almost solid", meaning that no more than 32 voxels are missing from that face in total, to count as solid. As long as you have at least 50% of the total volume of the block filled in with voxels and the game sees the inward or outward face of the block as solid it will count the block itself as solid.
Protip:
You can use the /debug rooms hi command to check if the room you’re standing in counts as a valid room. If it highlights green you did it correctly and it will count as an enclosed room, if it highlights red something is wrong and it doesn’t see a room. Use /debug rooms unhi to remove the highlighting! |
Greenhouse
Greenhouses are structures intended to make farming crops possible in climates that drop below the pausing point of crops for part of the year. If built correctly, the farmland, fruit trees , berries , or beehives inside of the structure will behave as if the temperature inside is 5°C warmer than the current outside temperature, and the effect of +5°C will be visible as an additional line in the Block Info Overlay for tilled farmland.
Creation
Greenhouses require a skylight score of at least 50%, meaning it is impossible to build one completely covered underground. Greenhouses that are set one block below ground level will still incur the underground farming penalty , if that was turned on during world creation, no matter how much sunlight it receives.
When building a greenhouse, water blocks placed between farmland counts as part of the height of the allowable 14x14x14 area - forgetting this can lead to the game not registering a newly-built greenhouse for being too large. Water sources can be placed underneath walls to hydrate farmland, although be aware that placing a water block under a wall extends the size of the room by 1 block since farmland does not count as a full block. If your greenhouse is at the maximum internal size of 14 blocks deep and 14 blocks wide, placing water blocks under all 4 walls will increase the size to 16x16, which invalidates it as a room and a greenhouse.
Protip:
Every block checks if it’s in a greenhouse after a maximum of 4 in-game hours, give or take a few seconds. Therefore, it might take a little time before the +5°C buff appears on the blocks inside of the structure, and not all blocks will be updated simultaneously. |
Skylight Score
Any blocks inside the room that have at least as much sunlight as outside the room will count toward the skylight count. The total skylight score is determined by dividing the skylight count by the total volume of blocks inside the room. Player-created light sources , such as torches and lanterns, have no impact on skylight score. Common blocks used to allow in light include glass blocks and leaded glass panes .
Protip:
While more complicated layouts will work, the simplest way to ensure you get a skylight score of at least 50% is to make it so at least half of the blocks in your ceiling allow sunlight through. Even glass slabs will work as long as the solid sides close all gaps or holes. Even glacier ice allows light in, although maybe not as much as glass! |
Cellar
Cellars are used to store any goods that will spoil at a much slower spoil rate compared to non-cellar rooms, or outdoors.
Creation
When detecting a room the game will make extra checks to see if the room is small enough to be a cellar. Normally this is anything within a 7x7x7 cube, but it is possible to build up to 9 blocks wide in a single direction so long as the total volume of all the blocks inside the cellar is no more than 150.
Cellars do not need to be underground to work, however since sunlight levels can affect cellar effectiveness, it may be easier to dig an underground cellar than to create an above-ground one.
Protip:
When building a cellar you can check if your chiseled blocks will count as insulating parts of a solid wall in-game by pointing at the block face on the chiseled block to see if it says "Insulating Block Face"! |
Cooling Score
Any blocks may be used to create a cellar, but different blocks have different insulation values. Blocks in the stone , soil , ceramic , or ore classes are the best insulators, and will each add 1 to the cooling block total. The one exception being farmland which gives 3 to the non-cooling block total, as do trapdoors. Airtight doors add 3 per block of space they occupy when open and 1 per block when closed to the non-cooling block total. The game creates the cooling score by dividing the non-cooling block total by the cooling block total and capping the number at 1, for 100%.
Protip:
Because of the way the game searches for insulating walls, any blocks built inside the cellar that have a full face and that aren’t insulating will lower your score! So make sure that if you’re going to build walls, platforms, or shelving to hold things like barrels and vessels that you build them out of insulating materials, or you use the chisel to make them no longer count as solid walls! Open doors count against your score more than any other kind of block as well so make sure to use doors sparingly and to keep them closed whenever possible. |
As a result, the most effective cellars are made of highly insulating blocks (stone, soil, ceramic or brick, ore) and are closed with airtight doors.
Food Preservation
The main use of cellars is for food preservation, however cellars reduce the rate of spoilage for any good stored inside whether it is a food or not. This reduced rate of spoilage stacks with container types , so placing storage vessels and sealed crocks into a cellar can drastically extend the shelf-life of any food inside them.
When calculating how fast food will spoil in a cellar, the game first creates a cellar effectiveness score, which starts at 100%. Up to 40% can be deducted based on the skylight score (that is, the amount of sunlight the cellar receives), and up to 50% can be deducted based on the cellar's cooling score.
The air temperature inside the cellar will never be greater than the air temperature outside. When the effectiveness of the cellar is 100%, the air temperature will cap at 5°C. Otherwise the game will calculate air temperature inside the cellar based on the effectiveness score and skylight score, in addition to how much sunlight is in the container block being affected.
Protip:
Because there is no minimum size for a cellar, burying a vessel in a cube of soil is an extremely effective way of preserving food early-game. Just dig out the top block or a side block to access it, then replace it to seal it again. Make sure the vessel is surrounded on every side by a cooling block and never build with anything transparent or you won’t get the full bonus! |
Shelves (for crocks etc) and chests don't count against the cooling score. Clay storage vessels give an additional benefit to vegetables and grains, but are no better than chests for storing protein, fruit, or dairy.
Cheese Ripening
Cellars can also used to ripen cheese, by lowering its perish rate until it can ripen before it spoils. Cheese can only ripen when placed onto a shelf with a perish rate of 0.5x or lower. Cheddar does not have to be made in a cellar and can be made outside if it is cold enough, while blue cheese must be made in a special kind of open-air cellar with at least one open exit and the shelf must have a sunlight level below 2. This special open-air cellar will not count as an ordinary room, so it will not get the normal bonus for cooling. Blue cheese still needs to be ripened with a perish rate of 0.5x or lower, however, so blue cheese can only be ripened when it is cold enough outside to lower the perish rate to the necessary level.
Protip:
Remember if you’re trying to build an open-air cellar for ripening blue cheese, /debug rooms hi will always show those as red, but you can fill in the hole before using the command to check and make sure that it counts as a room, and then dig out the hole to make it open-air again. Placing the shelf as far away from the hole as possible and including a long and/or twisty corridor to get in and out of the cellar can help keep sunlight low as well. |
Troubleshooting
By far, the most common reason for a room not behaving as expected is the choice of door: crude door and sleek door do not seal a room; solid door, trapdoor, and iron door do.
Blocks less than full height, such as path blocks, should be avoided.
Mods can sometimes interfere. TentBag-2.1.1 interfered with a room registering as sealed, even when the mod item was removed: "Picking up a structure and re-placing it in the same spot somehow destroys the ability to be a cellar in -that- spot. Move the structure to a new location? It's back to a perfect cellar."
References
Farming | |
---|---|
Wild foods | Berries • Cactus (saguaro) fruit • Mushrooms • Cattail (and papyrus) |
Grains | Amaranth • Cassava • Flax • Rice • Rye • Spelt • Sunflower |
Vegetables | Cabbage • Carrot • Onion • Turnip • Parsnip • Peanut • Pumpkin • Soybean |
Fruits | Fruit trees • Pineapple |
Other | Fertilizer • Beekeeping • Room |
Tools | Hoe • Scythe • Fruit press |
See also | Animal husbandry • Cooking • Food preservation |
Wiki Navigation | |
---|---|
Vintage Story | Guides • Frequently Asked Questions • Soundtrack • Versions • Controls |
Game systems | Crafting • Knapping • Clay forming • Smithing • Cooking • Temperature • Hunger • Mining • Temporal stability • Mechanical power • Trading • Farming • Animal husbandry |
World | World generation • Biomes • Weather • Temporal storms |
Items | Tools • Weapons • Armor • Clothing • Bags • Materials • Food |
Blocks | Terrain • Plants • Decorative • Lighting • Functional • Ore |
Entities | Hostile entities • Animals • NPCs • Players |
Miscellaneous | List of client commands • List of server commands • Creative Starter Guide • Bot System • WorldEdit • Cinematic Camera • Adjustable FPS Video Recording • ServerBlockTicking |