Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatibility with fixedStorageSettings != null for Buildings #15

Open
Sn1p3rr3c0n opened this issue Aug 7, 2023 · 0 comments
Open

Comments

@Sn1p3rr3c0n
Copy link

In the Current Rimworld Release MinifyEverything Appears to be incompatible with buildings that use fixedStorageSettings.

From my Research this appears to be caused by the game running fixedStorageSettings.filter.ResolveReferences(); before MinifyEverything adds the it's minified Defs.

The Vanilla Function Verse.ThingDef:ResolveReferences() calls building.ResolveReferencesSpecial(); if the ThingDef has BuildingProperties (building tag)
Within RimWorld.BuildingProperties:ResolveReferencesSpecial() fixedStorageSettings.filter.ResolveReferences(); gets called if fixedStorageSettings is not null

relates to zymex22/Project-RimFactory-Revived#730

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant