author | Wuzzy <Wuzzy2@mail.ru> |
Thu, 08 Mar 2018 00:54:12 +0100 | |
changeset 13101 | b500d07a50a1 |
parent 13059 | 2f21d92eae27 |
child 14504 | 310b167141cc |
permissions | -rw-r--r-- |
13059
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
1 |
HedgewarsScriptLoad("/Scripts/SimpleMission.lua") |
10017 | 2 |
HedgewarsScriptLoad("/Scripts/Locale.lua") |
3 |
||
13059
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
4 |
local enemyAmmo = { |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
5 |
[amDEagle] = 100, [amShotgun] = 100, [amGrenade] = 100, [amBazooka] = 100, [amDrill] = 100 |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
6 |
} |
10017 | 7 |
|
13059
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
8 |
SimpleMission({ |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
9 |
missionTitle = loc("Nobody Laugh"), |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
10 |
missionIcon = 0, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
11 |
goalText = |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
12 |
loc("Eliminate the enemy.") .. "|" .. |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
13 |
loc("Unlimited Attacks: Attacks don't end your turn") .. "|".. |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
14 |
loc("Per-hog Ammo: Weapons are not shared between hogs"), |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
15 |
wind = 100, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
16 |
initVars = { |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
17 |
TurnTime = 180000, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
18 |
Map = "Bath", |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
19 |
Theme = "Nature", |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
20 |
Seed = 0, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
21 |
GameFlags = gfInfAttack + gfPerHogAmmo + gfDisableWind, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
22 |
}, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
23 |
ammoConfig = { |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
24 |
[amSwitch] = { count = 9 }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
25 |
}, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
26 |
teams = { |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
27 |
{ name = loc("Nameless Heroes"), |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
28 |
flag = "cm_crossedswords", |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
29 |
grave = "eyecross", |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
30 |
voice = "HillBilly", |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
31 |
clanID = 0, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
32 |
hogs = { |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
33 |
{ |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
34 |
name = loc("Hunter"), |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
35 |
health = 1, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
36 |
x = 1267, y = 451, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
37 |
hat = "Skull", |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
38 |
botLevel = 0, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
39 |
ammo = { [amParachute] = 1, [amHammer] = 1 }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
40 |
}, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
41 |
{ |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
42 |
name = loc("Drowner"), |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
43 |
health = 31, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
44 |
x = 1332, y = 451, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
45 |
hat = "mp3", |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
46 |
botLevel = 0, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
47 |
ammo = { [amWhip] = 1 }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
48 |
}, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
49 |
}}, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
50 |
{ name = loc("Clowns"), |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
51 |
flag = "cm_face", |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
52 |
grave = "Duck2", |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
53 |
voice = "Mobster", |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
54 |
clanID = 5, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
55 |
hogs = { |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
56 |
{ name = loc("Poison"), health = 100, x = 1133, y = 446, hat = "WhySoSerious", botLevel = 1, ammo = enemyAmmo }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
57 |
{ name = loc("Bobo"), health = 100, x = 1215, y = 553, hat = "clown", botLevel = 1, ammo = enemyAmmo }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
58 |
{ name = loc("Copper"), health = 10, x = 414, y = 376, hat = "clown-copper", botLevel = 1, ammo = enemyAmmo }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
59 |
{ name = loc("Derp"), health = 100, x = 1590, y = 886, hat = "clown-crossed", botLevel = 1, ammo = enemyAmmo }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
60 |
{ name = loc("Eckles"), health = 100, x = 772, y = 754, hat = "clown-copper", botLevel = 1, ammo = enemyAmmo }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
61 |
{ name = loc("Frank"), health = 50, x = 1688, y = 714, hat = "clown-copper", botLevel = 1, ammo = enemyAmmo }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
62 |
{ name = loc("Harry"), health = 50, x = 1932, y = 837, hat = "clown-copper", botLevel = 1, ammo = enemyAmmo }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
63 |
{ name = loc("Igmund"), health = 50, x = 1601, y = 733, hat = "WhySoSerious", botLevel = 1, ammo = enemyAmmo }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
64 |
}}, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
65 |
}, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
66 |
girders = { |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
67 |
{ x = 1212, y = 710, frameIdx = 7 }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
68 |
{ x = 1215, y = 570, frameIdx = 4 }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
69 |
{ x = 1288, y = 520, frameIdx = 2 }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
70 |
{ x = 1184, y = 468, frameIdx = 4 }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
71 |
{ x = 1344, y = 468, frameIdx = 4 }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
72 |
{ x = 1247, y = 346, frameIdx = 4 }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
73 |
{ x = 667, y = 438, frameIdx = 4 }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
74 |
{ x = 507, y = 438, frameIdx = 4 }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
75 |
{ x = 434, y = 487, frameIdx = 2 }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
76 |
{ x = 505, y = 537, frameIdx = 4 }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
77 |
{ x = 665, y = 537, frameIdx = 4 }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
78 |
{ x = 737, y = 487, frameIdx = 2 }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
79 |
{ x = 416, y = 465, frameIdx = 6 }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
80 |
{ x = 1415, y = 378, frameIdx = 6 }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
81 |
{ x = 1300, y = 625, frameIdx = 3 }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
82 |
{ x = 1359, y = 566, frameIdx = 3 }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
83 |
{ x = 1436, y = 538, frameIdx = 0 }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
84 |
{ x = 1505, y = 468, frameIdx = 4 }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
85 |
}, |
10017 | 86 |
|
13059
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
87 |
gears = { |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
88 |
{ type = gtCase, crateType = "supply", x = 1242, y = 315, ammoType = amBaseballBat }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
89 |
{ type = gtCase, crateType = "supply", x = 1309, y = 315, ammoType = amAirAttack }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
90 |
{ type = gtCase, crateType = "supply", x = 144, y = 895, ammoType = amAirAttack }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
91 |
{ type = gtCase, crateType = "supply", x = 664, y = 699, ammoType = amIceGun }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
92 |
{ type = gtCase, crateType = "supply", x = 1572, y = 444, ammoType = amFirePunch }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
93 |
{ type = gtCase, crateType = "supply", x = 1574, y = 382, ammoType = amDynamite }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
94 |
{ type = gtCase, crateType = "supply", x = 654, y = 513, ammoType = amParachute }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
95 |
{ type = gtCase, crateType = "supply", x = 1569, y = 413, ammoType = amParachute }, |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
96 |
} |
2f21d92eae27
Convert Nobody Laugh to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12933
diff
changeset
|
97 |
}) |