Lankhmar_PRC8/_module/nss/take_aarthbook.nss

23 lines
684 B
Plaintext
Raw Normal View History

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