PoA_PRC8/module/nss/giveplotitems.nss
Jaysyn904 128e7e59a4 Initial upload
Initial upload
2022-10-07 14:20:31 -04:00

32 lines
632 B
Plaintext

void main()
{
object oPC = GetLastUsedBy();
//If they don't have my items give them to them (check for each item seperately!)
if(GetItemPossessedBy(oPC, "itool")==OBJECT_INVALID)
{
CreateItemOnObject("itool", oPC, 1);
}
if(GetItemPossessedBy(oPC, "rodfastcast")==OBJECT_INVALID)
{
CreateItemOnObject("rodfastcast", oPC, 1);
}
if(GetItemPossessedBy(oPC, "namingtool")==OBJECT_INVALID)
{
CreateItemOnObject("namingtool", oPC, 1);
}
if(GetItemPossessedBy(oPC, "colorwand")==OBJECT_INVALID)
{
CreateItemOnObject("colorwand", oPC, 1);
}
if(GetItemPossessedBy(oPC, "ibag")==OBJECT_INVALID)
{
CreateItemOnObject("ibag", oPC, 1);
}
}