mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
More naming fixes
This commit is contained in:
parent
221cb8709b
commit
b963c2272f
@ -13,7 +13,7 @@ class SilkwormGenerator(GroupGenerator):
|
|||||||
positions = self.get_circular_position(5, launcher_distance=120, coverage=180)
|
positions = self.get_circular_position(5, launcher_distance=120, coverage=180)
|
||||||
|
|
||||||
self.add_unit(
|
self.add_unit(
|
||||||
MissilesSS.Silkworm_Radar,
|
MissilesSS.AShM_Silkworm_SR,
|
||||||
"SR#0",
|
"SR#0",
|
||||||
self.position.x,
|
self.position.x,
|
||||||
self.position.y,
|
self.position.y,
|
||||||
@ -23,7 +23,7 @@ class SilkwormGenerator(GroupGenerator):
|
|||||||
# Launchers
|
# Launchers
|
||||||
for i, p in enumerate(positions):
|
for i, p in enumerate(positions):
|
||||||
self.add_unit(
|
self.add_unit(
|
||||||
MissilesSS.SS_N_2_Silkworm,
|
MissilesSS.AShM_SS_N_2_Silkworm,
|
||||||
"Missile#" + str(i),
|
"Missile#" + str(i),
|
||||||
p[0],
|
p[0],
|
||||||
p[1],
|
p[1],
|
||||||
|
|||||||
@ -68,7 +68,7 @@ class MizDataLocationFinder:
|
|||||||
for vehicle_group in m.country("Iran").vehicle_group:
|
for vehicle_group in m.country("Iran").vehicle_group:
|
||||||
if (
|
if (
|
||||||
len(vehicle_group.units) > 0
|
len(vehicle_group.units) > 0
|
||||||
and vehicle_group.units[0].type == MissilesSS.SS_N_2_Silkworm.id
|
and vehicle_group.units[0].type == MissilesSS.AShM_SS_N_2_Silkworm.id
|
||||||
):
|
):
|
||||||
antiship_locations.append(
|
antiship_locations.append(
|
||||||
PresetLocation(
|
PresetLocation(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user