{
	code: "lore",
	class: "ItemRandomLore",
	maxstacksize: 1,
	behaviors: [
		{ name: "GroundStorable", properties: { layout: 'Quadrants', collisionBox: { x1: 0, y1: 0, z1: 0, x2: 1, y2: 0.125, z2: 1 } } }
	],
	attributes: {
		displaycaseable: true,
		rolledShapeByType: {
			"lore-paper": "item/lore/scroll-unbound"
		},
		bookshelveableByType: {
			"lore-scroll": false,
			"lore-paper": false,
			"*": true,
		},
		scrollrackableByType: {
			"lore-scroll": true,
			"lore-paper": true,
			"*": false,
		},
		onscrollrackTransform: {
			translation: { x: -0.5, y: -0.18, z: 0.48 },
			rotation: { x: -45, y: 0, z: 0 },
			origin: { x: 0.5, y: 0.1, z: 0.5 }
		},
		shelvable: true,
		readable: true,
		editable: false,
		maxPageCount: 1,
		groundStorageTransformByType: {
			"lore-book-*": {
				translation: { x: 0.12, y: 0, z: -0.04 },
				rotation: { x: 0, y: 35, z: 90 },
				origin: { x: 0.5, y: 0.05, z: 0.5 }
			},
			"*": {
				rotation: { x: 0, y: 35, z: 0 }
			}
		},
		onshelfTransformByType: {
			"lore-scroll": { rotation: { x: 0, y: 50, z: 0 }},
			"lore-paper": { rotation: { x: 0, y: 50, z: 0 }},
			"*": { }
		},
		handbook: {
			groupBy: ["lore-{type}*"]
		}
	},
	variantgroups: [
		{ code: "type", states: ["book"] },
		{ code: "color", states: [
			"aged-orangebrown", "aged-orange", "aged-darkgreen", "aged-darkgray", "aged-cherryred", "aged-brickred", "aged-darkolive", "aged-darkbeige", "aged-olive", "aged-purpleorange", "aged-gray", "rotten-gray", "rotten-brown", "rotten-rust", "rotten-purple", "rotten-green"
		] },
		{ code: "type", states: ["paper", "scroll"], combine: "add" },		
	],
	shapeByType: {
		"lore-book-*": { base: "block/clutter/bookshelves/small-normal" },
		"*": { base: "item/lore/{type}" },
	},
	texturesByType: {
		"lore-book-*": { 
			"cover": { base: "item/lore/{color}" } 
		},
		"*": { 
			"all": { base: "item/lore/{type}" } 
		}
	},
	creativeinventory: { "general": ["*"], "items": ["*"] },
	guiTransformByType: {
		"lore-book-*": {
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: -180, y: 123, z: 33 },
			origin: { x: 0.48, y: 0.21, z: 0.5 },
			scaleXyz: { x: -3.23, y: 3.23, z: 3.23 }
		},
		"lore-scroll": {
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: -19, y: -59, z: 20 },
			origin: { x: 0.48, y: 0.05, z: 0.52 },
			scale: 2.4
		},
		"lore-paper": {
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: -45, y: 28, z: -159 },
			origin: { x: 0.59, y: 0.18, z: 0.47 },
			scale: 1.6
		},
		"*": {
			rotate: true,
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: 106, y: 168, z: 50 },
			origin: { x: 0.6, y: 0.1, z: 0.5 },
			scale: 2.86
		}
	},
	tpHandTransformByType: {
		"lore-book-*": {
			translation: { x: -0.79, y: -0.36, z: -0.73 },
			rotation: { x: 0, y: -84, z: 7 },
			origin: { x: 0.5, y: 0.1, z: 0.5 },
			scale: 0.67
		},
		"lore-scroll": {
			translation: { x: -0.75, y: -0.08, z: -0.63 },
			rotation: { x: -56, y: -8, z: -8 },
			origin: { x: 0.5, y: 0.1, z: 0.5 },
			scale: 0.8
		},
		"*": {
			translation: { x: -0.75, y: -0.16, z: -0.73 },
			rotation: { x: 0, y: -84, z: -65 },
			origin: { x: 0.5, y: 0.1, z: 0.5 },
			scale: 0.67
		}
	},
	groundTransformByType: {
		"lore-book-*": {
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: 0, y: 0, z: 90 },
			origin: { x: 0.41, y: 0, z: 0.5 },
			scale: 3.4
		},
		"lore-scroll": {
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: 1, y: -3, z: 2 },
			origin: { x: 0.5, y: 0.01, z: 0.5 },
			scale: 4.03
		},
		"lore-paper": {
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: -7, y: 0, z: 0 },
			origin: { x: 0.5, y: 0.07, z: 0.41 },
			scale: 3.5
		},
		"*": {
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: 0, y: 0, z: 0 },
			origin: { x: 0.5, y: 0, z: 0.5 },
			scale: 3.5
		}
	}
}
