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

16 lines
390 B
Plaintext

void main()
{
// Give the speaker some gold
GiveGoldToCreature(GetPCSpeaker(), 150);
// Give the speaker some XP
GiveXPToCreature(GetPCSpeaker(), 50);
// Remove items from the player's inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "wolfshead");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
}