From 1b617568125b862692e009ebfc56f7322a3c28e5 Mon Sep 17 00:00:00 2001 From: Remy Marquis Date: Tue, 13 Sep 2016 17:19:00 +0200 Subject: [PATCH] set lower toctree maxdepth and fixed internal link --- index.rst | 2 +- intro.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.rst b/index.rst index addc974..2d5b63c 100644 --- a/index.rst +++ b/index.rst @@ -21,7 +21,7 @@ Contents -------- .. toctree:: - :maxdepth: 3 + :maxdepth: 2 intro cvars diff --git a/intro.rst b/intro.rst index 57a39db..8a413d9 100644 --- a/intro.rst +++ b/intro.rst @@ -6,7 +6,7 @@ Legacy's Lua API is the interface for communication between Lua and Legacy mod. The basic idea for this Lua API is event-management. After a certain event, the lua-interaction-code in Legacy executes a predefined function, with additional predefined arguments. -For example, if a player dies the `et_Obituary( victim, killer, meansOfDeath ) `__ function is executed. The Lua API allows you to manipulate and control this information. +For example, if a player dies the `et_Obituary( victim, killer, meansOfDeath ) `__ function is executed. The Lua API allows you to manipulate and control this information. In some cases you can also return a value to Legacy, whenever you intercepted something (i.e. a command), and prevent Legacy to handle it further.