Area Changes and other fixes
added areas and ccoh, fixed some areas to work with crafting fixed some on death issues added server entry/ooc
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user