equal
deleted
inserted
replaced
240 loc("Use the rope to get to the target!").."|".. |
240 loc("Use the rope to get to the target!").."|".. |
241 loc("Retract/Extend rope: [Up]/[Down]").."|".. |
241 loc("Retract/Extend rope: [Up]/[Down]").."|".. |
242 loc("Swing: [Left]/[Right]").."|".. |
242 loc("Swing: [Left]/[Right]").."|".. |
243 loc("Release rope: [Attack]"), 2, 15000) |
243 loc("Release rope: [Attack]"), 2, 15000) |
244 ropeAttached = true |
244 ropeAttached = true |
245 elseif currentTarget > 1 then |
245 elseif currentTarget > 1 and not (currentTarget == 6 and barrelsBoom) then |
246 HideMission() |
246 HideMission() |
247 end |
247 end |
248 end |
248 end |
249 |
249 |
250 -- Prevent grenade being thrown by hand (must use from rope instead) |
250 -- Prevent grenade being thrown by hand (must use from rope instead) |
374 barrelsBoom = true |
374 barrelsBoom = true |
375 AddAmmo(hog, amGrenade, 0) |
375 AddAmmo(hog, amGrenade, 0) |
376 AddAmmo(hog, amBaseballBat, 100) |
376 AddAmmo(hog, amBaseballBat, 100) |
377 eraseGirder(2) |
377 eraseGirder(2) |
378 eraseGirder(3) |
378 eraseGirder(3) |
|
379 ShowMission(loc("Basic Rope Training"), |
|
380 loc("Kaboom!"), |
|
381 loc("Follow the path and destroy the next target."), |
|
382 2, 5000) |
379 end |
383 end |
380 elseif GetGearType(gear) == gtRope then |
384 elseif GetGearType(gear) == gtRope then |
381 ropeGear = nil |
385 ropeGear = nil |
382 if ropeAttached and not target1Reached then |
386 if ropeAttached and not target1Reached then |
383 local ctrl = "" |
387 local ctrl = "" |