diff --git a/docs/_static/LuaLib/extra/readme_imgui.md.html b/docs/_static/LuaLib/extra/readme_imgui.md.html
index eedc7448..e1240aa5 100644
--- a/docs/_static/LuaLib/extra/readme_imgui.md.html
+++ b/docs/_static/LuaLib/extra/readme_imgui.md.html
@@ -274,7 +274,7 @@
Medieval 2: Total War - Engine Overhaul Project Lua Plugi
Welcome to the EOP Lua Plugin Documentation!
Please note that many of the examples require additional checks and not all functions are fully documented. If you need additional help, we welcome you to join the Discord!
-
Last updated: 2024-03-05 20:14:24
+ Last updated: 2024-03-22 13:51:45
diff --git a/docs/_static/LuaLib/index.html b/docs/_static/LuaLib/index.html
index c98d03c8..6eb1f9de 100644
--- a/docs/_static/LuaLib/index.html
+++ b/docs/_static/LuaLib/index.html
@@ -48,6 +48,7 @@ Data Types
M2TWEOP.toggleDeveloperMode ()
M2TWEOP.reloadScript ()
M2TWEOP.restartLua ()
+ M2TWEOP.saveGame (path)
M2TWEOP.getGameVersion ()
M2TWEOP.setPerfectSpy (set)
M2TWEOP.getLocalFactionID ()
@@ -1137,7 +1138,7 @@ Medieval 2: Total War - Engine Overhaul Project Lua Plugi
Welcome to the EOP Lua Plugin Documentation!
Please note that many of the examples require additional checks and not all functions are fully documented. If you need additional help, we welcome you to join the Discord!
-
Last updated: 2024-03-05 20:14:24
+ Last updated: 2024-03-22 13:51:45
@@ -1191,6 +1192,10 @@
Restart the lua plugin (onPluginLoad fires). |
+ M2TWEOP.saveGame (path) |
+ Save the game. |
+
+
M2TWEOP.getGameVersion () |
Function to get the game version. |
@@ -3952,6 +3957,12 @@ Fields:
+
+ restartLua
+ restartLua
+
+
+
toggleDeveloperMode
toggleDeveloperMode
@@ -3960,7 +3971,7 @@ Fields:
saveGame
- saveGame
+ saveGame
@@ -4247,6 +4258,32 @@ Usage:
M2TWEOP.restartLua();
+
+
+
+ M2TWEOP.saveGame (path)
+
+
+
+ Save the game.
+
+
+ Parameters:
+
+ - path
+ string
+ (start from mods)
+
+
+
+
+
+
+ Usage:
+ M2TWEOP.saveGame(mods/bare_geomod/saves/newsave.sav);
+
+
@@ -6495,7 +6532,7 @@ Fields:
kill
- kill
+ kill
@@ -7677,7 +7714,7 @@ Fields:
kill
- kill
+ kill
@@ -9600,7 +9637,7 @@ Fields:
getFort
- getFort
+ getFort
@@ -10982,7 +11019,7 @@ Fields:
getConstructionValue
- getConstructionValue
+ getConstructionValue
@@ -11274,7 +11311,7 @@ Fields:
getConstructionValue
- getConstructionValue
+ getConstructionValue
@@ -12148,7 +12185,7 @@ Fields:
getSiege
- getSiege
+ getSiege
@@ -12603,7 +12640,7 @@ Fields:
getSiege
- getSiege
+ getSiege
@@ -27601,7 +27638,7 @@ Fields:
getFort
- getFort
+ getFort
@@ -29086,7 +29123,7 @@ Fields:
getFort
- getFort
+ getFort
diff --git a/docs/_static/LuaLib/readme_imgui.md.html b/docs/_static/LuaLib/readme_imgui.md.html
index eedc7448..e1240aa5 100644
--- a/docs/_static/LuaLib/readme_imgui.md.html
+++ b/docs/_static/LuaLib/readme_imgui.md.html
@@ -274,7 +274,7 @@ Medieval 2: Total War - Engine Overhaul Project Lua Plugi
Welcome to the EOP Lua Plugin Documentation!
Please note that many of the examples require additional checks and not all functions are fully documented. If you need additional help, we welcome you to join the Discord!
-
Last updated: 2024-03-05 20:14:24
+ Last updated: 2024-03-22 13:51:45