08-22-2020, 07:04 AM
Ok so now the flow is
cComposableGenerator checks if there any single piece structures asked for and hands the list over to cSinglePieceStructureGen
for every structure specified cSinglePieceStructureGen adds a generator placing the structure.
this is achieved by loading everything into a piece pool and then choosing one of the structures avaiable. they MUST be defined as starting strucutres because they are only accesuble directly
if there are chest in the structure they are filled by creating a new prefab that fills all chests in the structury with the given items.
This has to be determined by hand. i dont think the prefabs support this.
cComposableGenerator checks if there any single piece structures asked for and hands the list over to cSinglePieceStructureGen
for every structure specified cSinglePieceStructureGen adds a generator placing the structure.
this is achieved by loading everything into a piece pool and then choosing one of the structures avaiable. they MUST be defined as starting strucutres because they are only accesuble directly
if there are chest in the structure they are filled by creating a new prefab that fills all chests in the structury with the given items.
This has to be determined by hand. i dont think the prefabs support this.