line |
!l |
l&&!r |
l&&r |
condition |
395
|
0 |
13 |
4 |
defined $value && $value =~ /^(?:y|n)$/i
|
404
|
0 |
12 |
7 |
defined $value && $value =~ /^\d+$/
|
512
|
0 |
0 |
0 |
$self->_next_step('_feed_the_peasants') and $self->throw('display', "Grain for food [$hint]: ", 'action', 'get_value', 'default', $hint)
|
522
|
0 |
0 |
0 |
$food < 100 and $self->grain > $food
|
524
|
0 |
0 |
0 |
$food / $self->population < 11 and $food != $self->grain
|
581
|
0 |
0 |
0 |
$self->_next_step('_purchase_land') and $self->throw('display', $msg, 'action', 'get_value', 'default', 0)
|
588
|
0 |
0 |
0 |
$self->_next_step('_purchase_land') and $self->throw('display', $self->_insufficient_grain('buy'))
|
621
|
0 |
0 |
0 |
$self->_next_step('_sell_land') and $self->throw('display', $msg, 'action', 'get_value', 'default', 0)
|
668
|
0 |
0 |
0 |
$price < 4 and $sold
|
735
|
0 |
0 |
0 |
$self->_next_step('_king_wants_war') and $self->throw('display', $msg, 'action', 'get_yn', 'default', 'Y')
|
760
|
0 |
0 |
0 |
$self->_next_step('_grain_production') and $self->throw('display', $msg, 'action', 'get_value', 'default', $max_plant)
|
915
|
0 |
0 |
0 |
$self->_next_step('_kings_levy') and $self->throw('display', $msg, 'action', 'get_yn', 'default', 'Y')
|
978
|
0 |
0 |
0 |
$self->_next_step('_first_strike') and $self->throw('display', $msg, 'action', 'get_yn', 'default', 'N')
|
1021
|
0 |
0 |
0 |
$self->_next_step('_goto_war') and $self->throw('display', $msg, 'action', 'get_value', 'default', $possible)
|
1253
|
0 |
0 |
0 |
$self->year >= 45 and not $self->king_unrest
|