Jump to content

Recommended Posts

Posted

made a new jam recipe and its not showing nutrient info

Spoiler
{
	code: "craftsmanship:jam",
	class: "ItemLiquidPortion",
	matterState: "liquid",
	variantgroups: [
		{ code:"type", states: ["blueberry", "cranberry", "redcurrant", "whitecurrant", "blackcurrant", "saguaro", "pineapple", "apple", "cherry", "olive", "peach", 
		"pear", "orange", "mango", "breadfruit", "lychee", "pomegranate", "beautyberry", "blackberry", "cactusfruit", "cloudberry", "gooseberry", "guava", "kumquat"
		, "plumnatal", "raspberry", "strawberry" ] }
	],
	attributes: {
		handbook: {
			ignoreCreativeInvStacks: true,
			groupBy: ["jam-*"]
		},
		waterTightContainerProps: {
			containable: true,
			isopaque: true,
			itemsPerLitre: 100,
			texture: { base: "jam/{type}" },
			allowSpill: true,
			whenSpilled: { 
				action: "DropContents",
				stack: { type: "item", code: "craftsmanship:jam-{type}" } 
			},
			nutritionPropsPerLitreByType: {
				"*-blueberry": { "satiety": 120, "foodcategory": "Fruit" },
				"*-cranberry": { "satiety": 150, "foodcategory": "Fruit" },
				"*-redcurrant": { "satiety": 150, "foodcategory": "Fruit" },
				"*-whitecurrant": { "satiety": 160, "foodcategory": "Fruit" },
				"*-blackcurrant": { "satiety": 200, "foodcategory": "Fruit" },
				"*-saguaro": { "satiety": 250, "foodcategory": "Fruit" },
				"*-pineapple": { "satiety": 250, "foodcategory": "Fruit" },
				"*-apple": { "satiety": 225, "foodcategory": "Fruit" },
				"*-cherry": { "satiety": 150, "foodcategory": "Fruit" },
				"*-olive": { "satiety": 125, "foodcategory": "Fruit" },
				"*-peach": { "satiety": 220, "foodcategory": "Fruit" },
				"*-pear": { "satiety": 225, "foodcategory": "Fruit" },
				"*-orange": { "satiety": 180, "foodcategory": "Fruit" },
				"*-mango": { "satiety": 190, "foodcategory": "Fruit" },
				"*-breadfruit": { "satiety": 300, "foodcategory": "Fruit" },
				"*-lychee": { "satiety": 180, "foodcategory": "Fruit" },
				"*-pomegranate": { "satiety": 190, "foodcategory": "Fruit" },
				"*-beautyberry": { "satiety": 190, "foodcategory": "Fruit" },
				"*-blackberry": { "satiety": 200, "foodcategory": "Fruit" },
				"*-cactusfruit": { "satiety": 165, "foodcategory": "Fruit" },
				"*-cloudberry": { "satiety": 170, "foodcategory": "Fruit" },
				"*-gooseberry": { "satiety": 175, "foodcategory": "Fruit" },
				"*-guava": { "satiety": 175, "foodcategory": "Fruit" },
				"*-kumquat": { "satiety": 150, "foodcategory": "Fruit" },
				"*-plumnatal": { "satiety": 175, "foodcategory": "Fruit" },
				"*-raspberry": { "satiety": 200, "foodcategory": "Fruit" },
				"*-strawberry": { "satiety": 200, "foodcategory": "Fruit" }
			},
			nutritionPropsPerLitreWhenInMealByType: {
				"*-blueberry": { "satiety": 275, "foodcategory": "Fruit" },
				"*-cranberry": { "satiety": 300, "foodcategory": "Fruit" },
				"*-redcurrant": { "satiety": 285, "foodcategory": "Fruit" },
				"*-whitecurrant": { "satiety": 310, "foodcategory": "Fruit" },
				"*-blackcurrant": { "satiety": 350, "foodcategory": "Fruit" },
				"*-saguaro": { "satiety": 285, "foodcategory": "Fruit" },
				"*-pineapple": { "satiety": 390, "foodcategory": "Fruit" },
				"*-apple": { "satiety": 385, "foodcategory": "Fruit" },
				"*-cherry": { "satiety": 275, "foodcategory": "Fruit" },
				"*-olive": { "satiety": 275, "foodcategory": "Fruit" },
				"*-peach": { "satiety": 380, "foodcategory": "Fruit" },
				"*-pear": { "satiety": 385, "foodcategory": "Fruit" },
				"*-orange": { "satiety": 300, "foodcategory": "Fruit" },
				"*-mango": { "satiety": 310, "foodcategory": "Fruit" },
				"*-breadfruit": { "satiety": 300, "foodcategory": "Fruit" },
				"*-lychee": { "satiety": 310, "foodcategory": "Fruit" },
				"*-pomegranate": { "satiety": 310, "foodcategory": "Fruit" },
				"*-beautyberry": { "satiety": 310, "foodcategory": "Fruit" },
				"*-blackberry": { "satiety": 350, "foodcategory": "Fruit" },
				"*-cactusfruit": { "satiety": 275, "foodcategory": "Fruit" },
				"*-cloudberry": { "satiety": 300, "foodcategory": "Fruit" },
				"*-gooseberry": { "satiety": 300, "foodcategory": "Fruit" },
				"*-guava": { "satiety": 300, "foodcategory": "Fruit" },
				"*-kumquat": { "satiety": 275, "foodcategory": "Fruit" },
				"*-plumnatal": { "satiety": 300, "foodcategory": "Fruit" },
				"*-raspberry": { "satiety": 350, "foodcategory": "Fruit" },
				"*-strawberry": { "satiety": 350, "foodcategory": "Fruit" }
			}
		}
	},
	shape: { base: "game:item/liquid" },
	texture: { base: "jam/{type}"},
	creativeinventoryStacks: [ { tabs: ["general", "liquids"], stacks: [ { type: "block", code: "game:woodbucket", attributes: { ucontents: [ { type:"item", code: "craftsmanship:jam-{type}", makefull: true } ] } } ] } ],
	maxstacksize: 5000,
	materialDensity: 200,
	guiTransform: {
		translation: { x: 0, y: 1, z: 0 },
		rotation: { x: 123, y: -33, z: -13 },
		origin: { x: 0.5, y: 0, z: 0.5 },
		scale: 1.4
	},
	fpHandTransform: {
		translation: { x: 0, y: 0, z: 0 },
		rotation: { x: 25, y: 157, z: -5 }
	},
	tpHandTransform: {
		translation: { x: -1.5, y: -1, z: -1.4 }
	}
}

 

 

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.