22 lines
486 B
Plaintext
22 lines
486 B
Plaintext
void main()
|
|
{
|
|
object ItemAcquired = GetModuleItemAcquired();
|
|
object ItemPossessor = GetModuleItemAcquiredBy();
|
|
|
|
// Elvin 05-Jan-2005
|
|
// If possessor is not a PC, then exit the script.
|
|
if(!GetIsPC(ItemPossessor))
|
|
{
|
|
return;
|
|
}
|
|
|
|
if (GetStolenFlag(ItemAcquired) == TRUE)
|
|
{
|
|
SetDroppableFlag(ItemAcquired,TRUE);
|
|
if (GetIsPC(ItemPossessor))
|
|
{
|
|
AssignCommand(ItemPossessor, ClearAllActions(TRUE));
|
|
}
|
|
}
|
|
}
|