share/hedgewars/Data/Scripts/Multiplayer/Racer.lua
changeset 11936 a01a890093f3
parent 11935 4ed643879c0f
child 11951 65e61f495129
equal deleted inserted replaced
11935:4ed643879c0f 11936:a01a890093f3
   611                 SetVisualGearValues(wpCirc[i], wpX[i], wpY[i], 20, 100, 1, 10, 0, wpRad, 5, wpCol[i])
   611                 SetVisualGearValues(wpCirc[i], wpX[i], wpY[i], 20, 100, 1, 10, 0, wpRad, 5, wpCol[i])
   612         end
   612         end
   613 
   613 
   614         -- Handle Starting Stage of Game
   614         -- Handle Starting Stage of Game
   615         if (gameOver == false) and (gameBegun == false) then
   615         if (gameOver == false) and (gameBegun == false) then
   616                 if wpCount >= 3 then
   616                 if wpCount >= 2 then
   617                         gameBegun = true
   617                         gameBegun = true
   618                         roundNumber = 0
   618                         roundNumber = 0
   619                         firstClan = GetHogClan(CurrentHedgehog)
   619                         firstClan = GetHogClan(CurrentHedgehog)
   620                         ShowMission(loc("Racer"),
   620                         ShowMission(loc("Racer"),
   621                         loc("A Hedgewars mini-game"),
   621                         loc("A Hedgewars mini-game"),
   622                         loc("Complete the track as fast as you can!"), 2, 4000)
   622                         loc("Touch all waypoints as fast as you can!"), 2, 4000)
   623                 else
   623                 else
   624                         ShowMission(loc("Racer"),
   624                         ShowMission(loc("Racer"),
   625                         loc("Waypoint placement phase"),
   625                         loc("Waypoint placement phase"),
   626                         loc("Place more waypoints using the 'Air Attack' weapon."), 2, 4000)
   626                         loc("Place 2-8 waypoints using the Air Attack weapon.") .. "|" ..
       
   627 			loc("Skip your turn when you are finished placing waypoints."), 2, 4000)
   627                         AddAmmo(CurrentHedgehog, amAirAttack, 4000)
   628                         AddAmmo(CurrentHedgehog, amAirAttack, 4000)
   628                         SetWeapon(amAirAttack)
   629                         SetWeapon(amAirAttack)
   629                 end
   630                 end
   630         end
   631         end
   631 
   632