share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit01.lua
changeset 12049 030464f34d47
parent 11692 68eddcdc9f26
child 12088 1da37e2ba6fd
equal deleted inserted replaced
12048:475a1289f940 12049:030464f34d47
   108 	HealthCaseAmount = 50
   108 	HealthCaseAmount = 50
   109 	Map = "fruit01_map"
   109 	Map = "fruit01_map"
   110 	Theme = "Fruit"
   110 	Theme = "Fruit"
   111 
   111 
   112 	-- Hog Solo
   112 	-- Hog Solo
   113 	AddTeam(teamA.name, teamA.color, "Bone", "Island", "HillBilly", "cm_birdy")
   113 	AddTeam(teamA.name, teamA.color, "Bone", "Island", "HillBilly", "hedgewars")
   114 	hero.gear = AddHog(hero.name, 0, 100, "war_desertgrenadier1")
   114 	hero.gear = AddHog(hero.name, 0, 100, "war_desertgrenadier1")
   115 	AnimSetGearPosition(hero.gear, hero.x, hero.y)
   115 	AnimSetGearPosition(hero.gear, hero.x, hero.y)
   116 	HogTurnLeft(hero.gear, true)
   116 	HogTurnLeft(hero.gear, true)
   117 	-- Captain Lime
   117 	-- Captain Lime
   118 	AddTeam(teamD.name, teamD.color, "Bone", "Island", "HillBilly", "cm_birdy")
   118 	AddTeam(teamD.name, teamD.color, "Bone", "Island", "HillBilly", "congo-brazzaville")
   119 	green1.bot = AddHog(green1.name, 1, 200, "war_desertofficer")
   119 	green1.bot = AddHog(green1.name, 1, 200, "war_desertofficer")
   120 	AnimSetGearPosition(green1.bot, green1.x, green1.y)
   120 	AnimSetGearPosition(green1.bot, green1.x, green1.y)
   121 	green1.human =  AddHog(green1.name, 0, 200, "war_desertofficer")
   121 	green1.human =  AddHog(green1.name, 0, 200, "war_desertofficer")
   122 	AnimSetGearPosition(green1.human, green1.x, green1.y)
   122 	AnimSetGearPosition(green1.human, green1.x, green1.y)
   123 	green1.gear = green1.human
   123 	green1.gear = green1.human
   124 	-- Green Bananas
   124 	-- Green Bananas
   125 	AddTeam(teamB.name, teamB.color, "Bone", "Island", "HillBilly", "cm_birdy")
   125 	AddTeam(teamB.name, teamB.color, "Bone", "Island", "HillBilly", "congo-brazzaville")
   126 	green2.gear = AddHog(green2.name, 0, 100, "war_britmedic")
   126 	green2.gear = AddHog(green2.name, 0, 100, "war_britmedic")
   127 	AnimSetGearPosition(green2.gear, green2.x, green2.y)
   127 	AnimSetGearPosition(green2.gear, green2.x, green2.y)
   128 	HogTurnLeft(green2.gear, true)
   128 	HogTurnLeft(green2.gear, true)
   129 	green3.gear = AddHog(green3.name, 0, 100, "hair_red")
   129 	green3.gear = AddHog(green3.name, 0, 100, "hair_red")
   130 	AnimSetGearPosition(green3.gear, green3.x, green3.y)
   130 	AnimSetGearPosition(green3.gear, green3.x, green3.y)
   134 	HogTurnLeft(green4.gear, true)
   134 	HogTurnLeft(green4.gear, true)
   135 	green5.gear = AddHog(green5.name, 0, 100, "war_sovietcomrade2")
   135 	green5.gear = AddHog(green5.name, 0, 100, "war_sovietcomrade2")
   136 	AnimSetGearPosition(green5.gear, green5.x, green5.y)
   136 	AnimSetGearPosition(green5.gear, green5.x, green5.y)
   137 	HogTurnLeft(green5.gear, true)
   137 	HogTurnLeft(green5.gear, true)
   138 	-- Yellow Watermelons
   138 	-- Yellow Watermelons
   139 	AddTeam(teamC.name, teamC.color, "Bone", "Island", "HillBilly", "cm_birdy")
   139 	AddTeam(teamC.name, teamC.color, "Bone", "Island", "HillBilly", "cm_mog")
   140 	yellow1.gear = AddHog(yellow1.name, 1, 100, "war_desertgrenadier2")
   140 	yellow1.gear = AddHog(yellow1.name, 1, 100, "war_desertgrenadier2")
   141 	AnimSetGearPosition(yellow1.gear, yellow1.x, yellow1.y)
   141 	AnimSetGearPosition(yellow1.gear, yellow1.x, yellow1.y)
   142 	-- the rest of the Yellow Watermelons
   142 	-- the rest of the Yellow Watermelons
   143 	local yellowHats = { "fr_apple", "fr_banana", "fr_lemon", "fr_orange" }
   143 	local yellowHats = { "fr_apple", "fr_banana", "fr_lemon", "fr_orange" }
   144 	for i=1,7 do
   144 	for i=1,7 do