Jump to content

Unexcepted "forceForZones" behaviour in distributions.lua


NecrofiedTurtle

Recommended Posts


  • 41.78.16
  • Singleplayer
  • I press solo to play, idk
  • No mods
  • Still occurs on new save

 

Whenever there are two entries in a room's proclist with the same "forceForZone", the latest one will take priority, regardless of weightChance. There are only a couple of vanilla entries where this is relevant, this is one:

image.png.7303d085d59f07fdb19ca48d21e66612.png

Here, WardrobeWomanClassy would always take priority over WardrobeManClassy.

Reproduction steps:

1. For ease of testing, change a container in distributions.lua. In an easily accessible zone, like trailerpark, add two forceforzone entries like in picture above, but for the trailerpark zone instead. 

2. Start game in Apocalypse mode.          

3. Open the relevant container(s).    

4. They all only have loot from the bottom entry, regardless of weightchance.

Link to comment
Share on other sites

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...