################# Lua API reference ################# .. toctree:: :hidden: engine_handlers user_interface aipackages events openmw_util openmw_storage openmw_core openmw_types openmw_async openmw_world openmw_self openmw_nearby openmw_input openmw_ui openmw_camera openmw_aux_calendar openmw_aux_util openmw_aux_time openmw_aux_ui interface_ai interface_camera interface_mwui interface_settings iterables - :ref:`Engine handlers reference` - :ref:`User interface reference ` - `Game object reference `_ - `Cell reference `_ - :ref:`Built-in AI packages` - :ref:`Built-in events` **API packages** API packages provide functions that can be called by scripts. I.e. it is a script-to-engine interaction. A package can be loaded with ``require('')``. It can not be overloaded even if there is a lua file with the same name. The list of available packages is different for global and for local scripts. Player scripts are local scripts that are attached to a player. +---------------------------------------------------------+--------------------+---------------------------------------------------------------+ | Package | Can be used | Description | +=========================================================+====================+===============================================================+ |:ref:`openmw.interfaces