[Commands] Cleanup #gearup Command. (#2589)

# Notes
- Cleanup messages and logic.
- Add support for gearing up target client (with #gm on) and/or target bots.
This commit is contained in:
Alex King
2022-11-27 18:56:40 -05:00
committed by GitHub
parent d0e7e8c4c4
commit d6db35b84e
2 changed files with 104 additions and 72 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ int command_init(void)
command_add("fov", "Check wether you're behind or in your target's field of view", AccountStatus::QuestTroupe, command_fov) ||
command_add("freeze", "Freeze your target", AccountStatus::QuestTroupe, command_freeze) ||
command_add("gassign", "[Grid ID] - Assign targetted NPC to predefined wandering grid id", AccountStatus::GMAdmin, command_gassign) ||
command_add("gearup", "Developer tool to quickly equip a character", AccountStatus::GMMgmt, command_gearup) ||
command_add("gearup", "Developer tool to quickly equip yourself or your target", AccountStatus::GMMgmt, command_gearup) ||
command_add("gender", "[0/1/2] - Change your or your target's gender to male/female/neuter", AccountStatus::Guide, command_gender) ||
command_add("getplayerburiedcorpsecount", "Get your or your target's total number of buried player corpses.", AccountStatus::GMAdmin, command_getplayerburiedcorpsecount) ||
command_add("getvariable", "[Variable Name] - Get the value of a variable from the database", AccountStatus::GMMgmt, command_getvariable) ||