23 local timeForGuard1ToTurn = 1000 * 5 -- 5 sec |
23 local timeForGuard1ToTurn = 1000 * 5 -- 5 sec |
24 local timeForGuard1ToTurnLeft = timeForGuard1ToTurn |
24 local timeForGuard1ToTurnLeft = timeForGuard1ToTurn |
25 local saucerAcquired = false |
25 local saucerAcquired = false |
26 local status |
26 local status |
27 local checkPointReached = 1 -- 1 is start of the game |
27 local checkPointReached = 1 -- 1 is start of the game |
|
28 local objectives = loc("Go to moon by the flying saucer and complete the main mission").."|".. |
|
29 loc("Come back to this mission and visit the other planets to collect the crates").."|".. |
|
30 loc("Visit the Death Planet after completing all the other planets' main missions").."|".. |
|
31 loc("Come back to this mission after collecting all the parts") |
28 -- dialogs |
32 -- dialogs |
29 local dialog01 = {} |
33 local dialog01 = {} |
30 local dialog02 = {} |
34 local dialog02 = {} |
31 local dialog03 = {} |
35 local dialog03 = {} |
32 local dialog04 = {} |
36 local dialog04 = {} |
36 local dialog08 = {} |
40 local dialog08 = {} |
37 -- mission objectives |
41 -- mission objectives |
38 local goals = { |
42 local goals = { |
39 [dialog01] = {missionName, loc("Getting ready"), loc("Go and collect the crate").."|"..loc("Try not to get spotted by the guards!"), 1, 4500}, |
43 [dialog01] = {missionName, loc("Getting ready"), loc("Go and collect the crate").."|"..loc("Try not to get spotted by the guards!"), 1, 4500}, |
40 [dialog02] = {missionName, loc("The adventure begins!"), loc("Use the saucer and fly to the moon").."|"..loc("Travel carefully as your fuels are limited"), 1, 4500}, |
44 [dialog02] = {missionName, loc("The adventure begins!"), loc("Use the saucer and fly to the moon").."|"..loc("Travel carefully as your fuels are limited"), 1, 4500}, |
41 [dialog03] = {missionName, loc("An unexpected event!"), loc("Use the saucer and fly away").."|"..loc("Beware, any damage taken will stay until you complete the moon mission"), 1, 7000}, |
45 [dialog03] = {missionName, loc("An unexpected event!"), loc("Use the saucer and fly away").."|"..loc("Beware, any damage taken will stay until you complete the moon's main mission"), 1, 7000}, |
42 [dialog07] = {missionName, loc("Searching the stars!"), loc("Use the saucer and fly away").."|"..loc("Visit first the planets of Ice, Desert and Fruit"), 1, 6000} |
46 [dialog04] = {missionName, loc("Objectives"), objectives, 1, 7000}, |
|
47 [dialog05] = {missionName, loc("Objectives"), objectives, 1, 7000}, |
|
48 [dialog06] = {missionName, loc("Objectives"), objectives, 1, 7000}, |
|
49 [dialog07] = {missionName, loc("Searching the stars!"), loc("Use the saucer and fly away").."|"..loc("Visit first the planets of Ice, Desert and Fruit"), 1, 6000}, |
|
50 [dialog08] = {missionName, loc("Saving Hogera"), loc("Fly to the meteorite and detonate the explosives"), 1, 7000} |
43 } |
51 } |
44 -- crates |
52 -- crates |
45 local saucerX = 3270 |
53 local saucerX = 3270 |
46 local saucerY = 1500 |
54 local saucerY = 1500 |
47 -- hogs |
55 -- hogs |