Restructure to remove more things.

This commit is contained in:
KimLS
2025-12-09 20:18:45 -08:00
parent 5843ff0524
commit 4c7964524d
68 changed files with 86 additions and 77 deletions
+2
View File
@@ -1,5 +1,7 @@
#include "../../client.h"
uint8 GetCommandStatus(std::string command_name);
void FindSpell(Client *c, const Seperator *sep)
{
if (SPDAT_RECORDS <= 0) {
+2
View File
@@ -1,5 +1,7 @@
#include "../../client.h"
uint8 GetCommandStatus(std::string command_name);
void FindTask(Client *c, const Seperator *sep)
{
if (!RuleB(TaskSystem, EnableTaskSystem)) {
+16 -15
View File
@@ -1,5 +1,21 @@
#include "../client.h"
void SendFixMobSubCommands(Client* c)
{
c->Message(Chat::White, "Usage: #fixmob beard [Next|Previous]");
c->Message(Chat::White, "Usage: #fixmob beard_color [Next|Previous]");
c->Message(Chat::White, "Usage: #fixmob drakkin_details [Next|Previous]");
c->Message(Chat::White, "Usage: #fixmob drakkin_heritage [Next|Previous]");
c->Message(Chat::White, "Usage: #fixmob drakkin_tattoo [Next|Previous]");
c->Message(Chat::White, "Usage: #fixmob face [Next|Previous]");
c->Message(Chat::White, "Usage: #fixmob gender [Next|Previous]");
c->Message(Chat::White, "Usage: #fixmob hair [Next|Previous]");
c->Message(Chat::White, "Usage: #fixmob hair_color [Next|Previous]");
c->Message(Chat::White, "Usage: #fixmob helm [Next|Previous]");
c->Message(Chat::White, "Usage: #fixmob race [Next|Previous]");
c->Message(Chat::White, "Usage: #fixmob texture [Next|Previous]");
}
void command_fixmob(Client *c, const Seperator *sep)
{
const int arguments = sep->argnum;
@@ -269,18 +285,3 @@ void command_fixmob(Client *c, const Seperator *sep)
);
}
void SendFixMobSubCommands(Client *c)
{
c->Message(Chat::White, "Usage: #fixmob beard [Next|Previous]");
c->Message(Chat::White, "Usage: #fixmob beard_color [Next|Previous]");
c->Message(Chat::White, "Usage: #fixmob drakkin_details [Next|Previous]");
c->Message(Chat::White, "Usage: #fixmob drakkin_heritage [Next|Previous]");
c->Message(Chat::White, "Usage: #fixmob drakkin_tattoo [Next|Previous]");
c->Message(Chat::White, "Usage: #fixmob face [Next|Previous]");
c->Message(Chat::White, "Usage: #fixmob gender [Next|Previous]");
c->Message(Chat::White, "Usage: #fixmob hair [Next|Previous]");
c->Message(Chat::White, "Usage: #fixmob hair_color [Next|Previous]");
c->Message(Chat::White, "Usage: #fixmob helm [Next|Previous]");
c->Message(Chat::White, "Usage: #fixmob race [Next|Previous]");
c->Message(Chat::White, "Usage: #fixmob texture [Next|Previous]");
}
+3
View File
@@ -1,4 +1,7 @@
#include "../../client.h"
#include "../../worldserver.h"
extern WorldServer worldserver;
void SetZoneData(Client *c, const Seperator *sep)
{