share/hedgewars/Data/Missions/Scenario/Bazooka_Battlefield.lua
author Wuzzy <Wuzzy2@mail.ru>
Fri, 31 May 2019 21:39:47 +0200
changeset 15096 5c8c729a16ce
parent 14488 310b167141cc
permissions -rw-r--r--
Scenarios: Show "Mission succeeded/failed!" in stats screen
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
13055
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
     1
HedgewarsScriptLoad("/Scripts/SimpleMission.lua")
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
     2
HedgewarsScriptLoad("/Scripts/Locale.lua")
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
     3
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
     4
SimpleMission({
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
     5
	missionTitle = loc("Bazooka Battlefield"),
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
     6
	initVars = {
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
     7
		TurnTime = 15000,
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
     8
		Map = "Battlefield",
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
     9
		Theme = "Castle",
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    10
		SuddenDeathTurns = 15,
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    11
		WaterRise = 33,
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    12
	},
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    13
	ammoConfig = {
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    14
		[amBazooka] = { count = 9 },
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    15
	},
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    16
	teams = {
14488
310b167141cc Use player's team identity for SimpleMission-based mission
Wuzzy <Wuzzy2@mail.ru>
parents: 13055
diff changeset
    17
		{ isMissionTeam = true,
13055
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    18
		hogs = {
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    19
			{
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    20
			health = 100,
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    21
			x = 276, y = 825,
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    22
			ammo = { [amSwitch] = 100 },
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    23
			},
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    24
			{
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    25
			health = 100,
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    26
			x = 1794, y = 716,
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    27
			faceLeft = true,
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    28
			},
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    29
		}, },
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    30
		{ name = loc("Hill Guard"),
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    31
		flag = "cm_balrog",
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    32
		grave = "Rip",
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    33
		hogs = {
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    34
			{ name = loc("Bushes"),
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    35
			faceLeft = true,
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    36
			health = 30,
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    37
			x = 706, y = 698,
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    38
			hat = "Viking",
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    39
			botLevel = 3,
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    40
			faceLeft = true,
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    41
			ammo = { [amGrenade] = 100, [amFirePunch] = 100, [amWhip] = 100 },
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    42
			},
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    43
			{ name = loc("Skulls"),
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    44
			faceLeft = true,
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    45
			health = 30,
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    46
			x = 1033, y = 518,
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    47
			hat = "Viking",
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    48
			botLevel = 3,
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    49
			},
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    50
			{ name = loc("Swords"),
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    51
			health = 30,
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    52
			x = 606, y = 348,
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    53
			hat = "Viking",
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    54
			botLevel = 3,
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    55
			},
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    56
			{ name = loc("Sneaks"),
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    57
			faceLeft = true,
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    58
			health = 30,
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    59
			x = 1330, y = 509,
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    60
			hat = "Viking",
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    61
			botLevel = 3,
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    62
			},
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    63
			{ name = loc("Axes"),
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    64
			faceLeft = true,
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    65
			health = 30,
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    66
			x = 1424, y = 374,
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    67
			hat = "Viking",
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    68
			botLevel = 3,
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    69
			}
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    70
		}, },
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    71
	},
09edbd8a311d 2 new scenarios: Bazooka Battlefield, Tentacle Terror
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
    72
})