equal
deleted
inserted
replaced
5 --But as English is not my first language there may be spelling / grammar mistakes. |
5 --But as English is not my first language there may be spelling / grammar mistakes. |
6 -- |
6 -- |
7 --I know there need to be more "tutorial" specefic messages, but I had a hard timer figuring out what to type / what would be the best technical description. |
7 --I know there need to be more "tutorial" specefic messages, but I had a hard timer figuring out what to type / what would be the best technical description. |
8 |
8 |
9 |
9 |
10 loadfile( GetDataPath() .. "Scripts/Locale.lua" )() |
10 HedgewarsScriptLoad("/Scripts/Locale.lua") |
11 loadfile( GetDataPath() .. "Scripts/Utils.lua" )() -- For the gearIsInBox function, wrote my own, but decided it was a waste to include it |
11 HedgewarsScriptLoad("/Scripts/Utils.lua") -- For the gearIsInBox function, wrote my own, but decided it was a waste to include it |
12 |
12 |
13 local Player = nil -- Pointer to hog created in: onGameInit |
13 local Player = nil -- Pointer to hog created in: onGameInit |
14 local Target = nil -- Pointer to target hog |
14 local Target = nil -- Pointer to target hog |
15 local GameLost = false -- You lost the game |
15 local GameLost = false -- You lost the game |
16 local Objective = false -- Get to the target |
16 local Objective = false -- Get to the target |