Initial commit 2

This commit is contained in:
Mitachi
2025-06-11 16:04:11 +02:00
parent 7aeea8f66c
commit 5eb0a751d2
10 changed files with 544 additions and 0 deletions

View File

@ -0,0 +1,37 @@
/// 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