| line |
!l |
l&&!r |
l&&r |
condition |
|
248
|
476 |
3931 |
1593 |
$legal and $altitude->{$other} > $altitude->{$coordinates} |
|
250
|
476 |
2418 |
1513 |
$legal and $water->{$other} |
|
|
2418 |
1255 |
258 |
$legal and $water->{$other} and $water->{$other} == ($i - 3) % 6 |
|
269
|
2496 |
341 |
0 |
not $legal and $altitude->{$coordinates} < $lowest |
|
|
341 |
2094 |
402 |
$legal and $altitude->{$other} < $lowest |
|
323
|
1158 |
0 |
42 |
not defined $water->{$coordinates} and $world->{$coordinates} ne "ocean" |
|
381
|
0 |
356 |
32 |
$coordinates && $seen{$coordinates} |
|
385
|
35 |
0 |
321 |
$self->legal($coordinates) and $world->{$coordinates} ne "ocean" |
|
419
|
4 |
31 |
7 |
$start && defined $water->{$start} |
|
438
|
578 |
0 |
622 |
$altitude->{$_} == 7 || $altitude->{$_} == 8 || $world->{$_} =~ /water/u && $altitude->{$_} > $self->bottom and not $flow->{$_} |
|
519
|
134 |
841 |
46 |
$altitude->{$coordinates} and $current_altitude < $altitude->{$coordinates} |
|
|
975 |
0 |
46 |
$altitude->{$coordinates} and $current_altitude < $altitude->{$coordinates} and not $world->{$coordinates} =~ /water|ocean/u |
|
771
|
100 |
678 |
42 |
$world->{$other} and $world->{$other} =~ /water|ocean/u |
|
801
|
6740 |
158 |
380 |
$distance <= 3 and !$best_distance || $distance <= $best_distance |
|
|
158 |
297 |
83 |
$distance <= 3 and !$best_distance || $distance <= $best_distance and !$best || $altitude->{$to} < $best_altitude |
|
850
|
0 |
0 |
0 |
$altitude->{$coordinates} == $self->bottom and $world->{$coordinates} =~ /water|ocean/u |
|
|
0 |
0 |
0 |
$altitude->{$coordinates} == $self->bottom and $world->{$coordinates} =~ /water|ocean/u and $altitude->{$coordinates} == $altitude->{$last} - 1 |
|
878
|
0 |
0 |
0 |
$altitude->{$coordinates} >= 2 and $world->{$coordinates} =~ s/(dust|light-grey) desert/light-grey desert/u |
|
|
0 |
0 |
0 |
$altitude->{$coordinates} >= 4 and $world->{$coordinates} =~ s/light-grey desert/dark-soil desert/u |
| line |
l |
!l&&r |
!l&&!r |
condition |
|
207
|
2 |
0 |
56 |
$current_altitude > 10 or $current_altitude < 0 |
|
213
|
28 |
28 |
0 |
$delta < -1 or $delta > 1 |
|
220
|
2 |
0 |
254 |
$current_altitude > 10 or $current_altitude < 0 |
|
269
|
1158 |
0 |
2837 |
not defined $direction or not $legal and $altitude->{$coordinates} < $lowest |
|
|
0 |
469 |
2368 |
not defined $direction or not $legal and $altitude->{$coordinates} < $lowest or $legal and $altitude->{$other} < $lowest |
|
403
|
42 |
96 |
77 |
not defined $water->{$from} or $water->{$from} != $i |
|
438
|
596 |
601 |
3 |
$altitude->{$_} == 7 || $altitude->{$_} == 8 || $world->{$_} =~ /water/u && $altitude->{$_} > $self->bottom |
|
632
|
0 |
2 |
2 |
$self->wind // $self->random_neighbor |
|
636
|
468 |
136 |
596 |
$altitude->{$coordinates} < 7 or $altitude->{$coordinates} > 8 |
|
801
|
168 |
212 |
158 |
!$best_distance || $distance <= $best_distance |
|
|
168 |
35 |
177 |
!$best || $altitude->{$to} < $best_altitude |
|
878
|
0 |
0 |
0 |
$world->{$coordinates} =~ s/light-green bushes/rock bushes/u or $world->{$coordinates} =~ s/light-grey grass/rock bush/u |
|
|
0 |
0 |
0 |
$world->{$coordinates} =~ s/light-green bushes/rock bushes/u or $world->{$coordinates} =~ s/light-grey grass/rock bush/u or $world->{$coordinates} =~ s/dark-grey grass/dark-soil bush/u |
|
|
0 |
0 |
0 |
$world->{$coordinates} =~ s/light-green bushes/rock bushes/u or $world->{$coordinates} =~ s/light-grey grass/rock bush/u or $world->{$coordinates} =~ s/dark-grey grass/dark-soil bush/u or $world->{$coordinates} =~ s/^grey grass/rock bush/u |
|
|
0 |
0 |
0 |
$world->{$coordinates} =~ s/light-green bushes/rock bushes/u or $world->{$coordinates} =~ s/light-grey grass/rock bush/u or $world->{$coordinates} =~ s/dark-grey grass/dark-soil bush/u or $world->{$coordinates} =~ s/^grey grass/rock bush/u or $altitude->{$coordinates} >= 4 and $world->{$coordinates} =~ s/light-grey desert/dark-soil desert/u |
|
883
|
0 |
0 |
0 |
$world->{$coordinates} =~ s/dark-grey swamp2?/light-green bushes/u or $world->{$coordinates} =~ s/^grey swamp2?/light-grey bushes/u |
|
|
0 |
0 |
0 |
$world->{$coordinates} =~ s/dark-grey swamp2?/light-green bushes/u or $world->{$coordinates} =~ s/^grey swamp2?/light-grey bushes/u or $world->{$coordinates} =~ s/fir-forest/trees/u |
|
953
|
0 |
4 |
0 |
shift() // int $self->width * $self->height / 40 |
|
955
|
0 |
4 |
0 |
shift() // $self->peak |
|
956
|
0 |
4 |
0 |
shift() // int $self->width * $self->height / 40 |
|
962
|
2 |
2 |
0 |
shift() || time |