21 lines
336 B
Plaintext
21 lines
336 B
Plaintext
|
|
||
|
void main()
|
||
|
|
||
|
{
|
||
|
|
||
|
object oItem;
|
||
|
|
||
|
object oPC = GetModuleItemAcquiredBy();
|
||
|
|
||
|
oItem = GetModuleItemAcquired();
|
||
|
if (!GetIsPC(oPC)) return;
|
||
|
if (GetLocalInt(oPC, "ac_"+GetTag(oItem))) return;
|
||
|
SetLocalInt(oPC, "ac_"+GetTag(oItem), TRUE);
|
||
|
|
||
|
SetLocalString(oPC, "dtmple1", "1");
|
||
|
|
||
|
AddJournalQuestEntry("Crypt Desecration", 2, oPC, TRUE, FALSE);
|
||
|
|
||
|
}
|
||
|
|