Lankhmar_PRC8/_module/nss/take_bgarricksnt.nss
Jaysyn904 ebc0c6a9b2 Initial commit
Initial commit [v9.7]
2025-04-03 12:54:47 -04:00

17 lines
329 B
Plaintext

void main()
{
object oItemToTake;
object oPC = GetPCSpeaker();
// Remove items from the player's inventory
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "bgarricksnote");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
AssignCommand(oPC, ActionPlayAnimation(ANIMATION_LOOPING_GET_LOW, 1.0f, 2.0f));
}