91 choiceAccept = 1 |
91 choiceAccept = 1 |
92 choiceRefuse = 2 |
92 choiceRefuse = 2 |
93 choiceAttack = 3 |
93 choiceAttack = 3 |
94 |
94 |
95 HogNames = {loc("Brainiac"), loc("Corpsemonger"), loc("Femur Lover"), loc("Glark"), loc("Bonely"), loc("Rot Molester"), loc("Bloodrocutor"), loc("Muscle Dissolver"), loc("Bloodsucker")} |
95 HogNames = {loc("Brainiac"), loc("Corpsemonger"), loc("Femur Lover"), loc("Glark"), loc("Bonely"), loc("Rot Molester"), loc("Bloodrocutor"), loc("Muscle Dissolver"), loc("Bloodsucker")} |
|
96 |
|
97 nativesTeamName = nil |
|
98 weaklingsTeamName = nil |
96 |
99 |
97 ---POSITIONS--- |
100 ---POSITIONS--- |
98 |
101 |
99 cannibalPos = {{3108, 1127}, |
102 cannibalPos = {{3108, 1127}, |
100 {2559, 1080}, {3598, 1270}, {3293, 1177}, {2623, 1336}, |
103 {2559, 1080}, {3598, 1270}, {3293, 1177}, {2623, 1336}, |
612 SetGearMessage(ramon, 0) |
615 SetGearMessage(ramon, 0) |
613 SetGearMessage(spiky, 0) |
616 SetGearMessage(spiky, 0) |
614 end |
617 end |
615 |
618 |
616 function AddHogs() |
619 function AddHogs() |
617 AddTeam(loc("Natives"), -2, "Bone", "Island", "HillBilly", "cm_birdy") |
620 nativesTeamName = AddTeam(loc("Natives"), -2, "Bone", "Island", "HillBilly", "cm_birdy") |
618 ramon = AddHog(loc("Ramon"), 0, 100, "rasta") |
621 ramon = AddHog(loc("Ramon"), 0, 100, "rasta") |
619 leaks = AddHog(loc("Leaks A Lot"), 0, 100, "Rambo") |
622 leaks = AddHog(loc("Leaks A Lot"), 0, 100, "Rambo") |
620 dense = AddHog(loc("Dense Cloud"), 0, 100, "RobinHood") |
623 dense = AddHog(loc("Dense Cloud"), 0, 100, "RobinHood") |
621 spiky = AddHog(loc("Spiky Cheese"), 0, 100, "hair_yellow") |
624 spiky = AddHog(loc("Spiky Cheese"), 0, 100, "hair_yellow") |
622 |
625 |
623 AddTeam(loc("Weaklings"), -1, "skull", "Island", "Pirate","cm_vampire") |
626 weaklingsTeamName = AddTeam(loc("Weaklings"), -1, "skull", "Island", "Pirate","cm_vampire") |
624 cannibals = {} |
627 cannibals = {} |
625 cannibals[1] = AddHog(loc("Brainiac"), 5, 20, "Zombi") |
628 cannibals[1] = AddHog(loc("Brainiac"), 5, 20, "Zombi") |
626 |
629 |
627 for i = 2, 5 do |
630 for i = 2, 5 do |
628 cannibals[i] = AddHog(HogNames[i], 5, 20, "Zombi") |
631 cannibals[i] = AddHog(HogNames[i], 5, 20, "Zombi") |
792 end |
795 end |
793 SetGearMessage(CurrentHedgehog, 0) |
796 SetGearMessage(CurrentHedgehog, 0) |
794 AddAnim(stronglingsAnim) |
797 AddAnim(stronglingsAnim) |
795 AddFunction({func = AfterStronglingsAnim, args = {}}) |
798 AddFunction({func = AfterStronglingsAnim, args = {}}) |
796 stage = interWeakStage |
799 stage = interWeakStage |
797 DismissTeam(loc("Weaklings")) |
800 DismissTeam(weaklingsTeamName) |
798 end |
801 end |
799 |
802 |
800 function CheckRefuse() |
803 function CheckRefuse() |
801 return GetX(dense) > 1400 and StoppedGear(dense) |
804 return GetX(dense) > 1400 and StoppedGear(dense) |
802 end |
805 end |