{
	code: "hide",
	behaviors: [
		{ name: "GroundStorable", properties: { layout: 'SingleCenter', collisionBox: { x1: 0, y1: 0, z1: 0, x2: 1, y2: 0.1, z2: 1 } } }
	],
	behaviorsByType: {
		"hide-pelt-*-complete": [
			{
				name: "GroundStoredProcessable",
				properties: {
					processTime: 0.6, 
					processedStacks: [{ type: "item", code: "hide-pelt-{group}-{species}-head", quantity: { avg: 1 } }],
					remainingItem: { type: "item", code: "hide-pelt-{group}-{species}-body"},
					tool: "knife"
				}
			},
			{ name: "GroundStorable", properties: { layout: 'SingleCenter', collisionBox: { x1: 0, y1: 0, z1: 0, x2: 1, y2: 0.1, z2: 1 } } }
		],
		"hide-soaked-*": [
			{
				name: "GroundStoredProcessable",
				properties: {
					processTime: 0.6, 
					toolDurabilityCostByType: {
						"*-bear-sun-complete": 2,
						"*-bear-sun-body": 2,
						"@*-bear-(black|panda)-(complete|body)": 3,
						"@*-bear-(polar|brown)-(complete|body)": 4
					},
					remainingItemByType: {
						"@*-bear-sun-(complete|body)": { type: "item", code: "hide-scraped-medium"},
						"@*-bear-(black|panda)-(complete|body)": { type: "item", code: "hide-scraped-large"},
						"@*-bear-(brown|polar)-(complete|body)": { type: "item", code: "hide-scraped-huge"}
					},
					tool: "knife",
					interactionHelpCode: "groundstoredaction-scrape",
					handbookProcessIntoTitle: "groundstoredscrapesdesc-title",
					handbookCreatedByTitle: "handbook-createdby-groundstoredscraping"
				}
			},
			{ name: "GroundStorable", properties: { layout: 'SingleCenter', collisionBox: { x1: 0, y1: 0, z1: 0, x2: 1, y2: 0.1, z2: 1 } } }
		]
	},
	variantgroups: [
		{ code: "type", states: [ "raw", "oiled", "pelt", "soaked", "salted" ] },
		{ code: "group", states: [ "bear" ] },
		{ code: "species", states: [ "black", "brown", "panda", "polar", "sun" ] },
		{ code: "form", states: [ "complete", "body", "head" ] }
	],
	skipVariants: [
		"hide-raw-bear-*-body",
		"hide-raw-bear-*-head",
		"hide-oiled-bear-*-body",
		"hide-oiled-bear-*-head",
		"hide-salted-bear-*-body",
		"hide-salted-bear-*-head",
		"hide-soaked-bear-*-body",
		"hide-soaked-bear-*-head"
	],
	tagsByType: {
		"*-polar-complete": ["size-huge", "color-white"],
		"*-polar-body": ["size-huge", "color-white"],
		"*-brown-complete": ["size-huge", "color-brown"],
		"*-brown-body": ["size-huge", "color-brown"],
		"*-black-complete": ["size-large", "color-black"],
		"*-black-body": ["size-large", "color-black"],
		"*-panda-complete": ["size-large", "color-black", "color-white"],
		"*-panda-body": ["size-large", "color-black", "color-white"],
		"*-sun-complete": ["size-medium", "color-black"],
		"*-sun-body": ["size-medium", "color-black"]
	},
	attributes: {
		handbook: {
			groupBy: ["@hide-{type}-{group}-.*-{form}"]
		}
	},
	shape: { base: "item/resource/hide/bear/{species}-{form}" },
	"texturesByType": {
		"hide-raw-bear-*": { "bear": { "base": "entity/animal/mammal/bear/{species}-adult1" }, "pelt": { "base": "item/resource/hide/flesh" }},
		"hide-oiled-bear-*": { "bear": { "base": "entity/animal/mammal/bear/{species}-adult1", "overlays": ["item/resource/hide/{type}/{group}-{species}"] }, "pelt": { "base": "item/resource/hide/flesh", "overlays": ["item/resource/hide/oiled"] }},
		"hide-pelt-bear-*": { "bear": { "base": "entity/animal/mammal/bear/{species}-adult1" }, "pelt": { "base": "item/resource/hide/pelt" }},
		"hide-soaked-bear-*": { "bear": { "base": "entity/animal/mammal/bear/{species}-adult1", "overlays": ["item/resource/hide/{type}/{group}-{species}"] }, "pelt": { "base": "item/resource/hide/flesh", "overlays": ["item/resource/hide/soak"] }},
		"hide-salted-bear-*": { "bear": { "base": "entity/animal/mammal/bear/{species}-adult1", "overlays": ["item/resource/hide/{type}/{group}-{species}"] }, "pelt": { "base": "item/resource/hide/flesh", "overlays": ["item/resource/hide/salt"] }}
	},
	creativeinventory: { "general": ["*"], "items": ["*"] },	
	materialDensity: 620,
	maxstacksizeByType: {
		"*-bear-*": 8
	},
	transitionablePropsByType: {
		"hide-oiled-*":	[
			{
				type: "Cure",
				freshHours: { avg: 0 },
				transitionHours: { avg: 48 },
				transitionedStack: { type: "item", code: "hide-pelt-{group}-{species}-{form}" },
				transitionRatio: 1
			}
		],
		"hide-raw-*": [
			{
				type: "Perish",
				freshHours: { avg: 120 },
				transitionHours: { avg: 24 },
				transitionedStack: { type: "item", code: "rot" },
				"transitionRatioByType": {
					"hide-raw-bear-*-complete": 9,
					"hide-raw-bear-*-body": 8,
					"hide-raw-bear-*-head": 1,
					"*-small": 1,
					"*-medium": 2,
					"*-large": 4
				}
			}
		],
		"hide-salted-*": [
			{
				type: "Perish",
				freshHours: { avg: 2000 },
				transitionHours: { avg: 592 },
				transitionedStack: { type: "item", code: "rot" },
				"transitionRatioByType": {
					"hide-raw-bear-*-complete": 9,
					"hide-raw-bear-*-body": 8,
					"hide-raw-bear-*-head": 1,
					"*-small": 1,
					"*-medium": 2,
					"*-large": 4
				}
			}
		]
	},
	tpHandTransformbyType: {
		"*-small": {
			translation: { x: -1.15, y: -0.1, z: -0.95 },
			rotation: { x: 0, y: 90, z: -74 },
			origin: { x: 0.5, y: 0, z: 0.5 },
			scale: 0.5
		},
		"*-medium": {
			translation: { x: -1.26, y: -0.2, z: -1.24 },
			rotation: { x: 0, y: 90, z: -77 },
			origin: { x: 0.5, y: 0, z: 0.5 },
			scale: 0.4
		},
		"*-large": {
			translation: { x: -1.12, y: -0.2, z: -1.22 },
			rotation: { x: 0, y: 90, z: -83 },
			origin: { x: 0.5, y: 0, z: 0.5 },
			scale: 0.4
		},
		"*-bear-*": {
			translation: { x: -1.56, y: -0.6, z: -1.4 },
			rotation: { x: 0, y: 90, z: -82 },
			origin: { x: 0.5, y: 0, z: 0.5 },
			scale: 0.35
		}
	},
	guiTransformByType: {
		"*-head": {
			rotation: { x: 143, y: 142, z: 0 },
			origin: { x: 0.35, y: -0.05, z: 0.3 },
			scale: 2.0
		},
		"*-bear-sun-complete": {
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: 125, y: -180, z: 0 },
			origin: { x: 0.6, y: 0.3, z: 0.7 },
			scale: 0.63
		},
		"*-bear-*-complete": {
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: 125, y: -180, z: 0 },
			origin: { x: 0.7, y: 0, z: 0.7 },
			scale: 0.63
		},
		"*-bear-*": {
			rotation: { x: 105, y: 0.0, z: 0.0 },
			origin: { x: 0.5, y: 0.5, z: 0.3 },
			scale: 0.7
		}
	},
	groundTransformByType: {
		"*-small": {
			origin: { x: 0.5, y: 0, z: 0.5 },
			rotation: { x: 0, y: 0, z: 0 },
			scale: 5
		},
		"*-medium": {
			origin: { x: 0.5, y: 0, z: 0.5 },
			rotation: { x: 0, y: 0, z: 0 },
			scale: 4
		},
		"*-large": {
			origin: { x: 0.5, y: 0, z: 0.5 },
			rotation: { x: 0, y: 0, z: 0 },
			scale: 4
		},
		"*-bear-*": {
			origin: { x: 0.5, y: 0, z: 0.5 },
			rotation: { x: 0, y: 0, z: 0 },
			scale: 4
		}
	},
}
