| line |
!l |
l&&!r |
l&&r |
condition |
|
247
|
476 |
3940 |
1584 |
$legal and $altitude->{$other} > $altitude->{$coordinates} |
|
249
|
476 |
2450 |
1490 |
$legal and $water->{$other} |
|
|
2450 |
1282 |
208 |
$legal and $water->{$other} and $water->{$other} == ($i - 3) % 6 |
|
268
|
2563 |
341 |
0 |
not $legal and $altitude->{$coordinates} < $lowest |
|
|
341 |
2166 |
397 |
$legal and $altitude->{$other} < $lowest |
|
322
|
1161 |
0 |
39 |
not defined $water->{$coordinates} and $world->{$coordinates} ne "ocean" |
|
380
|
0 |
408 |
70 |
$coordinates && $seen{$coordinates} |
|
384
|
32 |
0 |
376 |
$self->legal($coordinates) and $world->{$coordinates} ne "ocean" |
|
418
|
4 |
28 |
7 |
$start && defined $water->{$start} |
|
437
|
531 |
0 |
669 |
$altitude->{$_} == 7 || $altitude->{$_} == 8 || $world->{$_} =~ /water/u && $altitude->{$_} > $self->bottom and not $flow->{$_} |
|
518
|
111 |
766 |
74 |
$altitude->{$coordinates} and $current_altitude < $altitude->{$coordinates} |
|
|
877 |
1 |
73 |
$altitude->{$coordinates} and $current_altitude < $altitude->{$coordinates} and not $world->{$coordinates} =~ /water|ocean/u |
|
770
|
82 |
645 |
50 |
$world->{$other} and $world->{$other} =~ /water|ocean/u |
|
800
|
6174 |
140 |
430 |
$distance <= 3 and !$best_distance || $distance <= $best_distance |
|
|
140 |
345 |
85 |
$distance <= 3 and !$best_distance || $distance <= $best_distance and !$best || $altitude->{$to} < $best_altitude |
|
849
|
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 |
|
877
|
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 |
|
72
|
0 |
4 |
0 |
$max //= $min |
|
206
|
2 |
0 |
56 |
$current_altitude > 10 or $current_altitude < 0 |
|
212
|
28 |
28 |
0 |
$delta < -1 or $delta > 1 |
|
219
|
1 |
0 |
251 |
$current_altitude > 10 or $current_altitude < 0 |
|
268
|
1161 |
0 |
2904 |
not defined $direction or not $legal and $altitude->{$coordinates} < $lowest |
|
|
0 |
458 |
2446 |
not defined $direction or not $legal and $altitude->{$coordinates} < $lowest or $legal and $altitude->{$other} < $lowest |
|
402
|
39 |
96 |
84 |
not defined $water->{$from} or $water->{$from} != $i |
|
437
|
636 |
564 |
0 |
$altitude->{$_} == 7 || $altitude->{$_} == 8 || $world->{$_} =~ /water/u && $altitude->{$_} > $self->bottom |
|
631
|
0 |
3 |
1 |
$self->wind // $self->random_neighbor |
|
635
|
431 |
133 |
636 |
$altitude->{$coordinates} < 7 or $altitude->{$coordinates} > 8 |
|
800
|
169 |
261 |
140 |
!$best_distance || $distance <= $best_distance |
|
|
169 |
41 |
220 |
!$best || $altitude->{$to} < $best_altitude |
|
877
|
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 |
|
882
|
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 |
|
952
|
0 |
4 |
0 |
shift() // int $self->width * $self->height / 40 |
|
954
|
0 |
4 |
0 |
shift() // int $self->width * $self->height / 40 |
|
960
|
2 |
2 |
0 |
shift() || time |