Bedroom

A **Bedroom** is a sleeping Room for either your Disciples, or Guests. The room containing the Bed assigned to the NPC is considered their bedroom.

## Importance

The bedroom has unique constant Moodlets associated to it, which makes them important even when they're not used as sleeping places, as is the case for Cultivators as they can sleep while Cultivating. It also helps to keep the mood of Guests high, for the Hotel Taiyi Sect raising method or in general.

Due to the vagueness of the wording, one may believe those constant moodlets are related to the room the NPC currently is, but they are always only related to their bedroom.

It also gives an unique and constant Feng Shui effect, which mostly matters for Outer Disciples.

Finally, the room has an impact on Sleep quality, which also governs some moodlets.

## Feng Shui

For good Feng Shui, the door of a bedroom should face south.

For non-cultivators, sleeping in an ominous to very ominous bedroom can give heart attacks. For cultivators cultivating on their Bed (which should not happen, use a Cultivation Room), an ominous to a very ominous room can cause Qi Overflow.

### Feng Shui buff

Depending on the Feng shui of the bedroom, a different buff is applied to the NPC.

* +500% Sweetdream Occurring Chance (`AddP`)
* -80% Nightmare Occurring Chance (`AddP`)
* -20% Leisure loss over time (AddP)
* +40% Energy Replenishment Bonus (AddP)
* -80% Mining Injury Chance, Construction Injury Chance and Forging Injury Chance (AddP)
 Auspicious
* +300% Sweetdream Occurring Chance (`AddP`)
* -50% Nightmare Occurring Chance (`AddP`)
* -10% Leisure loss over time (AddP)
* +20% Energy Replenishment Bonus (AddP)
* -50% Mining Injury Chance, Construction Injury Chance and Forging Injury Chance (AddP)
 Slightly Auspicious
* +100% Sweetdream Occurring Chance (`AddP`)
* -20% Nightmare Occurring Chance (`AddP`)
* -5% Leisure loss over time (AddP)
* +20% Energy Replenishment Bonus (AddP)
 Slightly Ominous
* -20% Sweetdream Occurring Chance (`AddP`)
* +100% Nightmare Occurring Chance (`AddP`)
* +20% Leisure loss over time (AddP)
* -20% Energy Replenishment Bonus (AddP)
 Ominous
* -50% Sweetdream Occurring Chance (`AddP`)
* +300% Nightmare Occurring Chance (`AddP`)
* +30% Leisure loss over time (AddP)
* -30% Energy Replenishment Bonus (AddP)
* +300% Mining Injury Chance, Construction Injury Chance and Forging Injury Chance (AddP)
 Very Ominous
* -80% Sweetdream Occurring Chance (`AddP`)
* +500% Nightmare Occurring Chance (`AddP`)
* +50% Leisure loss over time (AddP)
* -50% Energy Replenishment Bonus (AddP)
* +500% Mining Injury Chance, Construction Injury Chance and Forging Injury Chance (AddP)
* -2 Social Contact level (AddV) - this is not the Social skill level but affects the chance of positive interactions between sect members

### Feng shui Moodlets

A constant Moodlet is associated to the Auspiciousness of the bedroom.

There's also specific moodlets related to the crampedness of the bedroom.

 0

## Other Moodlets

### No bedroom

The bedroom moodlet is linked to the room in which the NPC-owned bed is, so it requires both the NPC to have a bed and that bed to be in a wall-enclosed room. In case the NPC doesn't have a room, they'll receive the following moodlet:

* -30 Room Needed ("I need a room!")

### Bedroom sharing

In case the NPC is a cultivator, they can always share their room with their Spouse or Lover. If they share a room with an outer disciple that's neither, they'll get the following Moodlet:

* -25 Living With Outer Disciples ("The outer disciples are proving more of a distraction than anything else... I hope to move out of this living situation soon.")

If they share a room with another cultivator, but they don't know them or their relationship with that cultivator is strictly less than 75, they'll get the following Moodlet

* -25 (Max -37.4, Stacks 5), Awkward Cohabitation ("[TXT] and I really aren't even able to be conducting practice in the same room.")

Otherwise, when sharing the room with a cultivator with which they have a relationship of 75 or more, they get no moodlet.

### Bed Sharing

Whenever two NPCs share a Double Bed and use the bed together , they'll both get a moodlet when the second enters the bed depending on their relationship.

 +5
 Lovers

Moreover, the last one to enter the bed will have a disturbed Sleep if they're strangers.

### Bedroom Impression

An Impression factor is calculated from

1

R
o
o
m
A
t
t
r
a
c
t
i
v
e
n
e
s
s
R
o
o
m
B
e
a
u
t
y

8

{\displaystyle 1 + \frac{RoomAttractiveness + RoomBeauty}{8}}

, where RoomAttractiveness is its Attractiveness value, limited to 8, and RoomBeauty is its Quality, limited to 8 as well. The Attractiveness can be directly seen in-game with the MoreGridInfo Mod. The moodlet will be set depending on the result.

 +15
 +8
 +4
 -10

## References

1. ↑ `XiaWorld.Npc.SetBed()` calls `AddOwner` both for the bed itself and the room it is in, which itself calls `XiaWorld.AreaRoom.UpdateFengshuiModifier()`, adding the moodlet, so the moodlet is based on the room, not the bed.
2. ↑ `XiaWorld.Npc.MyRoom`
3. ↑ `XiaWorld.GameDefine.CanShareThisRoom() & XiaWorld.NpcFeeling.CannotShareRoom()`
4. ↑ `XiaWorld.ToilTakeRest.OnEnterToil()`
5. ↑ `XiaWorld.NpcFeeling.Step()`
6. ↑ Settings\Npc\Moods\Moods\_Evaluate.xml