share/hedgewars/Data/Missions/Training/User_Mission_-_Diver.lua
changeset 7877 b3fb94986255
parent 5823 f906f6645e02
child 8043 da083f8d95e6
equal deleted inserted replaced
7876:a366fbe91b58 7877:b3fb94986255
    26 	player = AddHog(loc("Hunter"), 0, 1, "NoHat")
    26 	player = AddHog(loc("Hunter"), 0, 1, "NoHat")
    27 			
    27 			
    28 	AddTeam(loc("Toxic Team"), 	1175851, "Simple", "Island", "Default")
    28 	AddTeam(loc("Toxic Team"), 	1175851, "Simple", "Island", "Default")
    29 	enemy = AddHog(loc("Poison"), 1, 100, "Skull")
    29 	enemy = AddHog(loc("Poison"), 1, 100, "Skull")
    30 
    30 
    31 	SetGearPosition(player, 1454, 1540)
    31 	SetGearPosition(player,430,516)
    32 	SetGearPosition(enemy, 2488, 1960)
    32 	SetGearPosition(enemy,1464,936)
    33 
    33 
    34 end
    34 end
    35 
    35 
    36 
    36 
    37 function onGameStart()
    37 function onGameStart()
    38 
    38 
    39 
    39 
    40 	SpawnAmmoCrate(1450,1910,amJetpack)
    40 	SpawnAmmoCrate(426,886,amJetpack)
    41 	SpawnAmmoCrate(2568,1714,amFirePunch)
    41 	SpawnAmmoCrate(1544,690,amFirePunch)
    42 	SpawnAmmoCrate(1974,1875,amBlowTorch)
    42 	SpawnAmmoCrate(950,851,amBlowTorch)
    43 	SpawnAmmoCrate(2056,1877,amParachute)
    43 	SpawnAmmoCrate(1032,853,amParachute)
    44 
    44 
    45 	AddGear(1603, 1320, gtMine, 0, 0, 0, 0)
    45 	AddGear(579, 296, gtMine, 0, 0, 0, 0)
    46 
    46 
    47 	ShowMission(loc("Operation Diver"), "", loc("Eliminate Poison before the time runs out") .. loc("|- Mines Time:") .. " " .. 1 .. " " .. loc("sec"), -amFirePunch, 0);
    47 	ShowMission(loc("Operation Diver"), "", loc("Eliminate Poison before the time runs out") .. loc("|- Mines Time:") .. " " .. 1 .. " " .. loc("sec"), -amFirePunch, 0);
    48 	--SetTag(AddGear(0, 0, gtATSmoothWindCh, 0, 0, 0, 1), -70)
    48 	--SetTag(AddGear(0, 0, gtATSmoothWindCh, 0, 0, 0, 1), -70)
    49 
    49 
    50 	SetWind(-100)
    50 	SetWind(-100)