summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2018-10-11 18:24:20 -0400
committergumi <git@gumi.ca>2018-10-11 19:17:08 -0400
commit5c59f230d982a2e0201956a6f9f853253b9f3c5f (patch)
tree80f33f1f81da54249ef8c4ade5179c1e5ff33605 /doc/script_commands.txt
parente3df7d8ebda36542c477beba281dfc3f9c737af4 (diff)
downloadhercules-5c59f230d982a2e0201956a6f9f853253b9f3c5f.tar.gz
hercules-5c59f230d982a2e0201956a6f9f853253b9f3c5f.tar.bz2
hercules-5c59f230d982a2e0201956a6f9f853253b9f3c5f.tar.xz
hercules-5c59f230d982a2e0201956a6f9f853253b9f3c5f.zip
add constants for max menu length and options
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index aa7141951..98bc7b0e5 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -714,6 +714,8 @@ 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_MENU_OPTIONS - Maximum NPC menu options
+MAX_MENU_LENGTH - Maximum NPC menu string length
Send targets and status options are also hard-coded and can be found
in 'doc/constants.md'.
@@ -1616,8 +1618,8 @@ and empty options.
*prompt("<option>"{, "<option>", ...})
This function behaves exactly like select(), but when a player presses cancel
-it returns 255 and the script is not terminated. You almost always want to use
-select() rather than prompt().
+it returns MAX_MENU_OPTIONS and the script is not terminated. You almost always
+want to use select() rather than prompt().
---------------------------------------