{
	code: "clothes",
	variantgroups: [
		{ code: "category",  states: ["lowerbody"] },
		{ code: "lowerbody", combine: "SelectiveMultiply", onVariant: "category", states: [
			"aristocrat-leggings", "dirty-linen-trousers", "fine-trousers", "jailor-pants", "lackey-breeches", "merchant-pants", "messenger-trousers",
			"minstrel-pants", "noble-pants", "prince-breeches", "reindeer-herder-trousers", "raw-hide-trousers", "shepherd-pants", "squire-pants", "nomad-trousers", 
			"tattered-peasent-gown", "torn-riding-pants", "warm-woolen-pants", "woolen-leggings", "workmans-gown", "blackguard-leggings", "clockmaker-pants",
			"hunter-leggings", "malefactor-trousers", "forlorn-pants", "commoner-trousers", "tailor-trousers", "homespun-pants", "pastoral-pants", "chateau-pants",
			"marketeer", "rotwalker", "rottenking", "surgeon", "miner", "alchemist", "forgotten", "deep", "survivor", "scribe", "skirt", "king"
		] },
	],
	shapeByType: {
		"*-skirt": { base: "entity/humanoid/seraph/clothing/lowerbody/skirt" },
		"*-clockmaker-pants": {	base: "entity/humanoid/seraph/clothing/lowerbody/clockmaker-pants" },
		"*-king": { base: "entity/humanoid/seraph/clothing/lowerbody/king" },
		"*-rottenking": { base: "entity/humanoid/seraph/clothing/lowerbody/king" },
		"*": { base: "entity/humanoid/seraph/clothing/lowerbody/pants7" }
	},
	storageFlags: 128,
    behaviors: [
        { "name": "Wearable" }
    ],
	attributes: {
		clothescategory: "lowerbody",
		wearableAttachment: true,
		handbook: {
			groupBy: ["clothes-{category}-*"]
		}
	},
	attributesByType: {
		"*-torn-riding-pants": { warmth: 1 },
		"*-warm-woolen-pants": { warmth: 3 },
		"*-woolen-leggings": { warmth: 3 },
		"*-pastoral-pants": { warmth: 2.5 },
		"*-chateau-pants": { warmth: 2.5 },
		"*": { warmth: 2 }
	},
	texturesByType: {
		"*": {
			"seraph": { base: "block/transparent" },
			"pants": { base: "entity/humanoid/seraphclothes/lowerbody/{lowerbody}" },
			"lowerbody": { base: "entity/humanoid/seraphclothes/lowerbody/{lowerbody}" }
		}
	},
	creativeinventory: { "general": ["*"], "items": ["*"], "clothing": ["*"] },
	renderAlphaTest: 0.25,
	tpHandTransformByType: {
		"clothes-lowerbody-skirt": {
			translation: { x: -1.3, y: -0.4, z: -1.2 },
			rotation: { x: -71, y: 180, z: 83 },
			scale: 0.65
		},
		"*": {
			translation: { x: -0.6, y: -0.9, z: -0.7 },
			rotation: { x: -71, y: 180, z: 83 },
			scale: 0.55
		},
	},
	guiTransformByType: {
		"*-skirt": {
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: -173, y: -79, z: 38 },
			origin: { x: 0.6, y: 0.73, z: 0.51 },
			scale: 1.51
		},
		"clothes-lowerbody-skirt": {
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: -173, y: -79, z: 38 },
			origin: { x: 0.5, y: -0.17, z: 0.41 },
			scale: 1.4
		},
		"*-torn-riding-pants": {
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: -9, y: -53, z: 172 },
			origin: { x: 0.5, y: 0.84, z: 0.56 },
			scale: 1.69
		},
		"*-clockmaker-pants": {
			rotate: false,
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: -173, y: -79, z: 38 },
			origin: { x: 0.5, y: 0.83, z: 0.65 },
			scale: 1.2
		},
		"*-blackguard-leggings": {
			rotate: false,
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: -173, y: -79, z: 38 },
			origin: { x: 0.5, y: 0.73, z: 0.6 },
			scale: 1.4
		},
		"*": {
			rotate: false,
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: -173, y: -79, z: 38 },
			origin: { x: 0.5, y: 0.63, z: 0.6 },
			scale: 1.4
		}
	},
	groundTransform: {
		translation: { x: 0.05, y: 0.13, z: 0 },
		rotation: { x: 0, y: 0, z: -87 },
		origin: { x: 0.5, y: 0.5, z: 0.5299 },
		scale: 4
	}
}
