I think that's it. I've tested with your save and Ming is indeed able to rest in a shop.Interkarma wrote: ↑Fri Jan 07, 2022 10:29 pm I can reproduce with attached save. Maybe related to character being a Knight and free room check?
I added a Debug.Log call and since you're a member of the FightersGuild, you're allowed to rest there according to the code.
Code: Select all
Got guild for faction id: 510, social group: Merchants, guild: FightersGuild
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
Resting allowed because guild member - factionID = 510
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
Code: Select all
// Check for guild hall rest privileges (exclude taverns since they are all marked as fighters guilds in data)
if (playerEnterExit.BuildingDiscoveryData.buildingType != DFLocation.BuildingTypes.Tavern &&
GameManager.Instance.GuildManager.GetGuild(playerEnterExit.BuildingDiscoveryData.factionID).CanRest())
{
playerEnterExit.Interior.FindMarker(out allocatedBed, DaggerfallInterior.InteriorMarkerTypes.Rest);
return true;
}