Temperature: Difference between revisions

From Vintage Story Wiki
Bossman Zero examined the code for rooms and reported: The "less than 50% sunlight inside" part on the wiki is completely wrong. The code only checks if all of the dimensions are 14 blocks or less, then marks it as a room. Then it checks if the dimensions are small enough to count it as a cellar, and if the ceiling has at least 50% blocks allowing skylight through to count as a greenhouse. And a room can potentially meet all these criteria..."
m (added sections)
(Bossman Zero examined the code for rooms and reported: The "less than 50% sunlight inside" part on the wiki is completely wrong. The code only checks if all of the dimensions are 14 blocks or less, then marks it as a room. Then it checks if the dimensions are small enough to count it as a cellar, and if the ceiling has at least 50% blocks allowing skylight through to count as a greenhouse. And a room can potentially meet all these criteria...")
 
Line 48: Line 48:


<!--T:27-->
<!--T:27-->
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 {{ll|cellar|cellar}} or {{ll|greenhouse|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.
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 {{ll|cellar|cellar}} or {{ll|greenhouse|greenhouse}}. The warming range of firepits will be larger indoors then outside (since version v1.14.8-rc.1) - enabling the player to efficiently warm up a room if there is a burning firepit in it.


<!--T:28-->
<!--T:28-->
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:
A room is considered completely enclosed if there are no openings. An enclosed room must fulfill the following criteria:


<!--T:29-->
<!--T:29-->
Line 57: Line 57:
* 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
* 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
** 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 count towards enclosing a room
** Slanted roof blocks count towards enclosing a room
* 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.
* 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.
Confirmedusers, editor
1,052

edits