From c30dbf3c4d2b4724abd19417fcf20e156cfea94a Mon Sep 17 00:00:00 2001 From: nox7 <36878742-nox7@users.noreply.gitlab.com> Date: Mon, 4 May 2026 21:15:48 -0500 Subject: [PATCH 1/2] Fix docs showing openmw.types available in Menu context --- docs/source/reference/lua-scripting/tables/packages.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/reference/lua-scripting/tables/packages.rst b/docs/source/reference/lua-scripting/tables/packages.rst index ef1ab81499..6886f4f02b 100644 --- a/docs/source/reference/lua-scripting/tables/packages.rst +++ b/docs/source/reference/lua-scripting/tables/packages.rst @@ -51,7 +51,7 @@ - |bdg-ctx-all| - Storage API. In particular can be used to store data between game sessions. * - :doc:`types ` - - |bdg-ctx-non-load| + - |bdg-ctx-global| |bdg-ctx-local| - Functions for specific types of game objects. * - :doc:`ui ` - |bdg-ctx-menu| |bdg-ctx-player| From 72734671be4183f869847c02fcfb90de745d5780 Mon Sep 17 00:00:00 2001 From: nox7 <36878742-nox7@users.noreply.gitlab.com> Date: Mon, 4 May 2026 21:16:05 -0500 Subject: [PATCH 2/2] Fix docs showing wrong table index for ModifyStat event --- docs/source/reference/lua-scripting/events.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/reference/lua-scripting/events.rst b/docs/source/reference/lua-scripting/events.rst index ba1a313630..059d35c626 100644 --- a/docs/source/reference/lua-scripting/events.rst +++ b/docs/source/reference/lua-scripting/events.rst @@ -71,7 +71,7 @@ Modify the corresponding stat. .. code-block:: Lua -- Consume 10 magicka - actor:sendEvent('ModifyStat', {name = 'magicka', amount = -10}) + actor:sendEvent('ModifyStat', {stat = 'magicka', amount = -10}) **AddVfx**