Initial Upload
Initial Upload
This commit is contained in:
17
_module/nss/drop_ondeath_npc.nss
Normal file
17
_module/nss/drop_ondeath_npc.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
void main()
|
||||
{
|
||||
object oPlayer = OBJECT_SELF;
|
||||
//location lPlayer = GetLocation(oPlayer);
|
||||
object oStolen = GetFirstItemInInventory(oPlayer);
|
||||
//string sStolen = GetTag(oStolen);
|
||||
while (oStolen != OBJECT_INVALID)
|
||||
{
|
||||
if (GetStolenFlag(oStolen) == TRUE)
|
||||
{
|
||||
SetDroppableFlag(oStolen,TRUE);
|
||||
|
||||
}
|
||||
oStolen = GetNextItemInInventory(oPlayer);
|
||||
//sStolen = GetTag(oStolen);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user