Jump to content

Research Portal Minifridge Deconstructing To Incorrect Elements


Vertel
  • Branch: Preview Branch Version: Windows Fixed

The Minifridge placed next to the research portal deconstructs to 100 kg Siltstone + 1 kg Sedimentary Rock if deconstructed instead of 100 kg Siltstone + 1 Rubber Gasket. This is due to Scenario.PlaceBuilding() (used by TemplateLoader.PlaceBuilding()) using a default secondary element of Sedimentary Rock instead of loading a suitable secondary element from BuildingDef.DefaultElements().

Additionally, saving a debug template of a building that includes a secondary material will always lose the secondary material's information, saving only the primary element information and provoking similar behaviour if the building is deconstructed.

WrongSecondaryElements.sav


Steps to Reproduce

1. Create any Marinea asteroid

2. Deconstruct the Minifridge next to the research portal.

 

Alternatively:

1. Save any template that has a building with a secondary material.

2. Stamp that template into a world.

3. Deconstruct that building.




User Feedback


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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...