Major update
Created top hak for crafting dialog. Moved Bioware creature abilities to top hak. Fixed DMFI wand handouts. Added DMFI language handouts. Added CCOH 6. Disabled PC corpse system. Modified new player startup system. Full compile. Updated release archive.
This commit is contained in:
15
_module/nss/mk_cb_iprp_inlbl.nss
Normal file
15
_module/nss/mk_cb_iprp_inlbl.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
#include "mk_inc_itm_disp"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
object oItem = GetLocalObject(oPC, MK_ITM_DISP_CALLBACK_OBJECT);
|
||||
|
||||
string sLabel = GetName(oItem);
|
||||
int nBaseItemType = GetBaseItemType(oItem);
|
||||
if ((GetItemStackSize(oItem)>1) || (MK_Get2DAInt("baseitems", "Stacking", nBaseItemType, 1) > 1))
|
||||
{
|
||||
sLabel += (" #" + IntToString(GetItemStackSize(oItem)));
|
||||
}
|
||||
SetLocalString(OBJECT_SELF, MK_ITM_DISP_CALLBACK_LABEL, sLabel);
|
||||
}
|
Reference in New Issue
Block a user