this.Bedroom = this.Add(new RoomType(nameof (Bedroom), (string) ROOMS.TYPES.BEDROOM.NAME, (string) ROOMS.TYPES.BEDROOM.DESCRIPTION, (string) ROOMS.TYPES.BEDROOM.TOOLTIP, (string) ROOMS.TYPES.BEDROOM.EFFECT, Db.Get().RoomTypeCategories.Sleep, RoomConstraints.HAS_LUXURY_BED, new RoomConstraints.Constraint[6] { RoomConstraints.NO_COTS, RoomConstraints.NO_INDUSTRIAL_MACHINERY, RoomConstraints.MINIMUM_SIZE_12, RoomConstraints.MAXIMUM_SIZE_64, RoomConstraints.DECORATIVE_ITEM, RoomConstraints.CEILING_HEIGHT_4 }, new RoomDetails.Detail[2] { RoomDetails.SIZE, RoomDetails.BUILDING_COUNT }, 1, new RoomType[1]{ this.PrivateBedroom }, effects: new string[1]
This is the dbRoomType entry for a luxury barrack which uses the Bedroom id
But then the roomSleepingEffects uses Luxury Barracks as the key instead of Bedroom, so it never matches when it tries to add effects:
public static readonly Dictionary<string, string> roomSleepingEffects = new Dictionary<string, string>() { { "Barracks", "BarracksStamina" }, { "Luxury Barracks", "BarracksStamina" }, { "Private Bedroom", "BedroomStamina" } };
A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now