share/hedgewars/Data/Scripts/Multiplayer/Highlander.lua
changeset 11494 e02f2e98bf71
parent 10997 af84b2411f27
child 11848 6a0d6b00dac8
equal deleted inserted replaced
11492:806da449d355 11494:e02f2e98bf71
   240 
   240 
   241 function onGameInit()
   241 function onGameInit()
   242 	EnableGameFlags(gfInfAttack, gfRandomOrder, gfPerHogAmmo)
   242 	EnableGameFlags(gfInfAttack, gfRandomOrder, gfPerHogAmmo)
   243 	DisableGameFlags(gfResetWeps, gfSharedAmmo)
   243 	DisableGameFlags(gfResetWeps, gfSharedAmmo)
   244 	HealthCaseProb = 100
   244 	HealthCaseProb = 100
       
   245 	Goals = loc("Highlander: Eliminate enemy hogs and take their weapons.") .."|" ..
       
   246 	loc("Weapons are reset on end of turn.")
   245 end
   247 end
   246 
   248 
   247 function onGameStart()
   249 function onGameStart()
   248     utilChoices[amSkip] = 0
   250     utilChoices[amSkip] = 0
   249     local c = 0
   251     local c = 0
   269         end
   271         end
   270     end
   272     end
   271 
   273 
   272     --WriteLnToConsole('utiltot:'..utiltot..' atktot:'..atktot)
   274     --WriteLnToConsole('utiltot:'..utiltot..' atktot:'..atktot)
   273         
   275         
   274 	ShowMission	(
       
   275 				loc("HIGHLANDER"),
       
   276 				loc("Not all hogs are born equal."),
       
   277 
       
   278 				"- " .. loc("Eliminate enemy hogs and take their weapons.") .. "|" ..
       
   279 				"- " .. loc("Per-Hog Ammo") .. "|" ..
       
   280 				"- " .. loc("Weapons reset.") .. "|" ..
       
   281 				"- " .. loc("Unlimited Attacks") .. "|" ..
       
   282 				"", 4, 4000
       
   283 				)
       
   284 
   276 
   285 	runOnGears(StartingSetUp)
   277 	runOnGears(StartingSetUp)
   286 	runOnGears(ConvertValues)
   278 	runOnGears(ConvertValues)
   287 end
   279 end
   288 
   280