diff --git a/docs/_static/LuaLib/extra/readme_imgui.md.html b/docs/_static/LuaLib/extra/readme_imgui.md.html index d78060ac..5459a3e2 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-04-01 14:12:12

+

Last updated: 2024-04-02 23:16:32

diff --git a/docs/_static/LuaLib/index.html b/docs/_static/LuaLib/index.html index 812cf8d5..65750e1b 100644 --- a/docs/_static/LuaLib/index.html +++ b/docs/_static/LuaLib/index.html @@ -740,6 +740,7 @@

Data Types

  • onChangeTurnNum (turnNumber)
  • onSelectWorldpkgdesc (selectedRecordName, selectedRecordGroup)
  • onfortificationlevelS (siegedSettlement)
  • +
  • onCalculateUnitValue (entry, value)
  • onEndSiege (xCoord, yCoord)
  • onStartSiege (xCoord, yCoord)
  • @@ -1148,7 +1149,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-04-01 14:12:12

    +

    Last updated: 2024-04-02 23:16:32

    @@ -3105,6 +3106,10 @@

    EOP Events

    Called on specified fortificationlevel in a siege of a settlement. + onCalculateUnitValue (entry, value) + Called when the game calculates the value of a unit. + + onEndSiege (xCoord, yCoord) Called on the completion of the siege (in any way, with any outcome). @@ -9751,7 +9756,7 @@

    Fields:

  • getFort - getFort + getFort @@ -16544,6 +16549,12 @@

    Fields:

    +
  • +
  • onCalculateUnitValue + onCalculateUnitValue + + +
  • onEndSiege onEndSiege @@ -24166,6 +24177,51 @@

    Usage:

    end + +
    + + onCalculateUnitValue (entry, value) +
    +
    +
    + Called when the game calculates the value of a unit. +
    + +

    Parameters:

    + + +

    Returns:

    +
      + + float + newValue +
    + + + +

    Usage:

    + +
    @@ -27749,7 +27805,7 @@

    Fields:

  • getFort - getFort + getFort @@ -29308,7 +29364,7 @@

    Fields:

  • getFort - getFort + getFort diff --git a/docs/_static/LuaLib/readme_imgui.md.html b/docs/_static/LuaLib/readme_imgui.md.html index d78060ac..5459a3e2 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-04-01 14:12:12

    +

    Last updated: 2024-04-02 23:16:32