Aschbourne_PRC8/_module/nss/_tmp_resourcebox.nss
GetOffMyYarn 69879d6957 Areas and Fixes
Added CCOH and missing areas
Changed some areas to be craftable,
Fixed some on death issues,
Fixed the Gaurd
2024-08-30 11:38:44 -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));
}