share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/shadow.lua
changeset 13583 141cdfe0f3ca
parent 13142 39aa98d01e80
child 13740 2bb7141496a9
equal deleted inserted replaced
13582:517b26009073 13583:141cdfe0f3ca
   601   SetGearMessage(ramon, 0)
   601   SetGearMessage(ramon, 0)
   602   SetGearMessage(spiky, 0)
   602   SetGearMessage(spiky, 0)
   603 end
   603 end
   604 
   604 
   605 function AddHogs()
   605 function AddHogs()
   606 	AddTeam(loc("Natives"), 29439, "Bone", "Island", "HillBilly", "cm_birdy")
   606 	AddTeam(loc("Natives"), -2, "Bone", "Island", "HillBilly", "cm_birdy")
   607   ramon = AddHog(loc("Ramon"), 0, 100, "rasta")
   607   ramon = AddHog(loc("Ramon"), 0, 100, "rasta")
   608 	leaks = AddHog(loc("Leaks A Lot"), 0, 100, "Rambo")
   608 	leaks = AddHog(loc("Leaks A Lot"), 0, 100, "Rambo")
   609   dense = AddHog(loc("Dense Cloud"), 0, 100, "RobinHood")
   609   dense = AddHog(loc("Dense Cloud"), 0, 100, "RobinHood")
   610   spiky = AddHog(loc("Spiky Cheese"), 0, 100, "hair_yellow")
   610   spiky = AddHog(loc("Spiky Cheese"), 0, 100, "hair_yellow")
   611 
   611 
   612   AddTeam(loc("Weaklings"), 14483456, "skull", "Island", "Pirate","cm_vampire")
   612   AddTeam(loc("Weaklings"), -1, "skull", "Island", "Pirate","cm_vampire")
   613   cannibals = {}
   613   cannibals = {}
   614   cannibals[1] = AddHog(loc("Brainiac"), 5, 20, "Zombi")
   614   cannibals[1] = AddHog(loc("Brainiac"), 5, 20, "Zombi")
   615 
   615 
   616   for i = 2, 5 do
   616   for i = 2, 5 do
   617     cannibals[i] = AddHog(HogNames[i], 5, 20, "Zombi")
   617     cannibals[i] = AddHog(HogNames[i], 5, 20, "Zombi")
   618     hogNr[cannibals[i]] = i - 2
   618     hogNr[cannibals[i]] = i - 2
   619   end
   619   end
   620 
   620 
   621   AddTeam(loc("Stronglings"), 14483456, "skull", "Island", "Pirate","cm_vampire")
   621   AddTeam(loc("Stronglings"), -1, "skull", "Island", "Pirate","cm_vampire")
   622 
   622 
   623   for i = 6, 9 do
   623   for i = 6, 9 do
   624     cannibals[i] = AddHog(HogNames[i], 4, 30, "vampirichog")
   624     cannibals[i] = AddHog(HogNames[i], 4, 30, "vampirichog")
   625     hogNr[cannibals[i]] = i - 2
   625     hogNr[cannibals[i]] = i - 2
   626   end
   626   end
   627 
   627 
   628   AddTeam(loc("011101001"), 14483456, "ring", "UFO", "Robot", "cm_binary")
   628   AddTeam(loc("011101001"), -1, "ring", "UFO", "Robot", "cm_binary")
   629   cyborg = AddHog(loc("Y3K1337"), 0, 200, "cyborg1")
   629   cyborg = AddHog(loc("Y3K1337"), 0, 200, "cyborg1")
   630 end
   630 end
   631 
   631 
   632 function PlaceHogs()
   632 function PlaceHogs()
   633   HogTurnLeft(leaks, true)
   633   HogTurnLeft(leaks, true)