Lankhmar_PRC8/_module/nss/take_baldingsalv.nss

23 lines
688 B
Plaintext
Raw Permalink Normal View History

2025-04-03 12:54:47 -04:00
//::///////////////////////////////////////////////
//:: FileName take_baldingsalv
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 11/23/2008 5:36:16 PM
//:://////////////////////////////////////////////
void main()
{
// Give the speaker some gold
GiveGoldToCreature(GetPCSpeaker(), 2000);
// Give the speaker some XP
GiveXPToCreature(GetPCSpeaker(), 350);
// Remove items from the player's inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "baldingsalve");
if(GetIsObjectValid(oItemToTake) != 0)
ActionTakeItem(oItemToTake, GetPCSpeaker());
}