Skip to content

Commit

Permalink
Messagetable update
Browse files Browse the repository at this point in the history
-Added @storagelist error message and rearranged
-Matched MSGTBL_STORAGE_NOT_LOADED to its messages.conf text
  • Loading branch information
jasonch35 committed Dec 1, 2024
1 parent 4ed8a65 commit 03a7aa0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions conf/messages.conf
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@
65: Please specify a storage ID or name. (usage: @storeall <storage name/ID>).
66: Please specify a storage ID or name. (usage: @clearstorage <storage name/ID>).
67: Please specify a storage ID or name. (usage: @storage <storage name/ID>).
68: Invalid storage name or ID
//69 FREE
68: Please specify a storage ID or name. (usage: @storagelist <storage name/ID>).
69: Invalid storage name or ID
70: You have learned the skill.
71: You have forgotten the skill.
72: War of Emperium has been initiated.
Expand Down
7 changes: 4 additions & 3 deletions src/common/msgtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ enum msgtable_messages {
MSGTBL_JOB_LEVEL_LOWERED = 25,
/** [%d] seconds left until you can use */
MSGTBL_SECONDS_UNTIL_USE = 26,
/** Storage has been not loaded yet. */
/** %s has not been loaded yet. */
MSGTBL_STORAGE_NOT_LOADED = 27,
/** No player found. */
MSGTBL_NO_PLAYER_FOUND = 28,
Expand Down Expand Up @@ -137,9 +137,10 @@ enum msgtable_messages {
MSGTBL_STORAGE_SPECIFY_CLEARSTORAGE = 66,
/** Please specify a storage ID or name. (usage: @storage <storage name/ID>). */
MSGTBL_STORAGE_SPECIFY_INVALID = 67,
/** Please specify a storage ID or name. (usage: @storagelist <storage name/ID>). */
MSGTBL_STORAGE_SPECIFY_STORAGELIST = 68,
/** Invalid storage name or ID */
MSGTBL_STORAGE_INVALID = 68,
//69 FREE
MSGTBL_STORAGE_INVALID = 69,
/** You have learned the skill. */
MSGTBL_LEARNED_SKILL = 70,
/** You have forgotten the skill. */
Expand Down
2 changes: 1 addition & 1 deletion src/map/atcommand.c
Original file line number Diff line number Diff line change
Expand Up @@ -8896,7 +8896,7 @@ ACMD(itemlist)
return false;
}
} else {
clif->message(fd, msg_fd(fd, 68));
clif->message(fd, msg_fd(fd, MSGTBL_STORAGE_SPECIFY_STORAGELIST));
return false;
}

Expand Down

0 comments on commit 03a7aa0

Please sign in to comment.