17 lines
382 B
Plaintext
17 lines
382 B
Plaintext
|
//Put this OnEnter
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
object oPC = GetEnteringObject();
|
||
|
|
||
|
if (!GetIsPC(oPC)) return;
|
||
|
|
||
|
if (GetItemPossessedBy(oPC, "playershandbook")!= OBJECT_INVALID)
|
||
|
return;
|
||
|
CreateItemOnObject("playershandbook", oPC);
|
||
|
//////////////////////////////////////////////////////
|
||
|
if (GetItemPossessedBy(oPC, "emotewand")!= OBJECT_INVALID)
|
||
|
return;
|
||
|
CreateItemOnObject("emotewand", oPC);
|
||
|
}
|