Area Changes and other fixes
Added CCOH Fixed some on death issues Fixed the gaurd Added Server Enty/ooc changed some areas back to original craftable
This commit is contained in:
14
_module/nss/mk_cb_ichrg_chk.nss
Normal file
14
_module/nss/mk_cb_ichrg_chk.nss
Normal file
@@ -0,0 +1,14 @@
|
||||
#include "mk_inc_debug"
|
||||
#include "mk_inc_itm_disp"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
object oItem = GetLocalObject(oPC, MK_ITM_DISP_CALLBACK_OBJECT);
|
||||
|
||||
int bShowAllItems = GetLocalInt(oPC, "MK_CHEATS_SHOWALLITEMS");
|
||||
|
||||
int bCheck = bShowAllItems || (GetItemCharges(oItem)>0);
|
||||
|
||||
SetLocalInt(OBJECT_SELF, MK_ITM_DISP_CALLBACK_CHECK, bCheck);
|
||||
}
|
Reference in New Issue
Block a user