diff options
author | AnnieRuru <jeankofannie2@gmail.com> | 2019-02-06 13:46:49 +0800 |
---|---|---|
committer | AnnieRuru <jeankofannie2@gmail.com> | 2019-02-06 13:46:49 +0800 |
commit | 9fa9bddbbdbdb7a81b68cc9c8bc05da1efb0f68d (patch) | |
tree | 2ed987b4a073047ea9b2d9ef92a0f588f4bcb33e | |
parent | 545842eb1e7ec1d38b45a494fb8848d3b778f2ed (diff) | |
download | hercules-9fa9bddbbdbdb7a81b68cc9c8bc05da1efb0f68d.tar.gz hercules-9fa9bddbbdbdb7a81b68cc9c8bc05da1efb0f68d.tar.bz2 hercules-9fa9bddbbdbdb7a81b68cc9c8bc05da1efb0f68d.tar.xz hercules-9fa9bddbbdbdb7a81b68cc9c8bc05da1efb0f68d.zip |
Add new server define constant MAX_ITEM_ID
-rw-r--r-- | doc/script_commands.txt | 1 | ||||
-rw-r--r-- | src/map/script.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index db851128f..c7ef18fc4 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -716,6 +716,7 @@ MAX_BANK_ZENY - Maximum Zeny in the bank MAX_BG_MEMBERS - Maximum BattleGround members MAX_CHAT_USERS - Maximum Chat users MAX_REFINE - Maximum Refine level +MAX_ITEM_ID - Maximum Item ID MAX_MENU_OPTIONS - Maximum NPC menu options MAX_MENU_LENGTH - Maximum NPC menu string length diff --git a/src/map/script.c b/src/map/script.c index be591a3ae..468ef322c 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -25843,6 +25843,7 @@ static void script_hardcoded_constants(void) script->set_constant("MAX_BG_MEMBERS",MAX_BG_MEMBERS,false, false); script->set_constant("MAX_CHAT_USERS",MAX_CHAT_USERS,false, false); script->set_constant("MAX_REFINE",MAX_REFINE,false, false); + script->set_constant("MAX_ITEM_ID",MAX_ITEM_ID,false, false); script->set_constant("MAX_MENU_OPTIONS", MAX_MENU_OPTIONS, false, false); script->set_constant("MAX_MENU_LENGTH", MAX_MENU_LENGTH, false, false); |