Jump to content

Are Abernathy default beds counted as 'outside' still?


Recommended Posts

Posted (edited)

I was wondering about the happiness level of Abernathy and stumbled onto a couple posts discussing the default beds being incorrectly assigned as being 'outside,' thus incurring a happiness penalty.
I just went through the UFO4P changelog and only found the fix with bed assignment (different issue).

Is it true that the beds are being incorrectly tagged as being outside? Is this a fixable bug?

TIA!

 

Edit - Looks like it's definitely a bug according to the wiki - https://fallout.fandom.com/wiki/Abernathy_farm
Is this something that could be fixed by the UFO4P?

Edited by alceryes
Posted

There are no tags on beds that would identify them as sheltered or not sheltered, respectively. This distinction is made at engine level when the workshops recalculate their resource data, The engine then returns a total bed count and a count of sheltered beds, and storess them in the respective actor values on the workbench. The game doesn't tell the player which beds are considered sheltered and which ones are not, and we don't know anything about the inner workings of the engine level algorithm that determines this. Thus, identifying the non sheltered ones always includes some guess work and fiddling with the bed positions. There's nothing we can do to change this.

You can however work around the happiness malus quite easily: The function that calculates the happiiness values (on WorkshopScript) doesn't care whether the beds your settlers are assigned to are sheltered or not; it doesn't even care whether they have beds assigned at all. All it does is to compare the resource data values. If there are more beds than human settlers,, it infers that all settlers have a bed assigned. Next, it checks the number of sheltered beds, and if this is equal to or greater than the number of human settlers, it infers that all settlers have a sheltered bed assigned. It thus also infers that you assigned the sheltered beds preferentially, irrespective of whether you actually did this or not. Therefore, if the number of sheltered beds is at least equal to the number of human settlers at a workshop, you'll never have a happiness malus, even if you keep settlers assigned to beds that are not sheltered and leave the sheltered ones unoccupied.

Posted
46 minutes ago, Sclerocephalus said:

The game doesn't tell the player which beds are considered sheltered and which ones are not

For preplaced beds, this is true. When building a new one though, it will indicate sheltered or not when you're putting the new one down somewhere. Either way, it's the engine that tells you this.

Posted (edited)

Deleted. Sorry, missed a certain aspect of your post.
All good.

Edited by alceryes
re-read

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...