mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Replaced the air defence Command Center with a bunker for SHORADs. Will use the Command Center in the future for medium/long range SAMs.
This commit is contained in:
parent
9d9740cdb3
commit
d1b8e20fde
@ -93,7 +93,7 @@ class PretenseLuaGenerator(LuaGenerator):
|
||||
)
|
||||
lua_string_zones += " }\n"
|
||||
lua_string_zones += " }),\n"
|
||||
lua_string_zones += " presets.upgrades.airdef.comCenter:extend({\n"
|
||||
lua_string_zones += " presets.upgrades.airdef.bunker:extend({\n"
|
||||
lua_string_zones += (
|
||||
f" name = '{cp_name_trimmed}-mission-command-"
|
||||
+ cp_side_str
|
||||
|
||||
@ -464,6 +464,12 @@ presets = {
|
||||
})
|
||||
},
|
||||
airdef = {
|
||||
bunker = Preset:new({
|
||||
display = 'Bunker',
|
||||
cost = 1500,
|
||||
type = 'upgrade',
|
||||
template = "bunker-1"
|
||||
}),
|
||||
comCenter = Preset:new({
|
||||
display = 'Command Center',
|
||||
cost = 2500,
|
||||
|
||||
@ -7524,6 +7524,8 @@ do
|
||||
|
||||
TemplateDB.templates["tv-tower"] = { type="TV tower", category="Fortifications", shape="tele_bash", dataCategory=TemplateDB.type.static }
|
||||
|
||||
TemplateDB.templates["bunker-1"] = { type="Sandbox", category="Fortifications", dataCategory=TemplateDB.type.static }
|
||||
|
||||
TemplateDB.templates["command-center"] = { type=".Command Center", category="Fortifications", shape="ComCenter", dataCategory=TemplateDB.type.static }
|
||||
|
||||
TemplateDB.templates["military-staff"] = { type="Military staff", category="Fortifications", shape="aviashtab", dataCategory=TemplateDB.type.static }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user