Merge branch 'docs-fixes' into 'master'

Fix Incorrect Menu Script Badge and ModifyStat Table Index in Lua Docs

See merge request OpenMW/openmw!5313
This commit is contained in:
Daisyhasacat
2026-05-05 02:21:14 +00:00
2 changed files with 2 additions and 2 deletions
@@ -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**
@@ -51,7 +51,7 @@
- |bdg-ctx-all|
- Storage API. In particular can be used to store data between game sessions.
* - :doc:`types </reference/lua-scripting/openmw_types>`
- |bdg-ctx-non-load|
- |bdg-ctx-global| |bdg-ctx-local|
- Functions for specific types of game objects.
* - :doc:`ui </reference/lua-scripting/openmw_ui>`
- |bdg-ctx-menu| |bdg-ctx-player|