--- a/share/hedgewars/Data/Missions/Challenge/User_Mission_-_RCPlane_Challenge.lua Sun Apr 07 23:21:07 2019 +0200
+++ b/share/hedgewars/Data/Missions/Challenge/User_Mission_-_RCPlane_Challenge.lua Sun Apr 07 23:32:59 2019 +0200
@@ -44,6 +44,10 @@
end
+local function spawnCrate(x, y)
+ local c = SpawnFakeHealthCrate(x, y, false, false)
+ SetGearValues(c, nil, nil, nil, nil, nil, 0) -- Karma
+end
function onGameStart()
@@ -146,25 +150,25 @@
PlaceGirder(2803, 1373, 2)
PlaceGirder(2811, 1559, 2)
- SpawnFakeHealthCrate(930, 557, false, false)
- SpawnFakeHealthCrate(979, 692, false, false)
- SpawnFakeHealthCrate(876, 703, false, false)
- SpawnFakeHealthCrate(2309, 1260, false, false)
- SpawnFakeHealthCrate(1733, 1127, false, false)
- SpawnFakeHealthCrate(1738, 1320, false, false)
- SpawnFakeHealthCrate(3249, 1460, false, false)
- SpawnFakeHealthCrate(3051, 617, false, false)
- SpawnFakeHealthCrate(2972, 353, false, false)
- SpawnFakeHealthCrate(2548, 358, false, false)
+ spawnCrate(930, 557)
+ spawnCrate(979, 692)
+ spawnCrate(876, 703)
+ spawnCrate(2309, 1260)
+ spawnCrate(1733, 1127)
+ spawnCrate(1738, 1320)
+ spawnCrate(3249, 1460)
+ spawnCrate(3051, 617)
+ spawnCrate(2972, 353)
+ spawnCrate(2548, 358)
- SpawnFakeHealthCrate(2090, 1580, false, false)
- SpawnFakeHealthCrate(1752, 1753, false, false)
- SpawnFakeHealthCrate(1865, 1758, false, false)
- SpawnFakeHealthCrate(1985, 1760, false, false)
- SpawnFakeHealthCrate(2429, 1760, false, false)
- SpawnFakeHealthCrate(2810, 1480, false, false)
- SpawnFakeHealthCrate(2800, 1277, false, false)
- SpawnFakeHealthCrate(2806, 1107, false, false)
+ spawnCrate(2090, 1580)
+ spawnCrate(1752, 1753)
+ spawnCrate(1865, 1758)
+ spawnCrate(1985, 1760)
+ spawnCrate(2429, 1760)
+ spawnCrate(2810, 1480)
+ spawnCrate(2800, 1277)
+ spawnCrate(2806, 1107)
PlaceGirder(1897, 903, 6)
PlaceGirder(1916, 784, 3)
@@ -235,26 +239,26 @@
PlaceGirder(3210, 179, 2)
PlaceGirder(2932, 181, 2)
- SpawnFakeHealthCrate(3804, 1461, false, false)
- SpawnFakeHealthCrate(3269, 1742, false, false)
- SpawnFakeHealthCrate(3066, 121, false, false)
- SpawnFakeHealthCrate(3207, 104, false, false)
- SpawnFakeHealthCrate(2928, 103, false, false)
- SpawnFakeHealthCrate(1997, 202, false, false)
- SpawnFakeHealthCrate(2253, 159, false, false)
- SpawnFakeHealthCrate(2132, 774, false, false)
- SpawnFakeHealthCrate(2549, 490, false, false)
- SpawnFakeHealthCrate(3527, 694, false, false)
- SpawnFakeHealthCrate(3777, 78, false, false)
- SpawnFakeHealthCrate(1124, 1746, false, false)
- SpawnFakeHealthCrate(1056, 1740, false, false)
- SpawnFakeHealthCrate(993, 1742, false, false)
- SpawnFakeHealthCrate(799, 1298, false, false)
- SpawnFakeHealthCrate(577, 1126, false, false)
- SpawnFakeHealthCrate(596, 1463, false, false)
- SpawnFakeHealthCrate(3854, 1043, false, false)
- SpawnFakeHealthCrate(1944, 567, false, false)
- SpawnFakeHealthCrate(338, 1748, false, false)
+ spawnCrate(3804, 1461)
+ spawnCrate(3269, 1742)
+ spawnCrate(3066, 121)
+ spawnCrate(3207, 104)
+ spawnCrate(2928, 103)
+ spawnCrate(1997, 202)
+ spawnCrate(2253, 159)
+ spawnCrate(2132, 774)
+ spawnCrate(2549, 490)
+ spawnCrate(3527, 694)
+ spawnCrate(3777, 78)
+ spawnCrate(1124, 1746)
+ spawnCrate(1056, 1740)
+ spawnCrate(993, 1742)
+ spawnCrate(799, 1298)
+ spawnCrate(577, 1126)
+ spawnCrate(596, 1463)
+ spawnCrate(3854, 1043)
+ spawnCrate(1944, 567)
+ spawnCrate(338, 1748)
end