share/hedgewars/Data/Missions/Challenge/User_Mission_-_RCPlane_Challenge.lua
changeset 14765 75bd27700837
parent 14653 be8af70adf2c
child 14933 4c5fb1ee75b7
equal deleted inserted replaced
14764:c6b7f4a4122c 14765:75bd27700837
    42 	HogTurnLeft(player, true)
    42 	HogTurnLeft(player, true)
    43 
    43 
    44 end
    44 end
    45 
    45 
    46 
    46 
       
    47 local function spawnCrate(x, y)
       
    48 	local c = SpawnFakeHealthCrate(x, y, false, false)
       
    49 	SetGearValues(c, nil, nil, nil, nil, nil, 0) -- Karma
       
    50 end
    47 
    51 
    48 function onGameStart()
    52 function onGameStart()
    49 
    53 
    50 	SendHealthStatsOff()
    54 	SendHealthStatsOff()
    51 
    55 
   144 	PlaceGirder(2963, 1069, 7)
   148 	PlaceGirder(2963, 1069, 7)
   145 	PlaceGirder(3067, 938, 5)
   149 	PlaceGirder(3067, 938, 5)
   146 	PlaceGirder(2803, 1373, 2)
   150 	PlaceGirder(2803, 1373, 2)
   147 	PlaceGirder(2811, 1559, 2)
   151 	PlaceGirder(2811, 1559, 2)
   148 
   152 
   149 	SpawnFakeHealthCrate(930, 557, false, false)
   153 	spawnCrate(930, 557)
   150 	SpawnFakeHealthCrate(979, 692, false, false)
   154 	spawnCrate(979, 692)
   151 	SpawnFakeHealthCrate(876, 703, false, false)
   155 	spawnCrate(876, 703)
   152 	SpawnFakeHealthCrate(2309, 1260, false, false)
   156 	spawnCrate(2309, 1260)
   153 	SpawnFakeHealthCrate(1733, 1127, false, false)
   157 	spawnCrate(1733, 1127)
   154 	SpawnFakeHealthCrate(1738, 1320, false, false)
   158 	spawnCrate(1738, 1320)
   155 	SpawnFakeHealthCrate(3249, 1460, false, false)
   159 	spawnCrate(3249, 1460)
   156 	SpawnFakeHealthCrate(3051, 617, false, false)
   160 	spawnCrate(3051, 617)
   157 	SpawnFakeHealthCrate(2972, 353, false, false)
   161 	spawnCrate(2972, 353)
   158 	SpawnFakeHealthCrate(2548, 358, false, false)
   162 	spawnCrate(2548, 358)
   159 
   163 
   160 	SpawnFakeHealthCrate(2090, 1580, false, false)
   164 	spawnCrate(2090, 1580)
   161 	SpawnFakeHealthCrate(1752, 1753, false, false)
   165 	spawnCrate(1752, 1753)
   162 	SpawnFakeHealthCrate(1865, 1758, false, false)
   166 	spawnCrate(1865, 1758)
   163 	SpawnFakeHealthCrate(1985, 1760, false, false)
   167 	spawnCrate(1985, 1760)
   164 	SpawnFakeHealthCrate(2429, 1760, false, false)
   168 	spawnCrate(2429, 1760)
   165 	SpawnFakeHealthCrate(2810, 1480, false, false)
   169 	spawnCrate(2810, 1480)
   166 	SpawnFakeHealthCrate(2800, 1277, false, false)
   170 	spawnCrate(2800, 1277)
   167 	SpawnFakeHealthCrate(2806, 1107, false, false)
   171 	spawnCrate(2806, 1107)
   168 
   172 
   169 	PlaceGirder(1897, 903, 6)
   173 	PlaceGirder(1897, 903, 6)
   170 	PlaceGirder(1916, 784, 3)
   174 	PlaceGirder(1916, 784, 3)
   171 	PlaceGirder(2010, 732, 4)
   175 	PlaceGirder(2010, 732, 4)
   172 	PlaceGirder(2082, 639, 6)
   176 	PlaceGirder(2082, 639, 6)
   233 	PlaceGirder(3169, 71, 4)
   237 	PlaceGirder(3169, 71, 4)
   234 	PlaceGirder(3320, 124, 5)
   238 	PlaceGirder(3320, 124, 5)
   235 	PlaceGirder(3210, 179, 2)
   239 	PlaceGirder(3210, 179, 2)
   236 	PlaceGirder(2932, 181, 2)
   240 	PlaceGirder(2932, 181, 2)
   237 
   241 
   238 	SpawnFakeHealthCrate(3804, 1461, false, false)
   242 	spawnCrate(3804, 1461)
   239 	SpawnFakeHealthCrate(3269, 1742, false, false)
   243 	spawnCrate(3269, 1742)
   240 	SpawnFakeHealthCrate(3066, 121, false, false)
   244 	spawnCrate(3066, 121)
   241 	SpawnFakeHealthCrate(3207, 104, false, false)
   245 	spawnCrate(3207, 104)
   242 	SpawnFakeHealthCrate(2928, 103, false, false)
   246 	spawnCrate(2928, 103)
   243 	SpawnFakeHealthCrate(1997, 202, false, false)
   247 	spawnCrate(1997, 202)
   244 	SpawnFakeHealthCrate(2253, 159, false, false)
   248 	spawnCrate(2253, 159)
   245 	SpawnFakeHealthCrate(2132, 774, false, false)
   249 	spawnCrate(2132, 774)
   246 	SpawnFakeHealthCrate(2549, 490, false, false)
   250 	spawnCrate(2549, 490)
   247 	SpawnFakeHealthCrate(3527, 694, false, false)
   251 	spawnCrate(3527, 694)
   248 	SpawnFakeHealthCrate(3777, 78, false, false)
   252 	spawnCrate(3777, 78)
   249 	SpawnFakeHealthCrate(1124, 1746, false, false)
   253 	spawnCrate(1124, 1746)
   250 	SpawnFakeHealthCrate(1056, 1740, false, false)
   254 	spawnCrate(1056, 1740)
   251 	SpawnFakeHealthCrate(993, 1742, false, false)
   255 	spawnCrate(993, 1742)
   252 	SpawnFakeHealthCrate(799, 1298, false, false)
   256 	spawnCrate(799, 1298)
   253 	SpawnFakeHealthCrate(577, 1126, false, false)
   257 	spawnCrate(577, 1126)
   254 	SpawnFakeHealthCrate(596, 1463, false, false)
   258 	spawnCrate(596, 1463)
   255 	SpawnFakeHealthCrate(3854, 1043, false, false)
   259 	spawnCrate(3854, 1043)
   256 	SpawnFakeHealthCrate(1944, 567, false, false)
   260 	spawnCrate(1944, 567)
   257 	SpawnFakeHealthCrate(338, 1748, false, false)
   261 	spawnCrate(338, 1748)
   258 
   262 
   259 end
   263 end
   260 
   264 
   261 function onGameTick20()
   265 function onGameTick20()
   262 	if RCGear ~= nil then
   266 	if RCGear ~= nil then