2023-08-08 16:22:17 -04:00
|
|
|
//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);
|
2023-08-09 19:41:38 -05:00
|
|
|
GiveGoldToCreature(oPC, 230);
|
2023-08-08 16:22:17 -04:00
|
|
|
}
|