Official racer challenge #2
authorunc0rr
Thu, 30 Jan 2014 16:08:05 +0400
changeset 10091 213c38232b3d
parent 10090 a471a7bbc339
child 10092 a92a4ba39a79
Official racer challenge #2
misc/OfficialChallenges/racer_#2.hwmap
share/hedgewars/Data/Scripts/OfficialChallenges.lua
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/OfficialChallenges/racer_#2.hwmap	Thu Jan 30 16:08:05 2014 +0400
@@ -0,0 +1,1 @@
+AAABkHicFdCxK8RhGAfw7/u87/v8zns/9y63Wij+A5SE8YYbXErCplgMRBxXBgveS91goOQGN1jdImVw0xlOucGVQcpgk9hQ/J7l07fn21NPj9vGtIoW+Ej5Ne5WVtsVpcfsgPITKCo/qmrK5+hemV7eqgtwbd6rC6AWl0/iVS7D9PPOmwD3yHuvAqjElXZ3D1eQrFWCIO1xEKR1gTbxCSG47ySZyK4GE+kmhBA/S0rTlMwewAWaCVzQF0itJ7NUMUmuRPPBlfQ54mvbaMbX0SnUix1/oFZ0Bc7bnaqA1KLZqApwLTt0JsAvoavul7SG/9JPZf8V/SLj6K7jR+gOmVlV6/hBVUNmGcWOH0MR6Qjv++no71ZuqX0IcsHFhwDOqb7AOSrBHSTJHdIl6EYVGnRjf2DyqtkweT2X/E8NN1ybHmGYJoNhu4k4S9ldAf9Gt2jZ
\ No newline at end of file
--- a/share/hedgewars/Data/Scripts/OfficialChallenges.lua	Thu Jan 30 00:18:32 2014 +0400
+++ b/share/hedgewars/Data/Scripts/OfficialChallenges.lua	Thu Jan 30 16:08:05 2014 +0400
@@ -1,5 +1,9 @@
 function detectMap()
-    if LandDigest == "M838018718Scripts/Multiplayer/Racer.lua" then
-        return("Racer Challenge #1")
+    if RopePercent == 100 and MinesNum == 0 then
+        if LandDigest == "M838018718Scripts/Multiplayer/Racer.lua" then
+            return("Racer Challenge #1")
+        elseif LandDigest == "M-490229244Scripts/Multiplayer/Racer.lua" then
+            return("Racer Challenge #2")
+        end
     end
 end