What will happen if I demolish the building which contains materials?
The logic of dismantling a building in the current design is:
The storage tank can be dismantled, but the materials in it will disappear. The premise of the demolition of the storage is that your inventory’s empty space is enough to hold the materials from the storage. When the production equipment is dismantled, if the backpack has enough space to hold the materials from it, you’ll get the materials in your inventory. Otherwise, the materials will disappear.