File: empire.lua

package info (click to toggle)
naev 0.8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 386,084 kB
  • sloc: ansic: 93,149; xml: 87,292; python: 2,347; sh: 904; makefile: 654; lisp: 162; awk: 4
file content (167 lines) | stat: -rw-r--r-- 3,940 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
require "factions/equip/generic.lua"


equip_typeOutfits_coreSystems["Shark"] = {
   "Milspec Orion 2301 Core System"
}
equip_typeOutfits_coreSystems["Lancelot"] = {
   "Milspec Orion 3701 Core System"
}
equip_typeOutfits_coreSystems["Admonisher"] = {
   "Milspec Orion 4801 Core System"
}
equip_typeOutfits_coreSystems["Pacifier"] = {
   "Milspec Orion 5501 Core System"
}
equip_typeOutfits_coreSystems["Hawking"] = {
   "Milspec Orion 9901 Core System"
}
equip_typeOutfits_coreSystems["Peacemaker"] = {
   "Milspec Hermes 9802 Core System"
}

equip_typeOutfits_engines["Shark"] = {
   "Tricon Zephyr Engine"
}
equip_typeOutfits_engines["Lancelot"] = {
   "Tricon Zephyr II Engine"
}
equip_typeOutfits_engines["Admonisher"] = {
   "Tricon Cyclone Engine"
}
equip_typeOutfits_engines["Pacifier"] = {
   "Tricon Cyclone II Engine"
}
equip_typeOutfits_engines["Hawking"] = {
   "Tricon Typhoon II Engine", "Nexus Bolt 6500 Engine"
}
equip_typeOutfits_engines["Peacemaker"] = {
   "Melendez Mammoth XL Engine"
}

equip_typeOutfits_hulls["Shark"] = {
   "S&K Ultralight Combat Plating"
}
equip_typeOutfits_hulls["Lancelot"] = {
   "S&K Light Combat Plating"
}
equip_typeOutfits_hulls["Admonisher"] = {
   "S&K Medium Combat Plating"
}
equip_typeOutfits_hulls["Pacifier"] = {
   "S&K Medium-Heavy Combat Plating"
}
equip_typeOutfits_hulls["Hawking"] = {
   "Unicorp B-20 Heavy Plating", "S&K Superheavy Combat Plating"
}
equip_typeOutfits_hulls["Peacemaker"] = {
   "S&K Superheavy Combat Plating"
}

equip_typeOutfits_weapons["Shark"] = {
   {
      num = 1;
      "Unicorp Banshee Launcher", "Ripper Cannon"
   },
   {
      "Ripper Cannon", "Laser Cannon MK3"
   }
}
equip_typeOutfits_weapons["Lancelot"] = equip_shipOutfits_weapons["Empire Lancelot"]
equip_typeOutfits_weapons["Admonisher"] = {
   {
      num = 1;
      "TeraCom Fury Launcher", "Unicorp Headhunter Launcher",
      "Unicorp Vengeance Launcher", "Enygma Systems Spearhead Launcher"
   },
   {
      "Heavy Ripper Cannon"
   },
   {
      "Ripper Cannon"
   }
}
equip_typeOutfits_weapons["Pacifier"] = {
   {
      num = 2;
      "Heavy Ripper Turret", "Railgun"
   },
   {
      num = 1;
      "TeraCom Fury Launcher", "Unicorp Headhunter Launcher",
      "Unicorp Vengeance Launcher", "Enygma Systems Spearhead Launcher",
      "Unicorp Caesar IV Launcher", "Enygma Systems Turreted Fury Launcher"
   },
   {
      num = 1;
      "Heavy Ripper Cannon", "Laser Turret MK3", "Orion Beam", "Pulse Beam"
   },
   {
      "Heavy Ripper Cannon", "Laser Turret MK3"
   }
}
equip_typeOutfits_weapons["Hawking"] = {
   {
      num = 2;
      "Heavy Laser"
   },
   {
      num = 2;
      "Turbolaser", "Ragnarok Beam", "Grave Beam"
   },
   {
      num = 1;
      "Turbolaser", "Ragnarok Beam", "Grave Beam"
   },
   {
      num = 1;
      "Turbolaser", "Heavy Laser"
   },
   {
      "Heavy Laser"
   }
}
equip_typeOutfits_weapons["Peacemaker"] = equip_typeOutfits_weapons["Hawking"]

--[[
-- @brief Does empire pilot equipping
--
--    @param p Pilot to equip
--]]
function equip( p )
   --[[
   if diff.isApplied( "collective_dead" ) then
      equip_typeOutfits_weapons["Peacemaker"] = {
         {
            num = 2, varied = true;
            "Turbolaser", "Heavy Laser", "Ragnarok Beam", "Grave Beam"
         },
         {
            varied = true;
            "Empire Lancelot Fighter Bay", "Drone Fighter Bay"
         },
         {
            varied = true;
            "Heavy Ripper Turret", "Laser Turret MK3"
         }
      }
   else
      equip_typeOutfits_weapons["Peacemaker"] = {
         {
            num = 2, varied = true;
            "Turbolaser", "Heavy Laser", "Ragnarok Beam", "Grave Beam"
         },
         {
            varied = true;
            "Empire Lancelot Fighter Bay"
         },
         {
            varied = true;
            "Heavy Ripper Turret", "Laser Turret MK3"
         }
      }
   end
   --]]
   
   equip_generic( p )
end