Temperature: Difference between revisions

From Vintage Story Wiki
m (The max size of the room has changed)
(Rewrote Enclosed Room for better flow, better explanation, included room debug command)
Line 18: Line 18:


===Enclosed Rooms=== <!--T:5-->
===Enclosed Rooms=== <!--T:5-->
Staying in enclosed rooms will benefit the player, as their body temperature will be raised by 1°C as long as they stay inside.<br>
A room is considered completely enclosed if there are no openings and less than 50% skylight. This means, a room must fulfill the following criteria:
* the room cannot have any entrances except from those closed by a door or trapdoor
* the room needs to be completely closed of by solid block faces, meaning all the walls need to be complete, without any holes created by slabs or stairs - however, if the full faces of slabs or stairs are located to the inside of the room, they will count.
* Chiseled blocks count as valid blocks for rooms, with the following limitations: The inward facing side must be almost solid (less than 20 voxels missing), at least 50% of the blocks volume must be retained, you still need to use the right materials, e.g. stone for cellars.
* windows in the walls count as enclosing elements, however if they are in the roof, they cannot take up more than 50% of the roof size
* unfortunately, slanted roof blocks do not count towards an enclosed room and will need full blocks below them to fill the space
* the room can be a maximum size of 14x14x14, or specifically, any point of the room needs to be 14 Manhattan distance away from the rooms walls, counting from and including the starting point - with this counting system, diagonals count as 2 blocks


<!--T:6-->
Staying in enclosed rooms will benefit the player, as their body temperature will be raised by 1°C as long as they stay inside. Room calculation is quite generous in version 1.18.0, and enclosed rooms can be far larger than a [[cellar]] or [[greenhouse]]. The warming range of firepits will be larger indoors then outside (since version v1.14.8-rc.1) - effectively enabling the player to warm up a room if there is a burning firepit in it.
Additionally, the warming range of firepits will be larger indoors then outside (since version v1.14.8-rc.1) - effectively enabling the player to warm up a room if there is a burning firepit in it.
 
A room is considered completely enclosed if there are no openings and less than 50% sunlight inside. This means an enclosed room must fulfill the following criteria:
 
* The room cannot have any entrances aside from a door or trapdoor (rough doors do not count)
* The room needs to be completely closed off by solid block faces. All the walls need to be complete, without any holes created by slabs or stairs - however, if the full faces of slabs or stairs are located to the inside of the room, they will count
** Chiseled blocks count as valid blocks for rooms, with the following limitations: The inward facing side must be almost solid (less than 20 voxels missing), and at least 50% of the blocks volume must be retained
** Glass blocks in the walls count as enclosing elements; however, since they let in light, they cannot make up too much of the roof for an enclosed room
** Slanted roof blocks do '''not''' count towards an enclosed room and will need full blocks below them to fill the space
* The room can be a maximum size of 14x14x14. Specifically, any point of the room cannot be more than 14 blocks (counting inclusively) away from the room's walls. Diagonals for this calculation count as 2 blocks long.
 
Players can use the console command {{ic|/roomregdebug hi}} and {{ic|/roomregdebug unhi}} to highlight valid rooms. This is useful when trying to figure out whether or not a given space is considered a valid room.


===Heating=== <!--T:7-->
===Heating=== <!--T:7-->