diff --git a/system/hooks.php b/system/hooks.php index 5eeacf92..cf35286e 100644 --- a/system/hooks.php +++ b/system/hooks.php @@ -18,6 +18,11 @@ define('HOOK_TIBIACOM_ARTICLE', ++$i); define('HOOK_TIBIACOM_BORDER_3', ++$i); define('HOOK_CHARACTERS_BEFORE_INFORMATIONS', ++$i); define('HOOK_CHARACTERS_AFTER_INFORMATIONS', ++$i); +define('HOOK_CHARACTERS_BEFORE_SKILLS', ++$i); +define('HOOK_CHARACTERS_AFTER_SKILLS', ++$i); +define('HOOK_CHARACTERS_AFTER_QUESTS', ++$i); +define('HOOK_CHARACTERS_AFTER_EQUIPMENT', ++$i); +define('HOOK_CHARACTERS_BEFORE_DEATHS', ++$i); define('HOOK_CHARACTERS_BEFORE_SIGNATURE', ++$i); define('HOOK_CHARACTERS_AFTER_SIGNATURE', ++$i); define('HOOK_CHARACTERS_AFTER_ACCOUNT', ++$i); diff --git a/system/templates/characters.html.twig b/system/templates/characters.html.twig index f11159e1..a388de50 100644 --- a/system/templates/characters.html.twig +++ b/system/templates/characters.html.twig @@ -156,6 +156,8 @@ <br/> <table border="0" width="100%"> <tr> + {{ hook(constant('HOOK_CHARACTERS_BEFORE_SKILLS')) }} + {% if config.characters.skills %} <!-- SKILLS --> <td width="30%" valign="top"> @@ -176,6 +178,8 @@ <!-- SKILLS_END --> {% endif %} + {{ hook(constant('HOOK_CHARACTERS_AFTER_SKILLS')) }} + {% if quests_enabled %} <!-- QUESTS --> <td width="40%" valign="top"> @@ -196,6 +200,8 @@ <!-- QUESTS_END --> {% endif %} + {{ hook(constant('HOOK_CHARACTERS_AFTER_QUESTS')) }} + {% if config.characters.equipment %} <!-- EQUIPMENT --> <td width="100" valign="top"> @@ -231,9 +237,13 @@ </td> <!-- EQUIPMENT_END --> {% endif %} + + {{ hook(constant('HOOK_CHARACTERS_AFTER_EQUIPMENT')) }} </tr> </table> + {{ hook(constant('HOOK_CHARACTERS_BEFORE_DEATHS')) }} + {% if deaths|length > 0 %} <!-- DEATHS --> <br/>