share/hedgewars/Data/Missions/Scenario/Bazooka_Battlefield.lua
author Wuzzy <Wuzzy2@mail.ru>
Tue, 18 Dec 2018 18:37:58 +0100
changeset 14487 734a7af2dfc2
parent 13050 09edbd8a311d
child 14504 310b167141cc
permissions -rw-r--r--
Fix victory check of a few scenarios

HedgewarsScriptLoad("/Scripts/SimpleMission.lua")
HedgewarsScriptLoad("/Scripts/Locale.lua")

SimpleMission({
	missionTitle = loc("Bazooka Battlefield"),
	initVars = {
		TurnTime = 15000,
		Map = "Battlefield",
		Theme = "Castle",
		SuddenDeathTurns = 15,
		WaterRise = 33,
	},
	ammoConfig = {
		[amBazooka] = { count = 9 },
	},
	teams = {
		{ name = loc("Pincer Knights"),
		flag = "cm_swordshield",
		grave = "Grave",
		hogs = {
			{
			name = loc("Left Tong"),
			health = 100,
			x = 276, y = 825,
			botLevel = 0,
			hat = "knight",
			ammo = { [amSwitch] = 100 },
			},
			{
			name = loc("Right Tong"),
			health = 100,
			x = 1794, y = 716,
			botLevel = 0,
			hat = "knight",
			faceLeft = true,
			},
		}, },
		{ name = loc("Hill Guard"),
		flag = "cm_balrog",
		grave = "Rip",
		hogs = {
			{ name = loc("Bushes"),
			faceLeft = true,
			health = 30,
			x = 706, y = 698,
			hat = "Viking",
			botLevel = 3,
			faceLeft = true,
			ammo = { [amGrenade] = 100, [amFirePunch] = 100, [amWhip] = 100 },
			},
			{ name = loc("Skulls"),
			faceLeft = true,
			health = 30,
			x = 1033, y = 518,
			hat = "Viking",
			botLevel = 3,
			},
			{ name = loc("Swords"),
			health = 30,
			x = 606, y = 348,
			hat = "Viking",
			botLevel = 3,
			},
			{ name = loc("Sneaks"),
			faceLeft = true,
			health = 30,
			x = 1330, y = 509,
			hat = "Viking",
			botLevel = 3,
			},
			{ name = loc("Axes"),
			faceLeft = true,
			health = 30,
			x = 1424, y = 374,
			hat = "Viking",
			botLevel = 3,
			}
		}, },
	},
})