equal
deleted
inserted
replaced
110 green1.gear = green1.human |
110 green1.gear = green1.human |
111 -- Fruit Assasins |
111 -- Fruit Assasins |
112 local assasinsHats = { "NinjaFull", "NinjaStraight", "NinjaTriangle" } |
112 local assasinsHats = { "NinjaFull", "NinjaStraight", "NinjaTriangle" } |
113 AddTeam(teamC.name, teamC.color, "Bone", "Island", "HillBilly", "cm_birdy") |
113 AddTeam(teamC.name, teamC.color, "Bone", "Island", "HillBilly", "cm_birdy") |
114 for i=1,table.getn(redHedgehogs) do |
114 for i=1,table.getn(redHedgehogs) do |
115 redHedgehogs[i].gear = AddHog(redHedgehogs[i].name, 1, 100, assasinsHats[math.random(1,3)]) |
115 redHedgehogs[i].gear = AddHog(redHedgehogs[i].name, 1, 100, assasinsHats[GetRandom(3)+1]) |
116 AnimSetGearPosition(redHedgehogs[i].gear, 2010 + 50*i, 630) |
116 AnimSetGearPosition(redHedgehogs[i].gear, 2010 + 50*i, 630) |
117 end |
117 end |
118 |
118 |
119 AnimInit() |
119 AnimInit() |
120 AnimationSetup() |
120 AnimationSetup() |
547 function goToThesurface() |
547 function goToThesurface() |
548 TurnTimeLeft = 0 |
548 TurnTimeLeft = 0 |
549 end |
549 end |
550 |
550 |
551 function wind() |
551 function wind() |
552 SetWind(math.random(-100,100)) |
552 SetWind(GetRandom(201)-100) |
553 end |
553 end |
554 |
554 |
555 function saveHogsPositions() |
555 function saveHogsPositions() |
556 local positions; |
556 local positions; |
557 positions = GetX(hero.gear)..","..GetY(hero.gear) |
557 positions = GetX(hero.gear)..","..GetY(hero.gear) |