share/hedgewars/Data/Missions/Training/Basic_Training_-_Bazooka.lua
changeset 12350 b0293e4ef0de
parent 12229 d62d6f8ebef1
child 12430 f9cbb896967b
equal deleted inserted replaced
12349:877f55c77a3f 12350:b0293e4ef0de
    64 	-- Things we don't modify here will use their default values.
    64 	-- Things we don't modify here will use their default values.
    65 
    65 
    66 	-- The base number for the random number generator
    66 	-- The base number for the random number generator
    67 	Seed = 1
    67 	Seed = 1
    68 	-- Game settings and rules
    68 	-- Game settings and rules
    69     EnableGameFlags(gfMultiWeapon, gfOneClanMode, gfSolidLand)
    69     EnableGameFlags(gfMultiWeapon, gfOneClanMode, gfSolidLand, gfDisableWind)
    70     -- Uncommenting this wouldn't do anything
    70     -- Uncommenting this wouldn't do anything
    71     --EnableGameFlags(gfMultiWeapon, gfOneClanMode, gfSolidLand)
    71     --EnableGameFlags(gfMultiWeapon, gfOneClanMode, gfSolidLand)
    72     -- Neither this
    72     -- Neither this
    73     --DisableGameFlags(gfArtillery)
    73     --DisableGameFlags(gfArtillery)
    74     -- Uncommenting this would make the terrain damageable
    74     -- Uncommenting this would make the terrain damageable
   106 function onGameStart()
   106 function onGameStart()
   107 	-- Disable the graph in the stats screen, we don't need it
   107 	-- Disable the graph in the stats screen, we don't need it
   108 	SendHealthStatsOff()
   108 	SendHealthStatsOff()
   109 	-- Spawn the first target.
   109 	-- Spawn the first target.
   110 	spawnTarget()
   110 	spawnTarget()
       
   111 	SetWind(-20)
   111 	
   112 	
   112 	-- Show some nice mission goals.
   113 	-- Show some nice mission goals.
   113 	-- Parameters are: caption, sub caption, description,
   114 	-- Parameters are: caption, sub caption, description,
   114 	-- extra text, icon and time to show.
   115 	-- extra text, icon and time to show.
   115 	-- A negative icon parameter (-n) represents the n-th weapon icon
   116 	-- A negative icon parameter (-n) represents the n-th weapon icon