15 lines
330 B
Plaintext
15 lines
330 B
Plaintext
|
|
void main()
|
|
{
|
|
|
|
// Set the variables
|
|
SetLocalInt(GetPCSpeaker(), "nattick2", 1);
|
|
|
|
// Remove items from the player's inventory
|
|
object oItemToTake;
|
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "notetograym");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
ActionTakeItem(oItemToTake, GetPCSpeaker());
|
|
|
|
}
|