26 lines
551 B
Plaintext
26 lines
551 B
Plaintext
|
|
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")));
|
|
|
|
}
|
|
|