share/hedgewars/Data/Missions/Challenge/User_Mission_-_Rope_Knock_Challenge.lua
author Wuzzy <Wuzzy2@mail.ru>
Sat, 02 Nov 2019 13:01:28 +0100
changeset 15523 5a30396f8fb2
parent 15513 3dc01bbcd0d8
permissions -rw-r--r--
ClimbHome: Change misleading Seed assignment to nil value This was "Seed = ClimbHome", but ClimbHome was a nil value. This code still worked as the engine interpreted the nil value as empty string. But it can be very misleading. This changeset makes the Seed assignment more explicit by assigning the empty string directly. The compability has been tested.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8043
da083f8d95e6 We need custom script loading function in lua now
unc0rr
parents: 7889
diff changeset
     1
HedgewarsScriptLoad("/Scripts/Locale.lua")
15513
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
     2
HedgewarsScriptLoad("/Scripts/RopeKnocking.lua")
7889
57b117d441b9 consistent line endings
nemo
parents: 7095
diff changeset
     3
15513
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
     4
-- In this mission, the names of the enemy hogs are chosen randomly from this list.
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
     5
-- As a nod to the community, this list contains names of actual users/players;
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
     6
-- Mostly developers, contributors, high-ranking players in a shoppa tournament,
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
     7
-- highly active forum users.
7889
57b117d441b9 consistent line endings
nemo
parents: 7095
diff changeset
     8
15513
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
     9
-- NOTE: These names are intentionally not translated.
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    10
local hogData =	{
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    11
	{"amn",			"NinjaFull"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    12
	{"alfadur",		"NoHat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    13
	{"Anachron",		"war_americanww2helmet"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    14
	{"Bufon", 		"ShaggyYeti"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    15
	{"burp", 		"lambda"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    16
	{"Blue", 		"cap_blue"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    17
	{"bender", 		"NoHat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    18
	{"Castell",		"NoHat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    19
	{"cekoto", 		"NoHat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    20
	{"CheezeMonkey",	"NoHat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    21
	{"claymore", 		"NoHat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    22
	{"CIA-144", 		"cyborg1"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    23
	{"cri.the.grinch",	"sf_blanka"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    24
	{"eldiablo",		"Evil"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    25
	{"Displacer",		"fr_lemon"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    26
	{"doomy", 		"NoHat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    27
	{"Falkenauge", 		"NoHat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    28
	{"FadeOne", 		"NoHat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    29
	{"hayaa", 		"NoHat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    30
	{"Hermes", 		"laurel"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    31
	{"Henek", 		"WizardHat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    32
	{"HedgeKing",		"NoHat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    33
	{"Izack1535", 		"NoHat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    34
	{"Kiofspa", 		"NoHat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    35
	{"KoBeWi",		"NoHat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    36
	{"Komplex", 		"NoHat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    37
	{"koda", 		"poke_mudkip"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    38
	{"Lalo", 		"NoHat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    39
	{"Logan", 		"NoHat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    40
	{"lollkiller", 		"NoHat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    41
	{"Luelle", 		"NoHat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    42
	{"mikade", 		"Skull"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    43
	{"Mushi", 		"sm_daisy"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    44
	{"Naboo", 		"NoHat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    45
	{"nemo", 		"bb_bub"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    46
	{"practice", 		"NoHat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    47
	{"Prof. Panic",  	"NoHat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    48
	{"Randy",		"zoo_Sheep"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    49
	{"rhino", 		"NinjaTriangle"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    50
	{"Radissthor",  	"NoHat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    51
	{"Sami",		"sm_peach"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    52
	{"soreau", 		"NoHat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    53
	{"Solar",		"pinksunhat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    54
	{"sparkle",		"NoHat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    55
	{"szczur", 		"mp3"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    56
	{"sdw195", 		"NoHat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    57
	{"sphrix", 		"TeamTopHat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    58
	{"sheepluva",		"zoo_Sheep"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    59
	{"Smaxx", 		"NoHat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    60
	{"shadowzero", 		"NoHat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    61
	{"Star and Moon",	"SparkleSuperFun"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    62
	{"The 24",		"NoHat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    63
	{"TLD",			"NoHat"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    64
	{"Tiyuri", 		"sf_ryu"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    65
	{"unC0Rr", 		"cyborg1"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    66
	{"Waldsau", 		"cyborg1"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    67
	{"wolfmarc", 		"knight"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    68
	{"Wuzzy",		"fr_orange"},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    69
	{"Xeli", 		"android"}
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    70
}
7889
57b117d441b9 consistent line endings
nemo
parents: 7095
diff changeset
    71
15513
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    72
local function assignNamesAndHats(team)
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    73
	for t=1, #team do
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    74
		local d = 1 + GetRandom(#hogData)
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    75
		team[t].name = hogData[d][1]
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    76
		team[t].hat = hogData[d][2]
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    77
		table.remove(hogData, d)
13756
5525f69bf76b Fix stats screwing up in Rope Knock Challenge if you lose
Wuzzy <Wuzzy2@mail.ru>
parents: 13643
diff changeset
    78
	end
5525f69bf76b Fix stats screwing up in Rope Knock Challenge if you lose
Wuzzy <Wuzzy2@mail.ru>
parents: 13643
diff changeset
    79
end
5525f69bf76b Fix stats screwing up in Rope Knock Challenge if you lose
Wuzzy <Wuzzy2@mail.ru>
parents: 13643
diff changeset
    80
7889
57b117d441b9 consistent line endings
nemo
parents: 7095
diff changeset
    81
15513
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    82
local enemyTeam1 = {
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    83
	{ x = 3350, y = 570 },
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    84
	{ x = 3039, y = 1300 },
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    85
	{ x = 2909, y = 430 },
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    86
	{ x = 2150, y = 879 },
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    87
	{ x = 1735, y = 1136 },
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    88
	{ x = 1563, y = 553 },
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    89
	{ x = 679, y = 859 },
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    90
	{ x = 1034, y = 251 },
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    91
}
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    92
local enemyTeam2 = {
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    93
	{ x = 255, y = 91 },
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    94
	{ x = 2671, y = 7 },
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    95
	{ x = 2929, y = 244 },
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    96
	{ x = 1946, y = 221 },
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    97
	{ x = 3849, y = 1067 },
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    98
	{ x = 3360, y = 659 },
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
    99
	{ x = 3885, y = 285 },
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
   100
	{ x = 935, y = 1160 },
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
   101
}
7889
57b117d441b9 consistent line endings
nemo
parents: 7095
diff changeset
   102
15513
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
   103
assignNamesAndHats(enemyTeam1)
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
   104
assignNamesAndHats(enemyTeam2)
7889
57b117d441b9 consistent line endings
nemo
parents: 7095
diff changeset
   105
15513
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
   106
RopeKnocking({
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
   107
	missionName = loc("Rope-knocking Challenge"),
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
   108
	map = "Ropes",
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
   109
	theme = "Eyes",
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
   110
	turnTime = 180000,
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
   111
	valkyries = true,
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
   112
	playerTeam = {
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
   113
		x = 2419,
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
   114
		y = 1769,
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
   115
		faceLeft = true,
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
   116
	},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
   117
	enemyTeams = {
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
   118
		{
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
   119
			name = loc("Unsuspecting Louts"),
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
   120
			flag = "cm_face",
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
   121
			hogs = enemyTeam1,
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
   122
		},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
   123
		{
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
   124
			name = loc("Unlucky Sods"),
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
   125
			flag = "cm_balrog",
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
   126
			hogs = enemyTeam2,
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
   127
		},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
   128
	},
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
   129
	onGameStart = function()
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
   130
		PlaceGirder(46,1783, 0)
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
   131
	end,
3dc01bbcd0d8 Refactor Rope Knock Chellenge to use RopeKnocking library
Wuzzy <Wuzzy2@mail.ru>
parents: 14669
diff changeset
   132
})
12739
2f873afda0e2 Rope Knock Challenge: Don't count hog kills after hero hurt itself
Wuzzy <Wuzzy2@mail.ru>
parents: 12738
diff changeset
   133