Debian Codegraph @

maps/patches.map/setup.sms

raw
1 -- Stratagus Map Setup
2 -- File generated by the stratagus builtin editor.
3 -- File licensed under the GNU GPL version 2.
4
5 -- player configuration
6 Players[0]:SetStartView(19, 19)
7 Players[0].MagmaStored = 2000
8 Players[0].EnergyStored = 1000
9 Players[0].AiName = "ai-default"
10 Players[1]:SetStartView(43, 48)
11 Players[1].MagmaStored = 2000
12 Players[1].EnergyStored = 1000
13 Players[1].AiName = "ai-default"
14 Players[2]:SetStartView(0, 0)
15 Players[2].MagmaStored = 2000
16 Players[2].EnergyStored = 1000
17 Players[2].AiName = "ai-default"
18 Players[3]:SetStartView(0, 0)
19 Players[3].MagmaStored = 2000
20 Players[3].EnergyStored = 1000
21 Players[3].AiName = "ai-default"
22 Players[4]:SetStartView(0, 0)
23 Players[4].MagmaStored = 2000
24 Players[4].EnergyStored = 1000
25 Players[4].AiName = "ai-default"
26 Players[5]:SetStartView(0, 0)
27 Players[5].MagmaStored = 2000
28 Players[5].EnergyStored = 1000
29 Players[5].AiName = "ai-default"
30 Players[6]:SetStartView(0, 0)
31 Players[6].MagmaStored = 2000
32 Players[6].EnergyStored = 1000
33 Players[6].AiName = "ai-default"
34 Players[7]:SetStartView(0, 0)
35 Players[7].MagmaStored = 2000
36 Players[7].EnergyStored = 1000
37 Players[7].AiName = "ai-default"
38
39 -- patches
40 patch("rockyMountainL", 0, 0)
41 patch("plain16", 16, 0)
42 patch("rockyMountainR", 32, 0)
43 patch("plain16", 48, 0)
44 patch("plain16", 0, 16)
45 patch("lake", 16, 16)
46 patch("greenMountain", 32, 16)
47 patch("plain16", 48, 16)
48 patch("plain16", 0, 32)
49 patch("greenMountain", 16, 32)
50 patch("lake", 32, 32)
51 patch("plain16", 48, 32)
52 patch("pikeMountain", 0, 48)
53 patch("plain16", 16, 48)
54 patch("plain16", 32, 48)
55 patch("greenMountain", 48, 48)
56
57
58 --allow
59 -- place units
60 CreateUnit("unit-rtank", 1, {54, 6})
61 CreateUnit("unit-rtank", 1, {56, 8})
62 CreateUnit("unit-rtank", 1, {55, 10})
63 CreateUnit("unit-rtank", 0, {6, 58})
64 CreateUnit("unit-rtank", 0, {6, 56})
65 CreateUnit("unit-rtank", 0, {7, 59})
66 CreateUnit("unit-buggy", 1, {46, 43})
67 CreateUnit("unit-buggy", 0, {21, 27})
68
69
70