PoA_PRC8/_module/nss/giveplotitems.nss

32 lines
632 B
Plaintext
Raw Normal View History

2022-10-07 14:20:31 -04:00
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);
}
}