16 lines
217 B
Plaintext
16 lines
217 B
Plaintext
//Put this script OnEnter
|
|
void main()
|
|
{
|
|
|
|
object oPC = GetEnteringObject();
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
if (GetItemPossessedBy(oPC, "newbook22")!= OBJECT_INVALID)
|
|
return;
|
|
|
|
CreateItemOnObject("newbook22", oPC);
|
|
|
|
}
|
|
|