Lankhmar_PRC8/_module/nss/aq_pitnote.nss

26 lines
551 B
Plaintext
Raw Permalink Normal View History

2025-04-03 12:54:47 -04:00
void main()
{
object oTarget;
object oItem;
object oPC = GetModuleItemAcquiredBy();
oItem = GetModuleItemAcquired();
if (!GetIsPC(oPC)) return;
if (GetLocalInt(oPC, "ac_"+GetTag(oItem))) return;
SetLocalInt(oPC, "ac_"+GetTag(oItem), TRUE);
AddJournalQuestEntry("Hresstan's Comrades", 4, oPC, TRUE, FALSE);
// Have text appear over the PC's head.
FloatingTextStringOnCreature("Hresstan should see this note.", oPC);
oTarget = GetObjectByTag("Hresstan");
DelayCommand(1.2, AssignCommand(oTarget, ActionStartConversation(oPC, "hresstan2")));
}