share/hedgewars/Data/Missions/Challenge/Target_Practice_-_Cluster_Bomb.lua
author Wuzzy <Wuzzy2@mail.ru>
Mon, 21 Jan 2019 19:28:39 +0100
changeset 14648 be8af70adf2c
parent 13098 d3e9f3423ef3
child 14652 919754e1c269
permissions -rw-r--r--
Tweak hog spawn height and facing direction in challenges

HedgewarsScriptLoad("/Scripts/TargetPractice.lua")

local params = {
	ammoType = amClusterBomb,
	gearType = gtClusterBomb,
	secGearType = gtCluster,
	missionTitle = loc("Cluster Bomb Training"),
	solidLand = false,
	map = "Trash",
	theme = "Golf",
	hog_x = 756,
	hog_y = 403,
	hogName = loc("Private Nolak"),
	hogHat = "war_desertgrenadier1",
	faceLeft = true,
	teamName = loc("The Hogies"),
	targets = {
		{ x = 628, y = 0 },
		{ x = 891, y = 0 },
		{ x = 1309, y = 0 },
		{ x = 1128, y = 0 },
		{ x = 410, y = 0 },
		{ x = 1564, y = 0 },
		{ x = 1248, y = 476 },
		{ x = 169, y = 0 },
		{ x = 1720, y = 0 },
		{ x = 1441, y = 0 },
		{ x = 599, y = 0 },
		{ x = 1638, y = 0 },
	},
	time = 180000,
	shootText = loc("You have thrown %d cluster bombs."),
}

TargetPracticeMission(params)