19 lines
504 B
Plaintext
19 lines
504 B
Plaintext
|
void main()
|
||
|
{
|
||
|
object oPC = GetLastDisturbed();
|
||
|
|
||
|
object oItem = GetFirstItemInInventory(OBJECT_SELF);
|
||
|
|
||
|
while (GetIsObjectValid(oItem))
|
||
|
{
|
||
|
if (GetBaseItemType(oItem) == BASE_ITEM_LARGEBOX)
|
||
|
{
|
||
|
string sName = GetName(oItem);
|
||
|
SendMessageToPC(oPC, sName + " or other container objects can not be saved with persistant chest inventory.");
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
oItem = GetNextItemInInventory(OBJECT_SELF);
|
||
|
}
|
||
|
}
|