equal
deleted
inserted
replaced
56 |
56 |
57 -- No damage please |
57 -- No damage please |
58 DamagePercent = 1 |
58 DamagePercent = 1 |
59 |
59 |
60 -- Draw Map |
60 -- Draw Map |
61 AddPoint(10,30,0) -- hog spawn platform |
61 -- AddPoint(10,30,0) -- hog spawn platform |
62 -- test areas |
62 -- test areas |
63 AddTestArea(taa_v1) |
63 AddTestArea(taa_v1) |
64 AddTestArea(taa_v2) |
64 AddTestArea(taa_v2) |
65 AddTestArea(taa_h1) |
65 AddTestArea(taa_h1) |
66 AddTestArea(taa_h2) |
66 AddTestArea(taa_h2) |
139 if ndied == nspawned then |
139 if ndied == nspawned then |
140 WriteLnToConsole('TESTRESULT: ' .. nfailed .. ' of ' .. nspawned .. ' drill rockets did not explode as expected') |
140 WriteLnToConsole('TESTRESULT: ' .. nfailed .. ' of ' .. nspawned .. ' drill rockets did not explode as expected') |
141 if (nfailed > 0) then |
141 if (nfailed > 0) then |
142 EndLuaTest(TEST_FAILED) |
142 EndLuaTest(TEST_FAILED) |
143 else |
143 else |
144 EndLuaTest(TEST_SUCCESSFUL) |
144 EndGame() |
|
145 --EndLuaTest(TEST_SUCCESSFUL) |
145 end |
146 end |
146 end |
147 end |
147 end |
148 end |
148 end |
149 end |
149 |
150 |