summaryrefslogtreecommitdiff
path: root/src/emap/init.c
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2019-08-17 21:34:34 -0400
committergumi <git@gumi.ca>2020-04-25 14:55:36 -0400
commitdb2fa04439ded43b55ca2e7fdc3509ac2041c9fd (patch)
tree7e3eb6233b25ecdf861c87ecd0ad14e328105c22 /src/emap/init.c
parent9e88b3b422781630a18c13e40cda1c5ea7c111e8 (diff)
downloadplugin-db2fa04439ded43b55ca2e7fdc3509ac2041c9fd.tar.gz
plugin-db2fa04439ded43b55ca2e7fdc3509ac2041c9fd.tar.bz2
plugin-db2fa04439ded43b55ca2e7fdc3509ac2041c9fd.tar.xz
plugin-db2fa04439ded43b55ca2e7fdc3509ac2041c9fd.zip
add full support for non-binary gender
Diffstat (limited to 'src/emap/init.c')
-rw-r--r--src/emap/init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emap/init.c b/src/emap/init.c
index 6bfdfa7..c2699dd 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -53,6 +53,7 @@
#include "emap/atcommand.h"
#include "emap/battle.h"
#include "emap/battleground.h"
+#include "emap/chrif.h"
#include "emap/clan.h"
#include "emap/clif.h"
#include "emap/config.h"
@@ -266,6 +267,7 @@ HPExport void plugin_init (void)
addHookPre(pc, can_Adopt, epc_can_Adopt_pre);
addHookPre(pc, adoption, epc_adoption_pre);
addHookPre(pc, readparam, epc_readparam_pre);
+ addHookPre(pc, setparam, epc_setparam_pre);
addHookPre(pc, setregistry, epc_setregistry_pre);
addHookPre(pc, equipitem_pos, epc_equipitem_pos_pre);
addHookPre(pc, unequipitem_pos, epc_unequipitem_pos_pre);
@@ -344,6 +346,7 @@ HPExport void plugin_init (void)
addHookPre(status, calc_pc_additional, estatus_calc_pc_additional_pre);
addHookPre(status, calc_pc_recover_hp, estatus_calc_pc_recover_hp_pre);
addHookPre(homun, gainexp, ehomunculus_gainexp_pre);
+ addHookPre(chrif, changesex, echrif_changesex);
addHookPost(battle, calc_weapon_attack, ebattle_calc_weapon_attack_post);
addHookPost(battle, calc_magic_attack, ebattle_calc_weapon_attack_post);