share/hedgewars/Data/Missions/Scenario/User_Mission_-_Newton_and_the_Hammock.lua
author Wuzzy <Wuzzy2@mail.ru>
Thu, 20 Dec 2018 18:23:13 +0100
changeset 14483 310b167141cc
parent 13057 8b44518d1002
child 14932 ff4003a90ff8
permissions -rw-r--r--
Use player's team identity for SimpleMission-based mission
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
13057
8b44518d1002 Convert Newton and the Hammock 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: 7877
diff changeset
     2
HedgewarsScriptLoad("/Scripts/Locale.lua")
5598
265429f7ba85 - Updates to Tumbler gameplay mode [may still need a lil work]
mikade
parents:
diff changeset
     3
13057
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
     4
SimpleMission({
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
     5
	missionTitle = loc("Newton and the Hammock"),
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
     6
	missionIcon = -amJetpack,
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
     7
	initVars = {
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
     8
		TurnTime = 60000,
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
     9
		MinesTime = 1000,
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    10
		Map = "Hammock",
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    11
		Theme = "Nature",
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    12
		MapGen = mgRandom,
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    13
		MapFeatureSize = 12,
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    14
	},
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    15
	teams = {
14483
310b167141cc Use player's team identity for SimpleMission-based mission
Wuzzy <Wuzzy2@mail.ru>
parents: 13057
diff changeset
    16
		{ isMissionTeam = true,
13057
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    17
		clanID = 0,
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    18
		hogs = {
14483
310b167141cc Use player's team identity for SimpleMission-based mission
Wuzzy <Wuzzy2@mail.ru>
parents: 13057
diff changeset
    19
			{health = 48, x = 397, y = 865}
13057
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    20
		}, },
5598
265429f7ba85 - Updates to Tumbler gameplay mode [may still need a lil work]
mikade
parents:
diff changeset
    21
13057
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    22
		{ name = loc("Cybernetic Empire"),
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    23
		clanID = 5,
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    24
		flag = "cm_cyborg",
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    25
		grave = "ring",
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    26
		voice = "Robot",
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    27
		hogs = {
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    28
			{name=loc("Unit 881"), x=561, y=1365, health=100, hat="cyborg1", botLevel=1,
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    29
			ammo = {
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    30
				[amShotgun] = 100,
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    31
				[amFirePunch] = 100,
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    32
			},},
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    33
		},
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    34
		}
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    35
	},
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    36
	girders = {
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    37
		{ x=1073, y=2009, frameIdx=0, },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    38
		{ x=524, y=1487, frameIdx=3, },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    39
		{ x=638, y=1453, frameIdx=4, },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    40
		{ x=761, y=1453, frameIdx=0, },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    41
		{ x=840, y=1421, frameIdx=3, },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    42
		{ x=302, y=1388, frameIdx=6, },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    43
		{ x=327, y=1506, frameIdx=1, },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    44
		{ x=1669, y=1832, frameIdx=3, },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    45
	},
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    46
	gears = {
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    47
		{ type = gtMine, x = 1056, y = 1987 },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    48
		{ type = gtMine, x = 1086, y = 1988 },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    49
		{ type = gtSMine, x = 1089, y =965 },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    50
		{ type = gtSMine, x = 1133, y =945 },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    51
		{ type = gtSMine, x = 1010, y =1081 },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    52
		{ type = gtSMine, x = 1036, y =1049 },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    53
		{ type = gtSMine, x = 1057, y =1004 },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    54
		{ type = gtSMine, x = 784, y =1252 },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    55
		{ type = gtSMine, x = 841, y =1257 },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    56
		{ type = gtSMine, x = 902, y =1263 },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    57
		{ type = gtSMine, x = 952, y =1281 },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    58
		{ type = gtSMine, x = 517, y =1546 },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    59
		{ type = gtSMine, x = 559, y =1597 },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    60
		{ type = gtSMine, x = 613, y =1650 },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    61
		{ type = gtSMine, x = 674, y =1705 },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    62
		{ type = gtSMine, x = 746, y =1692 },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    63
		{ type = gtSMine, x = 810, y =1692 },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    64
		{ type = gtSMine, x = 872, y =1673 },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    65
		{ type = gtSMine, x = 933, y =1666 },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    66
		{ type = gtSMine, x = 981, y =1662 },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    67
		{ type = gtSMine, x = 1016, y =1634 },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    68
		{ type = gtSMine, x = 1063, y =1595 },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    69
		{ type = gtSMine, x = 1100, y =1574 },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    70
		{ type = gtSMine, x = 1002, y =1461 },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    71
		{ type = gtSMine, x = 1052, y =1438 },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    72
		{ type = gtSMine, x = 1102, y =1464 },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    73
		{ type = gtCase, x = 1565, y = 642, crateType="supply", ammoType = amSineGun },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    74
		{ type = gtCase, x = 548, y = 858, crateType="supply", ammoType = amBazooka },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    75
		{ type = gtCase, x = 479, y = 847, crateType="supply", ammoType = amJetpack },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    76
		{ type = gtCase, x = 1550, y = 1715, crateType="supply", ammoType = amBlowTorch },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    77
		{ type = gtCase, x = 1227, y = 1941, crateType="supply", ammoType = amJetpack },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    78
		{ type = gtCase, x = 1070, y = 1964, crateType="supply", ammoType = amInvulnerable },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    79
		{ type = gtCase, x = 1070, y = 1875, crateType="supply", ammoType = amTeleport },
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    80
	},
8b44518d1002 Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents: 12933
diff changeset
    81
})