PoA_PRC8/_module/nss/addlegendjournal.nss

19 lines
295 B
Plaintext
Raw Normal View History

2022-10-07 14:20:31 -04:00
//Put this script OnEnter
void main()
{
object oPC = GetEnteringObject();
if (!GetIsPC(oPC)) return;
int DoOnce = GetLocalInt(oPC, GetTag(OBJECT_SELF));
if (DoOnce==TRUE) return;
SetLocalInt(oPC, GetTag(OBJECT_SELF), TRUE);
AddJournalQuestEntry("legartjournal", 1, oPC, FALSE, FALSE);
}