share/hedgewars/Data/Missions/Challenge/User_Mission_-_Rope_Knock_Challenge.lua
changeset 14503 d4aa64f51c9f
parent 14496 2113296b7a29
child 14505 764ba6182389
equal deleted inserted replaced
14502:65b25ca6ff31 14503:d4aa64f51c9f
    71 					{"Wuzzy",		"fr_orange",false},
    71 					{"Wuzzy",		"fr_orange",false},
    72 					{"Xeli", 			"android",false}
    72 					{"Xeli", 			"android",false}
    73 
    73 
    74 				}
    74 				}
    75 
    75 
    76 local playerTeamName = loc("Wannabe Shoppsta")
    76 local playerTeam, playerTeamName
    77 
    77 
    78 function GetKillScore()
    78 function GetKillScore()
    79 	return math.ceil((hogsKilled / 16)*6000)
    79 	return math.ceil((hogsKilled / 16)*6000)
    80 end
    80 end
    81 
    81 
   172 
   172 
   173 	CaseFreq = 0
   173 	CaseFreq = 0
   174 	MinesNum = 0
   174 	MinesNum = 0
   175 	Explosives = 0
   175 	Explosives = 0
   176 
   176 
   177 	AddTeam(playerTeamName, -1, "money", "Island", "Default", "cm_shoppa")
   177 	playerTeam = AddMissionTeam(-1)
   178 	hhs[0] = AddHog(loc("Ace"), 0, 1, "Gasmask")
   178 	playerTeamName = GetTeamName(playerName)
       
   179 	hhs[0] = AddMissionHog(1)
   179 	SetGearPosition(player, 1380, 1500)
   180 	SetGearPosition(player, 1380, 1500)
   180 
   181 
   181 	AddTeam(loc("Unsuspecting Louts"), -2, "Simple", "Island", "Default", "cm_face")
   182 	AddTeam(loc("Unsuspecting Louts"), -2, "Simple", "Island", "Default", "cm_face")
   182 	for i = 1, 8 do
   183 	for i = 1, 8 do
   183 		-- The name "generic" is a placeholder and will be replaced in AssignCharacter
   184 		-- The name "generic" is a placeholder and will be replaced in AssignCharacter