module Packing
{
	imports
	{
		Base,
	}
	
	item 10pkNotebook
	{
		Weight			= 2.5,
		Type			= Normal,
		DisplayName		= 10 x Notebook,
		DisplayCategory = Literature,
		Icon			= PNotebook,
		WorldStaticModel= StackOfNotebook,
	}
	
	item 5pkNotebook
	{
		Weight			= 1.75,
		Type			= Normal,
		DisplayName		= 5 x Notebook,
		DisplayCategory = Literature,
		Icon			= PNotebook,
		WorldStaticModel= StackOfNotebook,
	}
	
	recipe Pack 10
	{
		destroy Notebook=10,
		
		Result:10pkNotebook,
		OnTest:Recipe.OnTest.IsFavorite,
		Time:120.0,
		Category:Storage,
	}
	
	recipe Unpack 10
	{
		destroy 10pkNotebook,
		
		Result:Notebook=10,
		Time:100.0,
		Category:Storage,
	}
	
	recipe Pack 5
	{
		destroy Notebook=5,
		
		Result:5pkNotebook,
		OnTest:Recipe.OnTest.IsFavorite,
		Time:75.0,
		Category:Storage,
	}
	
	recipe Unpack 5
	{
		destroy 5pkNotebook,
		
		Result:Notebook=5,
		Time:50.0,
		Category:Storage,
	}

	recipe Put Together
	{
		5pkNotebook=2,
		
		Result:10pkNotebook=1,
		Time:40.0,
	}

	recipe Split in Two
	{
		10pkNotebook=1,
		
		Result:5pkNotebook=2,
		Time:40.0,
	}

	model StackOfNotebook
	{
		mesh = WorldItems/stack_of_notebooks,
		texture = WorldItems/EmptyNotePad,
		scale = 0.88,
	}
}