23 lines
464 B
Plaintext
23 lines
464 B
Plaintext
//Put this script OnEnter
|
|
void main()
|
|
{
|
|
|
|
object oPC = GetEnteringObject();
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
if (GetItemPossessedBy(oPC, "journaltoken")!= OBJECT_INVALID)
|
|
return;
|
|
|
|
if (GetItemPossessedBy(oPC, "journaltoken")== OBJECT_INVALID)
|
|
{
|
|
CreateItemOnObject("journaltoken", oPC);
|
|
|
|
FloatingTextStringOnCreature("Your Journal Has Been Update, please read it by pressing J.", oPC);
|
|
|
|
AddJournalQuestEntry("socketsystem", 1, oPC, FALSE, FALSE);
|
|
|
|
}
|
|
}
|
|
|