Aschbourne_PRC8/_module/_tmp_resourcebox.nss
GetOffMyYarn 8622e5ce08 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
2024-08-30 10:38:04 -04:00

18 lines
682 B
Plaintext

void main()
{
if (GetInventoryDisturbType()== INVENTORY_DISTURB_TYPE_ADDED) return;
object oItem = GetInventoryDisturbItem();
object oPC = GetLastDisturbed();
if (oItem==OBJECT_INVALID) SendMessageToPC(oPC,"Script returned OBJECT_INVALID");
//Hopefully this line will fix whatever issues were causing some stackables with only 1 item in the stack
//from disappearing from the crate when selected twice.
CopyObject(oItem,GetLocation(OBJECT_SELF),OBJECT_SELF,GetTag(oItem));
//SendMessageToPC(oPC,"TAG: "+GetTag(oItem));
//SendMessageToPC(oPC,"RES: "+GetResRef(oItem));
//CreateItemOnObject(GetResRef(oItem),OBJECT_SELF,GetNumStackedItems(oItem));
}