Lankhmar_PRC8/_module/nss/conv_giv_tk_note.nss

20 lines
632 B
Plaintext
Raw Permalink Normal View History

2025-04-03 12:54:47 -04:00
//::///////////////////////////////////////////////
//:: FileName conv_giv_tk_note
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 9/3/2007 9:20:32 PM
//:://////////////////////////////////////////////
void main()
{
// Give the speaker the items
CreateItemOnObject("notefromoverlo", GetPCSpeaker(), 1);
// Remove items from the player's inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "notefrominrik");
if(GetIsObjectValid(oItemToTake) != 0)
ActionTakeItem(oItemToTake, GetPCSpeaker());
}