bugfix? mine grants +1 to laen production.

not certain that this is actually a bug.
This commit is contained in:
Enno Rehling 2017-03-26 17:40:13 +02:00
parent bd40de1142
commit 39a5b55753
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@
<construction skill="mining" minskill="7"/>
</item>
<resourcelimit>
<modifier building="mine" type="skill" value="1"/>
<modifier type="require" building="mine"/>
</resourcelimit>
</resource>

View File

@ -38,7 +38,7 @@ function test_laen_needs_mine()
turn_end()
end
function bad_test_mine_laen_bonus()
function test_mine_laen_bonus()
-- some buildings grant a bonus on the production skill
-- i.e. a mine adds +1 to mining
local r = region.create(0, 0, 'mountain')