Add power connection and steiner tree

This commit is contained in:
hal8174 2025-03-03 22:45:24 +01:00
parent 8f163269bd
commit af625cf905
7 changed files with 339 additions and 10 deletions

View file

@ -533,10 +533,12 @@ pub fn generate_factory<L: Layouter, P: Pathfinder + Sync, R: Rng + SeedableRng
b.transform(Transformation::new(
Direction::Up,
Position::new(multistation_x_offset, multistation_y_offset - 2),
Position::new(multistation_x_offset + 1, multistation_y_offset - 2 + 1),
));
b.add_blueprint(multistation_blueprint);
b.connect_power_networks();
b
}