{
	code: "hide",
	variantgroups: [
		{ code: "type", states: [ "raw", "soaked", "scraped", "prepared", "oiled", "pelt", "salted", "chromium" ] },
		{ code: "size", states: [ "small", "medium", "large", "huge"  ] }
	],
	skipVariants: [
		"hide-chromium-small",
		"hide-chromium-medium"
	],
	tagsByType: {
		"*-huge": ["size-huge", "color-brown"],
		"*-large": ["size-large", "color-brown"],
		"*-medium": ["size-medium", "color-brown"],
		"*-small": ["size-small", "color-brown"]
	},
	behaviors: [
		{ name: "GroundStorable", properties: { layout: 'SingleCenter', collisionBox: { x1: 0, y1: 0, z1: 0, x2: 1, y2: 0.1, z2: 1 } } }
	],
	behaviorsByType: {
		"*-soaked-*": [
			{
				name: "GroundStoredProcessable",
				properties: {
					processTime: 0.6, 
					remainingItem: { type: "item", code: "hide-scraped-{size}"},
					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 } } }
		],
		"hide-scraped-small": [
			{
				name: "GroundStoredProcessable",
				properties: {
					processTime: 0.6, 
					remainingItem: { type: "item", code: "paper-parchment"},
					tool: "shears",
					interactionHelpCode: "groundstoredaction-trim",
					handbookProcessIntoTitle: "groundstoredtrimdesc-title",
					handbookCreatedByTitle: "handbook-createdby-groundstoredtrimming"
				}
			},
			{ name: "GroundStorable", properties: { layout: 'SingleCenter', collisionBox: { x1: 0, y1: 0, z1: 0, x2: 1, y2: 0.1, z2: 1 } } }
		]
	},
	attributes: {
		handbook: {
			groupBy: ["@hide-{type}-(small|medium|large|huge)"]
		},
		inContainerTextureByType: {
			"hide-raw-*": { base: "item/resource/hide/raw" },
			"hide-soaked-*": { base: "item/resource/hide/soaked" },
			"hide-scraped-*": { base: "item/resource/hide/scraped" },
			"hide-prepared-*": { base: "item/resource/hide/prepared" },
			"hide-chromium-*": { base: "item/resource/hide/chromium" },
			"hide-oiled-*": { "base": "item/resource/hide/raw", "overlays": ["item/resource/hide/oiled"] },
			"hide-pelt-*": { base: "item/resource/hide/raw" },
			"hide-salted-*": { base: "item/resource/hide/salted" }
		}
	},
	"shapeByType": {
		"hide-raw-*": { base: "item/resource/hide/{size}1" },
		"hide-soaked-*": { base: "item/resource/hide/{size}1" },
		"hide-scraped-*": { base: "item/resource/hide/{size}2" },
		"hide-prepared-*": { base: "item/resource/hide/{size}2" },
		"hide-chromium-*": { base: "item/resource/hide/{size}2" },
		"hide-oiled-*": { base: "item/resource/hide/{size}1" },
		"hide-pelt-*": { base: "item/resource/hide/{size}1" },
		"hide-salted-*": { base: "item/resource/hide/{size}1" }
	},
	"texturesByType": {
		"hide-raw-huge": { "furside": { "base": "item/resource/hide/raw-huge" }, "fleshside": { "base": "item/resource/hide/flesh" }},
		"hide-raw-*": { "furside": { "base": "item/resource/hide/raw" }, "fleshside": { "base": "item/resource/hide/flesh" }},
		"hide-soaked-huge": { "furside": { "base": "item/resource/hide/soaked-huge" }, "fleshside": { "base": "item/resource/hide/flesh" }},
		"hide-soaked-*": { "furside": { "base": "item/resource/hide/soaked" }, "fleshside": { "base": "item/resource/hide/flesh" }},
		"hide-scraped-*": { "furside": { "base": "item/resource/hide/scraped" }, "fleshside": { "base": "item/resource/hide/scraped" }},
		"hide-prepared-*": { "furside": { "base": "item/resource/hide/prepared" }, "fleshside": { "base": "item/resource/hide/prepared" }},
		"hide-chromium-*": { "furside": { "base": "item/resource/hide/chromium" }, "fleshside": { "base": "item/resource/hide/chromium" }},
		"hide-oiled-huge": { "furside": { "base": "item/resource/hide/raw-huge", "overlays": ["item/resource/hide/oiled"] }, "fleshside": { "base": "item/resource/hide/flesh" }},
		"hide-oiled-*": { "furside": { "base": "item/resource/hide/raw", "overlays": ["item/resource/hide/oiled"] }, "fleshside": { "base": "item/resource/hide/flesh" }},
		"hide-pelt-huge": { "furside": { "base": "item/resource/hide/raw-huge" }, "fleshside": { "base": "item/resource/hide/scraped" }},
		"hide-pelt-*": { "furside": { "base": "item/resource/hide/raw" }, "fleshside": { "base": "item/resource/hide/scraped" }},
		"hide-salted-huge": { "furside": { "base": "item/resource/hide/salted-huge" }, "fleshside": { "base": "item/resource/hide/flesh" }},
		"hide-salted-*": { "furside": { "base": "item/resource/hide/salted" }, "fleshside": { "base": "item/resource/hide/flesh" }}
		},
	creativeinventory: { "general": ["*"], "items": ["*"] },	materialDensity: 620,
	maxstacksizeByType: {
		"*-small": 64,
		"*-medium": 32,
		"*-large": 16,
		"*-huge": 8
	},
	transitionablePropsByType: {
		"hide-oiled-*":	[
			{
				type: "Cure",
				freshHours: { avg: 0 },
				transitionHours: { avg: 48 },
				transitionedStack: { type: "item", code: "hide-pelt-{size}" },
				transitionRatio: 1
			}
		],
		"hide-raw-*": [
			{
				type: "Perish",
				freshHours: { avg: 120 },
				transitionHours: { avg: 24 },
				transitionedStack: { type: "item", code: "rot" },
				"transitionRatioByType": {
					"*-small": 1,
					"*-medium": 2,
					"*-large": 4,
					"*-huge": 8
				}
			}
		],
		"hide-salted-*": [
			{
				type: "Perish",
				freshHours: { avg: 2000 },
				transitionHours: { avg: 592 },
				transitionedStack: { type: "item", code: "rot" },
				"transitionRatioByType": {
					"*-small": 1,
					"*-medium": 2,
					"*-large": 4,
					"*-huge": 8
				}
			}
		]
	},
	guiTransformByType: {
		"*-small": {
			rotation: { x: 90, y: 0, z: 0 },
			origin: { x: 0.43, y: 0.5, z: 0.5 },
			scale: 1.5
		},
		"*-medium": {
			rotation: { x: 90, y: 0, z: 0 },
			origin: { x: 0.4, y: 0.5, z: 0.5 },
			scale: 0.8
		},
		"*-large": {
			rotation: { x: 90, y: 0.0, z: 0.0 },
			origin: { x: 0.4, y: 0.5, z: 0.5 },
			scale: 0.8
		},
		"*-huge": {
			rotation: { x: 105, y: 0, z: 0 },
			origin: { x: 0.37, y: 0.7, z: 0.3 },
			scale: 0.7
		}
	},
	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
		},
		"*-huge": {
			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
		}
	},
	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
		},
		"*-huge": {
			origin: { x: 0.5, y: 0, z: 0.5 },
			rotation: { x: 0, y: 0, z: 0 },
			scale: 4
		}
	},
}
