Aantioch_Infernum/_module/nss/emote_rod_give.nss
2023-08-09 19:41:38 -05:00

18 lines
412 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);
GiveGoldToCreature(oPC, 230);
}