Added CCOH and missing areas Changed some areas to be craftable, Fixed some on death issues, Fixed the Gaurd
21 lines
760 B
Plaintext
21 lines
760 B
Plaintext
void main()
|
|
{
|
|
object oTrashCan = OBJECT_SELF;
|
|
object oPlayer = GetPCSpeaker();
|
|
string sFlag="";
|
|
|
|
object oItemInTrash = GetFirstItemInInventory(oTrashCan);
|
|
while(GetIsObjectValid(oItemInTrash) == TRUE)
|
|
{
|
|
//addition by MIAS
|
|
if (GetPlotFlag(oItemInTrash)==TRUE) sFlag=sFlag+"<PLOT>";
|
|
if (GetItemCursedFlag(oItemInTrash)==TRUE) sFlag=sFlag+"<CURSED>";
|
|
if (GetStolenFlag(oItemInTrash)==TRUE) sFlag=sFlag+"<STOLEN>";
|
|
if (sFlag!="") SendMessageToAllDMs("Player " + GetName(oPlayer) + " trashed an item in area " +GetName(GetArea(oPlayer)) + " flagged as: " +sFlag);
|
|
//End addition
|
|
|
|
DestroyObject(oItemInTrash);
|
|
oItemInTrash = GetNextItemInInventory(oTrashCan);
|
|
}
|
|
}
|