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, "journaltoken4")!= OBJECT_INVALID)
|
||
|
return;
|
||
|
|
||
|
if (GetItemPossessedBy(oPC, "journaltoken4")== OBJECT_INVALID)
|
||
|
{
|
||
|
CreateItemOnObject("journaltoken4", oPC);
|
||
|
|
||
|
FloatingTextStringOnCreature("Your Journal Has Been Update, Please Read by pressing J.", oPC);
|
||
|
|
||
|
AddJournalQuestEntry("specialitems", 1, oPC, FALSE, FALSE);
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|