author | Wuzzy <Wuzzy2@mail.ru> |
Thu, 13 Dec 2018 22:50:14 +0100 | |
changeset 14438 | a88c61d8976a |
parent 13856 | f01798038c2e |
child 14488 | 310b167141cc |
permissions | -rw-r--r-- |
13061
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
1 |
HedgewarsScriptLoad("/Scripts/SimpleMission.lua") |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
2 |
HedgewarsScriptLoad("/Scripts/Locale.lua") |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
3 |
|
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
4 |
local heroAmmo = {} |
13856
f01798038c2e
Rename amDuck and related symbols to amCreeper, gtCreeper, etc.
Wuzzy <Wuzzy2@mail.ru>
parents:
13854
diff
changeset
|
5 |
for a=0, amCreeper do |
13061
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
6 |
if a == amExtraTime then |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
7 |
heroAmmo[a] = 2 |
13856
f01798038c2e
Rename amDuck and related symbols to amCreeper, gtCreeper, etc.
Wuzzy <Wuzzy2@mail.ru>
parents:
13854
diff
changeset
|
8 |
elseif a ~= amNothing and a ~= amCreeper then |
13061
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
9 |
heroAmmo[a] = 100 |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
10 |
end |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
11 |
end |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
12 |
|
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
13 |
SimpleMission({ |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
14 |
missionTitle = loc("Big Armory"), |
13062
8b44518d1002
Convert Newton and the Hammock to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
13061
diff
changeset
|
15 |
missionIcon = -amBazooka, |
13061
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
16 |
wind = 15, |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
17 |
initVars = { |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
18 |
TurnTime = 45000, |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
19 |
GameFlags = gfDisableWind + gfDisableLandObjects, |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
20 |
Theme = "EarthRise", |
13605 | 21 |
Map = "BigArmory", -- from sidecar HWP |
22 |
--[[ Map has been generated in Hedgewars 0.9.24 and |
|
23 |
then exported as PNG with these settings: |
|
24 |
* Seed = "{7e34a56b-ee7b-4fe1-8f30-352a998f3f6a}" |
|
25 |
* MapGen = mgRandom |
|
26 |
* MapFeatureSize = 12 |
|
27 |
* Theme = "EarthRise" |
|
28 |
* relevant GameFlag: gfDisableLandObjects ]] |
|
13061
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
29 |
}, |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
30 |
teams = { |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
31 |
{ name = loc("Pro Killers"), |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
32 |
clanID = 0, |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
33 |
flag = "cm_scout", |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
34 |
grave = "Bone", |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
35 |
hogs = { |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
36 |
{ |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
37 |
name = loc("Ultrasoldier"), |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
38 |
health = 100, |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
39 |
x = 543, y = 1167, |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
40 |
hat = "Terminator_Glasses", |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
41 |
ammo = heroAmmo, |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
42 |
} |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
43 |
}, }, |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
44 |
|
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
45 |
{ name = loc("Galaxy Guardians"), |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
46 |
clanID = 8, |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
47 |
flag = "cm_galaxy", |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
48 |
grave = "Earth", |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
49 |
hogs = { |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
50 |
{name=loc("Rocket"), x=796, y=1184, faceLeft=true}, |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
51 |
{name=loc("Star"), x=733, y=1525, faceLeft=true}, |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
52 |
{name=loc("Asteroid"), x=738, y=1855, faceLeft=true}, |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
53 |
{name=loc("Comet"), x=937, y=1318, faceLeft=true}, |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
54 |
{name=loc("Sunflame"), x=3424, y=1536}, |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
55 |
{name=loc("Eclipse"), x=3417, y=1081}, |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
56 |
{name=loc("Jetpack"), x=2256, y=1246}, |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
57 |
{name=loc("Void"), x=1587, y=1231, faceLeft=true}, |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
58 |
}, }, |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
59 |
}, |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
60 |
customNonGoals = { |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
61 |
{ type = "turns", turns = 1, failText = loc("You failed to kill all enemies in a single turn.") } |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
62 |
}, |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
63 |
customGoalCheck = "turnEnd", |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
64 |
goalText = loc("Kill all enemy hedgehogs in a single turn."), |
b1a230d21a48
Convert Big Armory mission to SimpleMission format
Wuzzy <Wuzzy2@mail.ru>
parents:
12236
diff
changeset
|
65 |
}) |