… | |
… | |
94 | my ($pl, $types) = @_; |
94 | my ($pl, $types) = @_; |
95 | |
95 | |
96 | while (my ($k, $v) = each %apartment) { |
96 | while (my ($k, $v) = each %apartment) { |
97 | my $type = exists $pl->{rent}{apartment}{$k} ? 1 : 2; |
97 | my $type = exists $pl->{rent}{apartment}{$k} ? 1 : 2; |
98 | |
98 | |
99 | $pl->ob->reply (undef, "model \"$v->[2]\", situated in $v->[1] (" |
99 | $pl->ob->reply (undef, "model \"$v->[2]\", located in $v->[1] (" |
100 | . (cf::cost_string_from_value $v->[0]) . "/hr)\n") |
100 | . (cf::cost_string_from_value $v->[0]) . "/hr)\n") |
101 | if $type & $types; |
101 | if $type & $types; |
102 | } |
102 | } |
103 | }; |
103 | }; |
104 | |
104 | |