Updated the Pretense script to version 1.3.8 - 3 Dec 2023 and MIST to version 4.5.122.

This commit is contained in:
MetalStormGhost
2023-12-06 16:38:25 +02:00
parent 00760b831e
commit 76bab86e67
3 changed files with 12 additions and 35 deletions

View File

@@ -828,7 +828,7 @@ class PretenseLuaGenerator(LuaGenerator):
return lua_string_connman
def generate_pretense_plugin_data(self) -> None:
self.inject_plugin_script("base", "mist_4_5_107.lua", "mist_4_5_107")
self.inject_plugin_script("base", "mist_4_5_122.lua", "mist_4_5_122")
lua_string_config = "Config = Config or {}\n"
@@ -912,10 +912,7 @@ class PretenseLuaGenerator(LuaGenerator):
lua_string_zones += (
f"zones.{cp_name_trimmed}.keepActive = " + is_keep_active + "\n"
)
if cp.is_fleet:
lua_string_zones += self.generate_pretense_zone_sea(cp.name)
else:
lua_string_zones += self.generate_pretense_zone_land(cp.name)
lua_string_zones += self.generate_pretense_zone_land(cp.name)
lua_string_connman = " cm = ConnectionManager:new()\n"