Create a single yellow underneathie, point at it and run
Code: Select all
/c entity = game.player.selected;
entity.order_upgrade {force = entity.force, player = game.player, target = "fast-underground-belt"}
entity.surface.create_entity {
name = entity.get_upgrade_target().name,
direction = entity.direction,
force = entity.force,
position = entity.position,
fast_replace = true,
player = game.player,
type = entity.belt_to_ground_type,
raise_built = true
}