HiddenTradition_PRC8/_module/nss/at_archbish2.nss
2024-06-20 15:47:42 -04:00

19 lines
441 B
Plaintext

#include "nw_i0_plot"
void main()
{
// Give the speaker the items
CreateItemOnObject("it_zechariahkey", GetPCSpeaker(), 1);
// Remove items from the player's inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "LettertoPope");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
// Set the variables
SetPLocalInt(GetPCSpeaker(), "ArchbishopQuest", 2);
}