The first one were built previously, the second one were less possible. Addin terraforming to the wayfinder will explode the possibilities and is thus not really very likely to occur, as the AI needs to find long ways two.
@gerw
I just added some lines in wegbauer.cc:
// first: add long bridge
koord3d end = brueckenbauer_t::finde_ende( welt, from->get_pos(), zv, bruecke_besch, error, false );
if( error == NULL && end != ziel && brueckenbauer_t::ist_ende_ok(sp, welt->lookup(end)) ) {
uint32 length = koord_distance(from->get_pos(), end);
next_gr.append(next_gr_t(welt->lookup(end), length * cost_difference + 2*welt->get_einstellungen()->way_count_slope ));
}
// then: add shortest possible bridge
end = brueckenbauer_t::finde_ende( welt, from->get_pos(), zv, bruecke_besch, error, true );
if( error == NULL && end != ziel && brueckenbauer_t::ist_ende_ok(sp, welt->lookup(end)) ) {
uint32 length = koord_distance(from->get_pos(), end);
next_gr.append(next_gr_t(welt->lookup(end), length * cost_difference + 2*welt->get_einstellungen()->way_count_slope ));
}
This will add both tiles (the next slope and the first flat suitable tile) and thus make more natural bridges.