share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/united.lua
changeset 13583 141cdfe0f3ca
parent 13145 5083fb0a2992
child 13742 2bb7141496a9
equal deleted inserted replaced
13582:517b26009073 13583:141cdfe0f3ca
   321   AddAmmo(cannibals[5], amMolotov, 2)
   321   AddAmmo(cannibals[5], amMolotov, 2)
   322   AddAmmo(cannibals[5], amFlamethrower, 3)
   322   AddAmmo(cannibals[5], amFlamethrower, 3)
   323 end
   323 end
   324 
   324 
   325 function AddHogs()
   325 function AddHogs()
   326 	AddTeam(loc("Natives"), 29439, "Bone", "Island", "HillBilly", "cm_birdy")
   326 	AddTeam(loc("Natives"), -2, "Bone", "Island", "HillBilly", "cm_birdy")
   327 	leaks = AddHog(loc("Leaks A Lot"), 0, 100, "Rambo")
   327 	leaks = AddHog(loc("Leaks A Lot"), 0, 100, "Rambo")
   328   dense = AddHog(loc("Dense Cloud"), 0, 100, "RobinHood")
   328   dense = AddHog(loc("Dense Cloud"), 0, 100, "RobinHood")
   329   water = AddHog(loc("Fiery Water"), 0, 100, "pirate_jack")
   329   water = AddHog(loc("Fiery Water"), 0, 100, "pirate_jack")
   330   buffalo = AddHog(loc("Raging Buffalo"), 0, 100, "zoo_Bunny")
   330   buffalo = AddHog(loc("Raging Buffalo"), 0, 100, "zoo_Bunny")
   331   chief = AddHog(loc("Righteous Beard"), 0, 100, "IndianChief")
   331   chief = AddHog(loc("Righteous Beard"), 0, 100, "IndianChief")
   332   natives = {leaks, dense, water, buffalo, chief}
   332   natives = {leaks, dense, water, buffalo, chief}
   333   nativesNum = 5
   333   nativesNum = 5
   334 
   334 
   335   AddTeam(loc("Light Cannfantry"), 14483456, "skull", "Island", "Pirate", "cm_vampire")
   335   AddTeam(loc("Light Cannfantry"), -1, "skull", "Island", "Pirate", "cm_vampire")
   336   for i = 1, 4 do
   336   for i = 1, 4 do
   337     cannibals[i] = AddHog(HogNames[i], 2, 40, "Zombi")
   337     cannibals[i] = AddHog(HogNames[i], 2, 40, "Zombi")
   338   end
   338   end
   339 
   339 
   340   AddTeam(loc("Heavy Cannfantry"), 14483456, "skull", "Island", "Pirate", "cm_vampire")
   340   AddTeam(loc("Heavy Cannfantry"), -1, "skull", "Island", "Pirate", "cm_vampire")
   341   for i = 5, 8 do
   341   for i = 5, 8 do
   342     cannibals[i] = AddHog(HogNames[i], 2, 55, "vampirichog")
   342     cannibals[i] = AddHog(HogNames[i], 2, 55, "vampirichog")
   343   end
   343   end
   344 
   344 
   345   AddTeam(loc("011101001"), 14483456, "ring", "UFO", "Robot", "cm_binary")
   345   AddTeam(loc("011101001"), -1, "ring", "UFO", "Robot", "cm_binary")
   346   cyborg = AddHog(loc("Unit 334a$7%;.*"), 0, 200, "cyborg1")
   346   cyborg = AddHog(loc("Unit 334a$7%;.*"), 0, 200, "cyborg1")
   347 
   347 
   348   AnimSetGearPosition(leaks,   unpack(leaksPos))
   348   AnimSetGearPosition(leaks,   unpack(leaksPos))
   349   AnimSetGearPosition(dense,   unpack(densePos))
   349   AnimSetGearPosition(dense,   unpack(densePos))
   350   AnimSetGearPosition(water,   unpack(waterPos))
   350   AnimSetGearPosition(water,   unpack(waterPos))