Room

Room - forms when a space of at least 3 tiles, or at most 400 tiles, is enclosed by walls and/or doors. Rooms have 6 ratings, which can be viewed by clicking on their enclosed space.
==Ratings==
Rooms have 6 ratings which define them.
===Size===
Room Size	Minimum Tiles	Maximum Tiles	Smallest Square	Smallest Rectangle
Tiny 	3 	9 	2x2 	1x3
Narrow 	10 	19 	4x4 	2x5
Medium 	20 	49 	5x5 	4x5
Large 	50 	99 	8x8 	5x10
Huge 	100 	400 	10x10 	10x10
===Temperature ===
Room Temperature is uniform across the whole space as opposed to localized around objects. Otherwise, it is calculated in the same way.
===Quality ===
Room QualityXiaWorld.GameDefine.ImpressionValueDesc is calculated using the average Tier of the Buildings, Items and Plants in the room. Walls are not taken into account.
Room Quality	Average Tier Threshold
Bareboned 	1
Common 	2
Refined 	4.5
Luxurious 	8
===Layout===
Room LayoutXiaWorld.GameDefine.LayoutValueDesc is determined by the number of tiles in the room occupied by Buildings. This only counts the tiles occupied by Buildings and not the tiles Disciples may stand on. Items on the ground, or those in Storage Areas, do not count for Room Layout.
Room Layout	Minimum Percentage	Maximum Percentage
Empty 	0% 	19.75%
Normal 	20% 	69.75%
Full 	70% 	100%
Shendao Breakthroughs need approximately 45% of the tiles occupied for the maximum Layout bonus, the very center of the "Normal" region.
===Attractiveness===
Room AttractivenessXiaWorld.GameDefine.BeautyValueDesc is determined by the average Attractiveness of the Room. This takes into account the Attractiveness of Walls, Doors and all tiles in the Room including Walls and Doors. It is important to note that Floorings have a base value of 4 Attractiveness as well, but due to a bug the Flooring Attractiveness is not taken into account until you exit and reenter the map (saving and loading will work).
Room Attractiveness 	Average Attractiveness Threshold
Devastated 	< 0
Ugly 	0
Common 	1
CommonDue to a bug in the game, as of 1.205, the Beautiful rating is also called Common	3
Magnificent 	8
Also note that corner Walls can be omitted to make it easier to reach a rating of Magnificent, as that lowers the Room's total area and increases the average Attractiveness.
===Feng Shui===
If the Room has a Feng Shui Building in itXiaWorld.GameDefine.RoomFengShuiRankMap, it gains a Feng Shui rating, also known as Auspiciousness. Auspiciousness is determined by: 
*The average Feng Shui Rating of contained Feng Shui Buildings
**Individual buildings contribute to the average using these values: +8 (Very Auspicious), +6, +4, -6, -8, -12 (Very Ominous)
*Door Orientation (according to room type, +3 or -3)
*Feng Shui Leakage (multiple doors +0 or -3)
*Room Layout (Emptiness/Crampedness, +3 or -4)
*Using Mineral tiles as part of the WallsXiaWorld.AreaRoom.DoUpdateDate() -> m_bWallHasMine: +1
* Contained Feng Shui Spirit Relics (+30 or -30)
Min Score	Max Score	Feng Shui rating
13 	 	Very Auspicious
8 	13 	Auspicious
3 	8 	Slightly Auspicious
-2 	3 	Slightly Ominous
-6 	-2 	Ominous
 	-6 	Very Ominous
==== Room Type ====
Depending on the Feng Shui Buildings present within the room, the room may be assigned various Room Types, such as Workshop or Kitchen. Some of those types need the door to face a specific direction, otherwise Auspiciousness will suffer. 
Multiple room types can apply to a single room, in which case all requirements must be met simultaneously for the Feng Shui bonuses to apply. The None room type only applies if all buildings in the room are of the None type. If any building with a restrictive door orientation is built within the room, the None room type no longer applies. 
Room Type
RoomKind 	Spirit Relic Description 	Requirements 	Door Direction
None
None 	StorageFor the purposes of determining Relics activation conditions, since the "Storage" room type is not implemented in-game, all relic requirements that reference "Storage" instead refer to the None room type. An actual Storage Area is not required in the room.	Water Vat, Table, Qi Cushion, Training Dummy, Observatory, or any Feng Shui Building not otherwise specified below.	Any
Storage (not implemented in-game)Only in the game code, as Storage Areas are not Feng Shui Buildings and therefore cannot affect room Feng Shui.	N/A 	Storage Area 	North
Artifact Pavillion
BaoRoom 	the Crafting Table 	Crafting Table 	East
Alchemy Lab
DanRoom 	the Alchemy Furnace 	Alchemy Furnace, Small Furnace 	East
Workshop
WorkRoom 	a kind of workshop table 	Talisman Table, Well, Bonfire, other Workstations 	East
Founder's Hall
AncestorRoom 	Grandmaster's Shrine 	Ancestral Shrine, Ascended Demigod Statue, Deity's Body 	South
Bedroom
BedRoom 	a CushionDespite the description, cultivating cushions such as Cushion and Qi Cushion do not qualify as they do not have the BedRoom tag. or Bed 	Bed, Double Bed, Bamboo BedDLC 	South
Kitchen
Kitchen 	the Stove 	Stove 	West
====Feng Shui Leakage ====
When a room has more than one door leading outside, it will have a large penalty to its overall Feng Shui due to Feng Shui Leakage. A room without a Feng Shui rating is considered outside. Otherwise, if no door leads outside, the Feng Shui of the room will be decided by the door closest to the correct direction.
It will also invalidate the bonus the room would normally get for the door being the correct direction for the room type, replacing it with a maximum penalty, even if all the doors are facing the right direction.
For doors that link to an inside room , the Feng Shui leakage mechanic is inactivated for that specific door. This allows rooms with multiple doors to remain Very Auspicious. Rooms with multiple doors must still have one door pointing in the correct direction for each Room Type that it possesses. 
Double doors (or any number of adjacent doors) do not give this penalty, as the game considers two adjacent doors to be one door.
====Room Layout (crampedness) ====
The amount of empty space in a room matters. If there is too much, or too little, empty space in a room, you get a debuff to the room’s Feng Shui.
The third descriptor after the room quality indicates whether a room is too full or too empty. Whether it’s full or empty, it gives the same debuff to Feng Shui for crampedness, so use the room details to determine whether you need to take some decorations out of the room or add some more. Positive crampedness requires 30 to 70% of room to be filled. It will show as Normal value for Room Layout descriptor.
====Spirit Relics====
A compatible Feng Shui relic will greatly boost the Auspiciousness of a room. For Spirit Relics, this will also add Positive Channeling of the Nurturing effects for anyone in the room.
An incompatible Feng Shui relic will greatly reduce the Auspiciousness of a room. For Spirit Relics, this will also add Negative Channeling (reverse of the effects listed) of the Nurturing effects for anyone in the room. This happens when the requirements of the Spirit Relic are not met, either due to failing the requirements, or being in a room with no Feng Shui. This can be used to create a Suppression Room, which intentionally uses multiple spirit relics with negative channeling to boost or reduce statistics. 
====Example of a Very Auspicious room====
Early rooms are quite important especially with a mood buff from positive Feng Shui. You can check example of Very Auspicious room - outers simple dormitory - on the right image.
Room components by Element:
* Earth element (Brownstone Blocks):
**decorations - oil lamp
**wall
**door
**flooring - its element is only important below Feng Shui building/node (every bed here)
*Metal element (Iron Bars) - beds only
Considering the Feng Shui elements interaction, it can be seen that Feng Shui nodes (beds, metal) have their tiles full of the begetting element (earth). Every bed from this example is Very Auspicious.
==Rating Effects==
A Room's ratings have an effect on the Mood of its occupants. They also affect the end result of a Shendao Cultivator's Creation Breakthrough. An ominous Feng Shui rating can also give Outer Disciples and Animals a heart attack when sleeping, killing them, and hurting inners when Cultivating.
==References==
Category:Feng Shui
Category:Rooms