LoD_PRC8/_module/nss/ba_dtakelet.nss
Jaysyn904 94990edc60 Initial Upload
Initial Upload
2023-09-21 21:20:34 -04:00

15 lines
395 B
Plaintext

void main()
{
object oLetter = GetObjectByTag("ba_nolinuslet");
object oSpeaker = GetPCSpeaker();
if(GetItemPossessedBy(oSpeaker, "ba_nolinuslet") != OBJECT_INVALID)
{
object oDestroy = GetItemPossessedBy(oSpeaker, "ba_nolinuslet");
DestroyObject(oDestroy, 0.0f);
object oCapt = GetObjectByTag("ba_dwarfcapt");
SetLocalInt(oCapt, "KIRJEOTETTU", 1);
}
}