mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 21:26:23 +00:00
feat(Scripts/Commands): Implement ".reset items" command (#18393)
Syntax : .reset items equiped|bags|bank|keyring|currency|vendor_buyback|all|allbags #playername Delete items in the player inventory (equiped, bank, bags etc...) depending on the chosen option. #playername : Optionnal target player name (if player is online only). If not provided the command will execute on the selected target player. Update src/server/scripts/Commands/cs_reset.cpp Accepted Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com> Update data/sql/updates/pending_db_world/rev_1708782048020249700.sql Accepted Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com> Update data/sql/updates/pending_db_world/rev_1708782048020249700.sql Accepted Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com> Update src/server/game/Miscellaneous/Language.h Accepted Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com> fix uint16 vs uint16_t fix crash and code cleanup Fix typo sql fix Missing typo selected instead or selecter AC code style fix Re-Fix typos MISSING typos missing typos
This commit is contained in:
@@ -721,7 +721,7 @@ enum BankBagSlots // 7 slots
|
||||
|
||||
enum BuyBackSlots // 12 slots
|
||||
{
|
||||
// stored in m_buybackitems
|
||||
// stored in m_items, there is no more m_buybackitems
|
||||
BUYBACK_SLOT_START = 74,
|
||||
BUYBACK_SLOT_END = 86
|
||||
};
|
||||
|
||||
@@ -403,7 +403,19 @@ enum AcoreStrings
|
||||
LANG_COMMAND_CHEAT_WW = 362,
|
||||
LANG_COMMAND_WHISPEROFFPLAYER = 363,
|
||||
LANG_COMMAND_CHEAT_TAXINODES = 364,
|
||||
// Room for more level 2 365-399 not used
|
||||
|
||||
// [START] .reset items command strings:
|
||||
LANG_COMMAND_RESET_ITEMS_EQUIPPED = 365,
|
||||
LANG_COMMAND_RESET_ITEMS_BAGS = 366,
|
||||
LANG_COMMAND_RESET_ITEMS_BANK = 367,
|
||||
LANG_COMMAND_RESET_ITEMS_KEYRING = 368,
|
||||
LANG_COMMAND_RESET_ITEMS_CURRENCY = 369,
|
||||
LANG_COMMAND_RESET_ITEMS_BUYBACK = 370,
|
||||
LANG_COMMAND_RESET_ITEMS_ALL = 371,
|
||||
LANG_COMMAND_RESET_ITEMS_ALL_BAGS = 372,
|
||||
// [END] reset items command strings
|
||||
|
||||
// Room for more level 2 373-399 not used
|
||||
|
||||
// level 3 chat
|
||||
LANG_SCRIPTS_RELOADED = 400,
|
||||
|
||||
Reference in New Issue
Block a user