Changed folder name.
Changed folder name.
This commit is contained in:
14
_module/nss/idcust_inititem.nss
Normal file
14
_module/nss/idcust_inititem.nss
Normal file
@@ -0,0 +1,14 @@
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
object oPlayer = GetPCSpeaker();
|
||||
int iSlot = GetLocalInt( OBJECT_SELF, "iSlot");
|
||||
|
||||
object oItem = GetItemInSlot( iSlot, oPlayer);
|
||||
SetCustomToken(5501, GetName( oItem));
|
||||
|
||||
int iItemType = GetBaseItemType( oItem);
|
||||
SetLocalInt( OBJECT_SELF, "ItemType", iItemType);
|
||||
|
||||
return TRUE;
|
||||
}
|
Reference in New Issue
Block a user