38 lines
824 B
C++
38 lines
824 B
C++
/// 1.) Search at the begin of the file
|
|
|
|
#include "unique_item.h"
|
|
#include "DragonSoul.h"
|
|
|
|
// and add under, this:
|
|
|
|
#ifdef ENABLE_START_ITEMS
|
|
#include "start_item.h"
|
|
#endif
|
|
|
|
/// 2.) Search in void CHARACTER::MountVnum(DWORD vnum):
|
|
|
|
//RELOAD_ADMIN
|
|
case 'a':
|
|
ch->ChatPacket(CHAT_TYPE_INFO, "Reloading Admin infomation.");
|
|
db_clientdesc->DBPacket(HEADER_GD_RELOAD_ADMIN, 0, NULL, 0);
|
|
sys_log(0, "Reloading admin infomation.");
|
|
break;
|
|
//END_RELOAD_ADMIN
|
|
case 'c': // cube
|
|
// ·ÎÄà ÇÁ·Î¼¼½º¸¸ °»»êÇÑ´Ù.
|
|
Cube_init ();
|
|
break;
|
|
|
|
default:
|
|
{
|
|
|
|
// and add under, this:
|
|
|
|
#ifdef ENABLE_START_ITEMS
|
|
if (strstr(arg1, "give_basic_weapon"))
|
|
{
|
|
ch->ChatPacket(CHAT_TYPE_INFO, "Reloading: give_basic_weapon");
|
|
LoadStarterItemsFromJSON();
|
|
}
|
|
#endif
|