diff options
-rw-r--r-- | src/emap/script.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/emap/script.c b/src/emap/script.c index 236461b..00d26e6 100644 --- a/src/emap/script.c +++ b/src/emap/script.c @@ -17,6 +17,8 @@ #include "plugins/HPMHooking.h" +#include "ecommon/enum/gender.h" + #include "emap/script.h" #include "emap/map.h" #include "emap/data/itemd.h" @@ -88,6 +90,12 @@ void escript_hardcoded_constants_pre(void) { script->constdb_comment("Evol constants"); script->set_constant("MAX_SLOTS", MAX_SLOTS, false, false); + + // genders: for use with the Sex param + script->set_constant("Gender", SP_SEX, true, false); + script->set_constant("GENDER_FEMALE", GENDER_FEMALE, false, false); + script->set_constant("GENDER_MALE", GENDER_MALE, false, false); + script->set_constant("GENDER_NONBINARY", GENDER_NONBINARY, false, false); script->constdb_comment(NULL); eskill_addskill_conststants(); } |