Files
Anphillia_PRC8/_module/nss/at_006.nss
Jaysyn904 28cdb617b3 Initial commit
Adding all of the current content for Anphillia Unlimited.
2024-01-04 07:49:38 -05:00

17 lines
390 B
Plaintext

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