forked from github/server
disable storms in tests
This commit is contained in:
parent
77926d2d54
commit
6a31b432de
1 changed files with 1 additions and 5 deletions
|
@ -8,6 +8,7 @@ function setup()
|
||||||
eressea.settings.set("rules.ship.damage.nocrewocean", "0")
|
eressea.settings.set("rules.ship.damage.nocrewocean", "0")
|
||||||
eressea.settings.set("rules.ship.damage.nocrew", "0")
|
eressea.settings.set("rules.ship.damage.nocrew", "0")
|
||||||
eressea.settings.set("rules.ship.drifting", "0")
|
eressea.settings.set("rules.ship.drifting", "0")
|
||||||
|
eressea.settings.set("rules.ship.storms", "0")
|
||||||
end
|
end
|
||||||
|
|
||||||
function test_ship_requires_skill()
|
function test_ship_requires_skill()
|
||||||
|
@ -58,11 +59,6 @@ function test_speedy_ship_slow()
|
||||||
u2:set_skill("sailing", 24) -- sumskill = 50
|
u2:set_skill("sailing", 24) -- sumskill = 50
|
||||||
u1:add_order("NACH O O O O O O O O O O")
|
u1:add_order("NACH O O O O O O O O O O")
|
||||||
process_orders()
|
process_orders()
|
||||||
if 5 ~= u1.region.x then
|
|
||||||
for _, msg in ipairs(f.messages) do
|
|
||||||
print(msg)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
assert_equal(5, u1.region.x)
|
assert_equal(5, u1.region.x)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue