2022-02-03 01:05:43 +00:00
|
|
|
+------------------------------------------------------------+--------------------+---------------------------------------------------------------+
|
|
|
|
| Package | Can be used | Description |
|
|
|
|
+============================================================+====================+===============================================================+
|
|
|
|
|:ref:`openmw.interfaces <Script interfaces>` | everywhere | | Public interfaces of other scripts. |
|
|
|
|
+------------------------------------------------------------+--------------------+---------------------------------------------------------------+
|
|
|
|
|:ref:`openmw.util <Package openmw.util>` | everywhere | | Defines utility functions and classes like 3D vectors, |
|
|
|
|
| | | | that don't depend on the game world. |
|
|
|
|
+------------------------------------------------------------+--------------------+---------------------------------------------------------------+
|
|
|
|
|:ref:`openmw.storage <Package openmw.storage>` | everywhere | | Storage API. In particular can be used to store data |
|
|
|
|
| | | | between game sessions. |
|
|
|
|
+------------------------------------------------------------+--------------------+---------------------------------------------------------------+
|
|
|
|
|:ref:`openmw.core <Package openmw.core>` | everywhere | | Functions that are common for both global and local scripts |
|
|
|
|
+------------------------------------------------------------+--------------------+---------------------------------------------------------------+
|
|
|
|
|:ref:`openmw.types <Package openmw.types>` | everywhere | | Functions for specific types of game objects. |
|
|
|
|
+------------------------------------------------------------+--------------------+---------------------------------------------------------------+
|
2023-07-27 08:11:52 +00:00
|
|
|
|:ref:`openmw.async <Package openmw.async>` | everywhere | | Timers and callbacks. |
|
2022-02-03 01:05:43 +00:00
|
|
|
+------------------------------------------------------------+--------------------+---------------------------------------------------------------+
|
|
|
|
|:ref:`openmw.world <Package openmw.world>` | by global scripts | | Read-write access to the game world. |
|
|
|
|
+------------------------------------------------------------+--------------------+---------------------------------------------------------------+
|
|
|
|
|:ref:`openmw.self <Package openmw.self>` | by local scripts | | Full access to the object the script is attached to. |
|
|
|
|
+------------------------------------------------------------+--------------------+---------------------------------------------------------------+
|
|
|
|
|:ref:`openmw.nearby <Package openmw.nearby>` | by local scripts | | Read-only access to the nearest area of the game world. |
|
|
|
|
+------------------------------------------------------------+--------------------+---------------------------------------------------------------+
|
|
|
|
|:ref:`openmw.input <Package openmw.input>` | by player scripts | | User input. |
|
|
|
|
+------------------------------------------------------------+--------------------+---------------------------------------------------------------+
|
|
|
|
|:ref:`openmw.ui <Package openmw.ui>` | by player scripts | | Controls :ref:`user interface <User interface reference>`. |
|
|
|
|
+------------------------------------------------------------+--------------------+---------------------------------------------------------------+
|
|
|
|
|:ref:`openmw.camera <Package openmw.camera>` | by player scripts | | Controls camera. |
|
|
|
|
+------------------------------------------------------------+--------------------+---------------------------------------------------------------+
|
|
|
|
|:ref:`openmw.postprocessing <Package openmw.postprocessing>`| by player scripts | | Controls post-process shaders. |
|
|
|
|
+------------------------------------------------------------+--------------------+---------------------------------------------------------------+
|
|
|
|
|:ref:`openmw.debug <Package openmw.debug>` | by player scripts | | Collection of debug utils. |
|
|
|
|
+------------------------------------------------------------+--------------------+---------------------------------------------------------------+
|