Added naval units (supply/cargo/landing ships) to Pretense scripts.

This commit is contained in:
MetalStormGhost 2023-09-19 11:12:39 +03:00
parent 6fd60d150e
commit 47ee0e5340
2 changed files with 68 additions and 2 deletions

View File

@ -295,7 +295,31 @@ presets = {
cost = 2000,
type = 'upgrade',
template = "ammo-depot"
})
}),
shipTankerSeawisegiant = Preset:new({
display = 'Tanker Seawise Giant',
cost = 1500,
type = 'upgrade',
template = "ship-tanker-seawisegiant"
}),
shipLandingShipSamuelChase = Preset:new({
display = 'LST USS Samuel Chase',
cost = 1500,
type = 'upgrade',
template = "ship-landingship-samuelchase"
}),
shipLandingShipRopucha = Preset:new({
display = 'LS Ropucha',
cost = 1500,
type = 'upgrade',
template = "ship-landingship-ropucha"
}),
shipTankerElnya = Preset:new({
display = 'Tanker Elnya',
cost = 1500,
type = 'upgrade',
template = "ship-tanker-elnya"
})
},
supply = {
fuelCache = Preset:new({
@ -413,7 +437,31 @@ presets = {
type ='upgrade',
income = 50,
template = "tv-tower"
})
}),
shipSupplyTilde = Preset:new({
display = 'Ship_Tilde_Supply',
cost = 1500,
type = 'upgrade',
template = "ship-supply-tilde"
}),
shipLandingShipLstMk2 = Preset:new({
display = 'LST Mk.II',
cost = 1500,
type = 'upgrade',
template = "ship-landingship-lstmk2"
}),
shipBulkerYakushev = Preset:new({
display = 'Bulker Yakushev',
cost = 1500,
type = 'upgrade',
template = "ship-bulker-yakushev"
}),
shipCargoIvanov = Preset:new({
display = 'Cargo Ivanov',
cost = 1500,
type = 'upgrade',
template = "ship-cargo-ivanov"
})
},
airdef = {
comCenter = Preset:new({

View File

@ -7527,6 +7527,24 @@ do
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 }
TemplateDB.templates["ship-tanker-seawisegiant"] = { type="Seawise_Giant", category="Ships", dataCategory=TemplateDB.type.static }
TemplateDB.templates["ship-supply-tilde"] = { type="Ship_Tilde_Supply", category="Ships", dataCategory=TemplateDB.type.static }
TemplateDB.templates["ship-landingship-samuelchase"] = { type="USS_Samuel_Chase", category="Ships", dataCategory=TemplateDB.type.static }
TemplateDB.templates["ship-landingship-ropucha"] = { type="BDK-775", category="Ships", dataCategory=TemplateDB.type.static }
TemplateDB.templates["ship-tanker-elnya"] = { type="ELNYA", category="Ships", dataCategory=TemplateDB.type.static }
TemplateDB.templates["ship-landingship-lstmk2"] = { type="LST_Mk2", category="Ships", dataCategory=TemplateDB.type.static }
TemplateDB.templates["ship-bulker-yakushev"] = { type="Dry-cargo ship-1", category="Ships", dataCategory=TemplateDB.type.static }
TemplateDB.templates["ship-cargo-ivanov"] = { type="Dry-cargo ship-2", category="Ships", dataCategory=TemplateDB.type.static }
end
-----------------[[ END OF TemplateDB.lua ]]-----------------