NWNDS/nwnds_module/1perpcalexandrit.nss

17 lines
254 B
Plaintext
Raw Normal View History

void main()
{
object oPC = GetLastOpenedBy();
if (!GetIsPC(oPC)) return;
int DoOnce = GetLocalInt(oPC, GetTag(OBJECT_SELF));
if (DoOnce==TRUE) return;
SetLocalInt(oPC, GetTag(OBJECT_SELF), TRUE);
CreateItemOnObject("nw_it_gem013", OBJECT_SELF);
}