32 lines
632 B
Plaintext
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);
|
||
|
}
|
||
|
|
||
|
}
|