| line |
true |
false |
branch |
|
214
|
1236 |
1604 |
if @arr == 1 and ref $arr[0] eq "ARRAY" |
|
221
|
0 |
0 |
if $element eq $_ |
|
228
|
5 |
4 |
unless $thing |
|
236
|
0 |
4 |
if ($encounter eq "settlement") |
|
237
|
0 |
0 |
if ($primary eq "plains") |
|
241
|
0 |
0 |
if ($primary ne "plains" or member($thing, "large-town", "city")) |
|
252
|
9 |
36 |
if ($primary eq "water" and $random < 10 or $primary eq "swamp" and $random < 20 or $primary eq "sand" and $random < 20 or $primary eq "grass" and $random < 60 or $primary eq "forest" and $random < 40 or $primary eq "hill" and $random < 40 or $primary eq "mountain" and $random < 20) |
|
282
|
471 |
924 |
unless $world{$coordinates} |
|
291
|
31 |
18 |
if ($x % 2) { } |
|
308
|
27 |
18 |
if ($x % 2) { } |
|
345
|
86 |
13 |
if (rand > 0.1) { } |
|
357
|
171 |
201 |
if ($random < 3) { } |
|
|
135 |
66 |
elsif ($random < 5) { } |
|
382
|
6 |
39 |
if $hex->[0] == 1 and $terrain_above |
|
383
|
21 |
24 |
if ($random < 6) { } |
|
|
15 |
9 |
elsif ($random < 9) { } |
|
|
6 |
3 |
elsif ($random < 11) { } |
|
396
|
9 |
36 |
if $hex->[0] == 1 |
|
397
|
0 |
45 |
unless $reverse_lookup{$next} |
|
412
|
0 |
0 |
if ($world{$coordinates}) |
|
414
|
0 |
0 |
unless $reverse_lookup{$world{$coordinates}} |
|
416
|
0 |
0 |
if ($reverse_lookup{$world{$coordinates}} eq "plains") |
|
422
|
0 |
0 |
unless @plains |
|
439
|
3 |
0 |
if not defined $width or $width < 1 |
|
440
|
3 |
0 |
if not defined $height or $height < 1 |
|
458
|
0 |
1191 |
unless $coordinates =~ /(-?\d\d)(-?\d\d)/u |
|
459
|
201 |
990 |
if $1 < 1 or $2 < 1 |
|
460
|
435 |
756 |
if $1 > $width or $2 > $height |
|
462
|
0 |
3 |
if ($bw) |
|
465
|
0 |
0 |
if ($rest) { } |