08-22-2020, 08:32 AM
If I were you, I'd ditch the chests for now - they should be handled by some universal code that will work for all prefabs, not just the cSinglePieceStructureGen. What we want is basically a similar language that the vanilla has for loot tables, which would be stored directly in the prefab containing chests (and possibly other containers as well). So for now generate chests empty in those structures, and then in a separate PR implement the loot tables.