20 lines
632 B
Plaintext
20 lines
632 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: 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());
|
||
|
}
|