share/hedgewars/Data/Scripts/Multiplayer/The_Specialists.lua
changeset 14521 8a11548cb1d2
parent 14520 c96079ee4687
child 14523 e176bf229649
equal deleted inserted replaced
14520:c96079ee4687 14521:8a11548cb1d2
   214 	end
   214 	end
   215 
   215 
   216 end
   216 end
   217 
   217 
   218 function onGameInit()
   218 function onGameInit()
   219 	ClearGameFlags()
   219 	-- Force-disable harmful game flags
   220 	EnableGameFlags(gfResetWeps, gfInfAttack, gfPlaceHog, gfPerHogAmmo, gfSwitchHog)
   220 	DisableGameFlags(gfSharedAmmo, gfKing)
       
   221 	-- Force-enable game-critical game flags
       
   222 	EnableGameFlags(gfPerHogAmmo, gfResetWeps)
       
   223 	-- NOTE: For your game scheme, these game flags are recommended: gfResetWeps, gfPlaceHog, gfSwitchHog, gfInfAttack
       
   224 
       
   225 	-- No weapon crates
   221 	HealthCaseProb = 100
   226 	HealthCaseProb = 100
       
   227 
       
   228 	-- Instructions
   222 	Goals = loc("The Specialists: Each hedgehog starts with its own weapon set")
   229 	Goals = loc("The Specialists: Each hedgehog starts with its own weapon set")
   223 end
   230 end
   224 
   231 
   225 function onGameStart()
   232 function onGameStart()
   226 
   233