Area Changes and other fixes

added areas and ccoh,
fixed some areas to work with crafting
fixed some on death issues
added server entry/ooc
This commit is contained in:
2024-08-30 10:38:04 -04:00
parent d39928374d
commit 8622e5ce08
17234 changed files with 0 additions and 4253346 deletions

View File

@@ -1,22 +0,0 @@
#include "mk_inc_itm_disp"
#include "mk_inc_cheats"
void main()
{
object oPC = OBJECT_SELF;
object oItem = GetLocalObject(oPC, MK_ITM_DISP_CALLBACK_OBJECT);
object oCurrentItem = MK_CHEATS_GetCurrentItem();
int bIsCurrentItem = (oItem == oCurrentItem);
string sColorTag = GetLocalString(oPC, (bIsCurrentItem ? "MK_2DA_DISP_CURRENT_COLOR" : "MK_2DA_DISP_DEFAULT_COLOR"));
string sLabel = sColorTag+GetName(oItem);
int nCharges = GetItemCharges(oItem);
if (nCharges>0)
{
sLabel += (" #" + IntToString(nCharges));
}
sLabel += "</c>";
SetLocalString(OBJECT_SELF, MK_ITM_DISP_CALLBACK_LABEL, sLabel);
}