share/hedgewars/Data/Missions/Training/Basic_Training_-_Rope.lua
changeset 14492 6c62f7ebea45
parent 14480 208359558642
child 14668 38836d6c5c8a
equal deleted inserted replaced
14491:b2db921cbfd1 14492:6c62f7ebea45
    45 local cpX, cpY = 208, 1384	-- hog checkpoint, initialized with start coords
    45 local cpX, cpY = 208, 1384	-- hog checkpoint, initialized with start coords
    46 
    46 
    47 -- "Constants"
    47 -- "Constants"
    48 local initHogHealth = 50
    48 local initHogHealth = 50
    49 local initHogHealthFinal = 1
    49 local initHogHealthFinal = 1
    50 local teamName = loc("Wannabe Ropers")
    50 local teamName
    51 
    51 
    52 local girderData = {
    52 local girderData = {
    53 	{2012, 1366, 6}, -- water gate
    53 	{2012, 1366, 6}, -- water gate
    54 	{1156, 678, 2}, -- post-barrel gate
    54 	{1156, 678, 2}, -- post-barrel gate
    55 	{1206, 905, 2}, -- post-barrel gate
    55 	{1206, 905, 2}, -- post-barrel gate
    94 	CaseFreq = 0
    94 	CaseFreq = 0
    95 	MinesTime = 0
    95 	MinesTime = 0
    96 	WaterRise = 0
    96 	WaterRise = 0
    97 	HealthDecrease = 0
    97 	HealthDecrease = 0
    98 
    98 
    99 	AddMissionTeam(-1)
    99 	teamName = AddMissionTeam(-1)
   100 	hog = AddMissionHog(initHogHealth)
   100 	hog = AddMissionHog(initHogHealth)
   101 	SetGearPosition(hog, cpX, cpY)
   101 	SetGearPosition(hog, cpX, cpY)
   102 	SetEffect(hog, heResurrectable, 1)
   102 	SetEffect(hog, heResurrectable, 1)
   103 
   103 
   104 	drawMap()
   104 	drawMap()