Areas and Fixes
Added CCOH and missing areas Changed some areas to be craftable, Fixed some on death issues, Fixed the Gaurd
This commit is contained in:
32
_module/nss/_open_loom.nss
Normal file
32
_module/nss/_open_loom.nss
Normal file
@@ -0,0 +1,32 @@
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetLastOpenedBy();
|
||||
object oSelf = OBJECT_SELF;
|
||||
|
||||
CreateItemOnObject("pattern018",oSelf,1); // Normal Cloth
|
||||
CreateItemOnObject("pattern019",oSelf,1); // Wool Cloth
|
||||
CreateItemOnObject("pattern061",oSelf,1); // Silk Cloth
|
||||
|
||||
if (GetItemPossessedBy(oPC,"NoDrop_SkillLogBook")==OBJECT_INVALID)
|
||||
{
|
||||
CreateItemOnObject("skilllogbook",oPC,1);
|
||||
}
|
||||
|
||||
// Search for and destroy any hidden 'body bags' from prior incarnations of this placeable
|
||||
object oSearchForBag = GetNearestObjectByTag("Body Bag",OBJECT_SELF,1);
|
||||
if (oSearchForBag == OBJECT_INVALID)return;
|
||||
object oBagItem = OBJECT_INVALID;
|
||||
if (GetDistanceToObject(oSearchForBag)<= 0.2)
|
||||
{
|
||||
//SendMessageToPC(GetFirstPC(),"Body bag found.. destroying contents..");
|
||||
oBagItem = GetFirstItemInInventory(oSearchForBag);
|
||||
while (oBagItem != OBJECT_INVALID)
|
||||
{
|
||||
//SendMessageToPC(GetFirstPC(),"Destroying : "+GetName(oBagItem));
|
||||
DestroyObject(oBagItem);
|
||||
oBagItem = GetNextItemInInventory(oSearchForBag);
|
||||
}
|
||||
DestroyObject(oSearchForBag,1.0);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user