20 lines
259 B
Plaintext
20 lines
259 B
Plaintext
|
|
||
|
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);
|
||
|
}
|