share/hedgewars/Data/Missions/Scenario/User_Mission_-_The_Great_Escape.lua
author Wuzzy <Wuzzy2@mail.ru>
Mon, 21 Jan 2019 19:49:38 +0100
changeset 14670 e7b2542c4d28
parent 14504 310b167141cc
permissions -rw-r--r--
More spawn height tweaking in missions
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
13060
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
     1
HedgewarsScriptLoad("/Scripts/SimpleMission.lua")
8043
da083f8d95e6 We need custom script loading function in lua now
unc0rr
parents: 7889
diff changeset
     2
HedgewarsScriptLoad("/Scripts/Locale.lua")
13060
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
     3
SimpleMission({
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
     4
	missionTitle = loc("The Great Escape"),
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
     5
	goalText = loc("Eliminate your captor.") .."|".. loc("Unlimited Attacks: Attacks don't end your turn"),
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
     6
	missionIcon = -amGrenade,
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
     7
	wind = 100,
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
     8
	initVars = {
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
     9
		TurnTime = 45000,
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    10
		Map = "Castle",
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    11
		Theme = "Nature",
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    12
		MinesTime = 0,
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    13
		Seed = 0,
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    14
		GameFlags = gfInfAttack + gfDisableWind,
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    15
	},
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    16
	ammoConfig = {
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    17
		[amGrenade] = { count = 1 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    18
		[amParachute] = { count = 1 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    19
		[amFirePunch] = { ammoInCrate = 3 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    20
	},
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    21
	teams = {
14504
310b167141cc Use player's team identity for SimpleMission-based mission
Wuzzy <Wuzzy2@mail.ru>
parents: 13060
diff changeset
    22
		{ isMissionTeam = true,
310b167141cc Use player's team identity for SimpleMission-based mission
Wuzzy <Wuzzy2@mail.ru>
parents: 13060
diff changeset
    23
		hogs = {{ health = 1, x = 1050, y = 534 }},
13060
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    24
		},
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    25
		{ name = loc("Bad Team"),
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    26
		flag = "cm_dragonrb",
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    27
		grave = "dragonball",
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    28
		hogs = {{ name = loc("Bad Guy"), health = 1, x = 1512, y = 158, botLevel = 1 }}
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    29
		},
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    30
	},
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    31
	girders = {
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    32
		{ x = 1042, y = 564, frameIdx = 0 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    33
		{ x = 1028, y = 474, frameIdx = 6 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    34
		{ x = 1074, y = 474, frameIdx = 6 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    35
		{ x = 1050, y = 385, frameIdx = 0 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    36
		{ x = 1175, y = 731, frameIdx = 7 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    37
		{ x = 1452, y = 905, frameIdx = 2 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    38
		{ x = 1522, y = 855, frameIdx = 4 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    39
		{ x = 1496, y = 900, frameIdx = 3 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    40
		{ x = 1682, y = 855, frameIdx = 4 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    41
		{ x = 1773, y = 887, frameIdx = 2 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    42
		{ x = 1647, y = 901, frameIdx = 1 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    43
		{ x = 1871, y = 883, frameIdx = 6 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    44
		{ x = 1871, y = 723, frameIdx = 6 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    45
		{ x = 1774, y = 768, frameIdx = 6 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    46
		{ x = 1773, y = 767, frameIdx = 6 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    47
		{ x = 1821, y = 904, frameIdx = 1 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    48
		{ x = 1822, y = 802, frameIdx = 3 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    49
		{ x = 1820, y = 723, frameIdx = 1 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    50
		{ x = 1782, y = 678, frameIdx = 4 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    51
		{ x = 1822, y = 661, frameIdx = 0 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    52
		{ x = 1822, y = 644, frameIdx = 0 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    53
		{ x = 1742, y = 644, frameIdx = 0 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    54
		{ x = 1742, y = 661, frameIdx = 0 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    55
		{ x = 1694, y = 676, frameIdx = 2 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    56
		{ x = 1903, y = 635, frameIdx = 0 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    57
	},
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    58
	gears = {
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    59
		{ type = gtMine, x = 1010, y = 680 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    60
		{ type = gtMine, x = 1031, y = 720 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    61
		{ type = gtMine, x = 1039, y = 748 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    62
		{ type = gtMine, x = 1051, y = 777 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    63
		{ type = gtMine, x = 1065, y = 796 },
7889
57b117d441b9 consistent line endings
nemo
parents: 7877
diff changeset
    64
13060
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    65
		{ type = gtCase, crateType = "supply", x = 1632, y = 943, ammoType = amShotgun },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    66
		{ type = gtCase, crateType = "supply", x = 1723, y = 888, ammoType = amFirePunch },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    67
		{ type = gtCase, crateType = "supply", x = 1915, y = 599, ammoType = amGrenade },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    68
		{ type = gtCase, crateType = "supply", x = 1416, y = 913, ammoType = amBlowTorch },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    69
		{ type = gtCase, crateType = "supply", x = 1227, y = 640, ammoType = amPickHammer },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    70
		{ type = gtCase, crateType = "supply", x = 1519, y = 945, ammoType = amParachute},
7889
57b117d441b9 consistent line endings
nemo
parents: 7877
diff changeset
    71
13060
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    72
		{ type = gtCase, crateType = "health", x = 1476, y = 169 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    73
		{ type = gtCase, crateType = "health", x = 1551, y = 177 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    74
		{ type = gtCase, crateType = "health", x = 1586, y = 200 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    75
		{ type = gtCase, crateType = "health", x = 1439, y = 189 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    76
		{ type = gtCase, crateType = "health", x = 1401, y = 211 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    77
		{ type = gtCase, crateType = "health", x = 1633, y = 210 },
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    78
	},
aed0374bbd8a Convert The Great Escape to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    79
})