Battledale_PRC8/_module/nss/jw_shade_disturb.nss

20 lines
259 B
Plaintext
Raw Permalink Normal View History

void makebud();
void main()
{
if (GetInventoryDisturbType()==INVENTORY_DISTURB_TYPE_REMOVED&&GetTag(GetInventoryDisturbItem())=="jw_night_bud")
{
DelayCommand(21600.0,makebud());
}
}
void makebud()
{
CreateItemOnObject("jw_night_bud",OBJECT_SELF,1);
}