mirror of
https://github.com/OpenMW/openmw.git
synced 2026-05-06 07:56:40 -04:00
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:
@@ -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|
|
||||
|
||||
Reference in New Issue
Block a user