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..."
No edit summary
(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...")
 
(5 intermediate revisions by 3 users not shown)
Line 6: Line 6:


<!--T:14-->
<!--T:14-->
Players can check the ambient temperature in the Character screen.
Players can check the ambient temperature in the Character screen with {{Keypress|C}}.


== World generation == <!--T:15-->
== World generation == <!--T:15-->
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 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.
* 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.


<!--T:30-->
<!--T:30-->
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.
Players can use the console command {{ic|/debug rooms hi}} and {{ic|/debug rooms unhi}} to highlight valid rooms. This is useful when trying to figure out whether or not a given space is considered a valid room.


==Effect on plants== <!--T:8-->
==Effect on plants== <!--T:8-->
Line 94: Line 93:
{| class="wikitable"
{| class="wikitable"
|-
|-
! <translate>Detailed look at body temperature</translate>
! <translate><!--T:35--> Detailed look at body temperature</translate>
|-
|-
| <youtube width="400" height="240">FIzm31iKAug</youtube>
| <youtube width="400" height="240">FIzm31iKAug</youtube>
|}
|}
<translate>
<translate>
== Notes ==
== History ==
* Prior to 1.19, slanted roof blocks did not count towards enclosing a room; a player needed to add full blocks or slabs below them to create a ceiling between the room and the attic.
== References ==
<references />


</translate>
</translate>
{{Game navbox}}
{{Game navbox}}
[[Category:Guides{{#translation:}}]]
[[Category:Guides{{#translation:}}]]
Confirmedusers, editor
1,052

edits