share/hedgewars/Data/Missions/Challenge/User_Mission_-_Rope_Knock_Challenge.lua
changeset 14648 be8af70adf2c
parent 14590 c5f18710a184
child 15491 3dc01bbcd0d8
equal deleted inserted replaced
14647:c09ac49ed1de 14648:be8af70adf2c
   172 	MinesNum = 0
   172 	MinesNum = 0
   173 	Explosives = 0
   173 	Explosives = 0
   174 
   174 
   175 	playerTeamName = AddMissionTeam(-1)
   175 	playerTeamName = AddMissionTeam(-1)
   176 	hhs[0] = AddMissionHog(1)
   176 	hhs[0] = AddMissionHog(1)
   177 	SetGearPosition(player, 1380, 1500)
       
   178 
   177 
   179 	AddTeam(loc("Unsuspecting Louts"), -2, "Simple", "Island", "Default", "cm_face")
   178 	AddTeam(loc("Unsuspecting Louts"), -2, "Simple", "Island", "Default", "cm_face")
   180 	for i = 1, 8 do
   179 	for i = 1, 8 do
   181 		-- The name "generic" is a placeholder and will be replaced in AssignCharacter
   180 		-- The name "generic" is a placeholder and will be replaced in AssignCharacter
   182 		hhs[i] = AddHog("generic", 0, 1, "NoHat")
   181 		hhs[i] = AddHog("generic", 0, 1, "NoHat")
   225 	SetGearPosition(hhs[12], 1946, 221)
   224 	SetGearPosition(hhs[12], 1946, 221)
   226 	SetGearPosition(hhs[13], 3849, 1067)
   225 	SetGearPosition(hhs[13], 3849, 1067)
   227 	SetGearPosition(hhs[14], 3360, 659)
   226 	SetGearPosition(hhs[14], 3360, 659)
   228 	SetGearPosition(hhs[15], 3885, 285)
   227 	SetGearPosition(hhs[15], 3885, 285)
   229 	SetGearPosition(hhs[16], 935, 1160)
   228 	SetGearPosition(hhs[16], 935, 1160)
       
   229 	HogTurnLeft(hhs[0], true)
   230 
   230 
   231 	for i = 1, 16 do
   231 	for i = 1, 16 do
   232 		AssignCharacter(i)
   232 		AssignCharacter(i)
   233 	end
   233 	end
   234 
   234