Lankhmar_PRC8/_module/nss/take_seanote.nss

23 lines
677 B
Plaintext
Raw Permalink Normal View History

2025-04-03 12:54:47 -04:00
//::///////////////////////////////////////////////
//:: FileName take_seanote
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 8/29/2008 8:43:50 PM
//:://////////////////////////////////////////////
void main()
{
// Give the speaker some gold
GiveGoldToCreature(GetPCSpeaker(), 350);
// Give the speaker some XP
GiveXPToCreature(GetPCSpeaker(), 150);
// Remove items from the player's inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "seanote");
if(GetIsObjectValid(oItemToTake) != 0)
ActionTakeItem(oItemToTake, GetPCSpeaker());
}