Amon_PRC8/_module/nss/temp_bounty.nss
Jaysyn904 c5cffc37af Initial Commit
Initial Commit [v1.01]
2025-04-03 19:00:46 -04:00

13 lines
335 B
Plaintext

#include "pcinclude"
void main()
{
object oPC = GetPCSpeaker();
// Remove items from the player's inventory
int nPelts = DestroyItemsInInventory(oPC, "BisonSkin", 9999);
// Give the speaker some gold
GiveGoldToCreature(oPC, 100 * nPelts);
// Give the speaker some XP
GiveXPToCreature(oPC, 100 * nPelts);
}