Another attempt to fix the deprecation warning

This commit is contained in:
Remy Marquis 2021-01-06 14:30:59 +01:00
parent 636bcfbb8c
commit eda4cd8836

View file

@ -6,14 +6,10 @@
Legacy Lua API Legacy Lua API
============== ==============
.. warning:: **THIS DOCUMENTATION IS NOW DEPRECATED!**
For the latest documentation, please refer to `etlegacy.rtfd.io <http://etlegacy.rtfd.io>`_.
Welcome to the Legacy Lua API's documentation! Welcome to the Legacy Lua API's documentation!
.. warning:: **THIS DOCUMENTATION IS NOW DEPRECATED!** For the latest documentation, please refer to `etlegacy.rtfd.io <http://etlegacy.rtfd.io>`_.
The **Legacy mod** is the default mod shipped with `ET: Legacy <http://www.etlegacy.com>`_. It supports server-side modifications via the `Lua <http://www.lua.org/>`_ scripting language, with the Legacy Lua API being the interface for communication between them. The **Legacy mod** is the default mod shipped with `ET: Legacy <http://www.etlegacy.com>`_. It supports server-side modifications via the `Lua <http://www.lua.org/>`_ scripting language, with the Legacy Lua API being the interface for communication between them.
The embedded **Lua 5.4** interpreter will load user-defined scripts if present in the `legacy` directory. The Lua API provides an "et" library of `function calls <functions.html>`__ that allow access to the server engine, and also provides `callbacks <callbacks.html>`__ so a server side mod may trigger on specific server events. The embedded **Lua 5.4** interpreter will load user-defined scripts if present in the `legacy` directory. The Lua API provides an "et" library of `function calls <functions.html>`__ that allow access to the server engine, and also provides `callbacks <callbacks.html>`__ so a server side mod may trigger on specific server events.