share/hedgewars/Data/Missions/Challenge/User_Mission_-_That_Sinking_Feeling.lua
changeset 14489 764ba6182389
parent 14487 d4aa64f51c9f
child 14497 6c62f7ebea45
equal deleted inserted replaced
14488:310b167141cc 14489:764ba6182389
    52 	Map = "Islands"
    52 	Map = "Islands"
    53 	Theme = "City"
    53 	Theme = "City"
    54 	HealthDecrease = 0
    54 	HealthDecrease = 0
    55 	WaterRise = 0
    55 	WaterRise = 0
    56 
    56 
    57 	local idx = AddTeam(loc("Hapless Hogs"), -1, "Simple", "Island", "Default")
    57 	haplessTeamName = AddTeam(loc("Hapless Hogs"), -1, "Simple", "Island", "Default")
    58 	haplessTeamName = GetTeamName(idx)
       
    59 	hh[0] = AddHog(loc("Sinky"), 1, 100, "fr_lemon")
    58 	hh[0] = AddHog(loc("Sinky"), 1, 100, "fr_lemon")
    60 	hh[1] = AddHog(loc("Drowner"), 1, 100, "fr_orange")
    59 	hh[1] = AddHog(loc("Drowner"), 1, 100, "fr_orange")
    61 	hh[2] = AddHog(loc("Heavy"), 1, 100, "dish_Teapot")
    60 	hh[2] = AddHog(loc("Heavy"), 1, 100, "dish_Teapot")
    62 	hh[3] = AddHog(loc("Clumsy"), 1, 100, "dish_SauceBoatSilver")
    61 	hh[3] = AddHog(loc("Clumsy"), 1, 100, "dish_SauceBoatSilver")
    63 	hh[4] = AddHog(loc("Silly"), 1, 100, "dish_Ladle")
    62 	hh[4] = AddHog(loc("Silly"), 1, 100, "dish_Ladle")
    64 	hh[5] = AddHog(loc("Careless"), 1, 100, "StrawHatEyes")
    63 	hh[5] = AddHog(loc("Careless"), 1, 100, "StrawHatEyes")
    65 	hh[6] = AddHog(loc("Sponge"), 1, 100, "sf_chunli")
    64 	hh[6] = AddHog(loc("Sponge"), 1, 100, "sf_chunli")
    66 	hh[7] = AddHog(loc("Deadweight"), 1, 100, "dish_Teacup")
    65 	hh[7] = AddHog(loc("Deadweight"), 1, 100, "dish_Teacup")
    67 
    66 
    68 	idx = AddMissionTeam(-1)
    67 	playerTeamname = AddMissionTeam(-1)
    69 	playerTeamName = GetTeamName(idx)
       
    70 	player = AddMissionHog(1)
    68 	player = AddMissionHog(1)
    71 
    69 
    72 	SetGearPosition(player, 3992, 733)
    70 	SetGearPosition(player, 3992, 733)
    73 	SetGearPosition(hh[0], 938, 1369)
    71 	SetGearPosition(hh[0], 938, 1369)
    74 	SetGearPosition(hh[1], 1301, 1439)
    72 	SetGearPosition(hh[1], 1301, 1439)