15 lines
218 B
Plaintext
15 lines
218 B
Plaintext
|
//Put this script OnEnter
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
object oPC = GetEnteringObject();
|
||
|
|
||
|
if (!GetIsPC(oPC)) return;
|
||
|
|
||
|
if (GetItemPossessedBy(oPC, "itemseller")!= OBJECT_INVALID)
|
||
|
return;
|
||
|
|
||
|
CreateItemOnObject("itemseller", oPC);
|
||
|
|
||
|
}
|