10022
|
1 |
function detectMap()
|
10091
|
2 |
if RopePercent == 100 and MinesNum == 0 then
|
10211
|
3 |
-- challenges with border
|
10214
|
4 |
if band(GameFlags, gfBorder) ~= 0 then
|
10211
|
5 |
if LandDigest == "M838018718Scripts/Multiplayer/Racer.lua" then
|
|
6 |
return("Racer Challenge #1")
|
|
7 |
elseif LandDigest == "M-490229244Scripts/Multiplayer/Racer.lua" then
|
|
8 |
return("Racer Challenge #2")
|
|
9 |
elseif LandDigest == "M806689586Scripts/Multiplayer/Racer.lua" then
|
|
10 |
return("Racer Challenge #3")
|
10222
|
11 |
elseif LandDigest == "M1770509913Scripts/Multiplayer/Racer.lua" then
|
|
12 |
return("Racer Challenge #7")
|
10247
|
13 |
elseif LandDigest == "M1902370941Scripts/Multiplayer/Racer.lua" then
|
|
14 |
return("Racer Challenge #8")
|
10214
|
15 |
end
|
10211
|
16 |
-- challenges without border
|
10214
|
17 |
elseif LandDigest == "M-134869715Scripts/Multiplayer/Racer.lua" then
|
|
18 |
return("Racer Challenge #4")
|
|
19 |
elseif LandDigest == "M-661895109Scripts/Multiplayer/Racer.lua" then
|
|
20 |
return("Racer Challenge #5")
|
10221
|
21 |
elseif LandDigest == "M479034891Scripts/Multiplayer/Racer.lua" then
|
|
22 |
return("Racer Challenge #6")
|
10091
|
23 |
end
|
10022
|
24 |
end
|
|
25 |
end
|