Jump to content

Recommended Posts

Posted

Having a hard time getting my soups to use the name i want and not something extra

 

Image displays what I'm getting no matter what i do in my lang file. Here is my lang file:

 


    "*catmintsoup*": "Catmint flower soup",
    "*forgetmetnot-soup*": "Forget me not flower soup",
    "*cornflower-soup*": "Cornflower soup",
    "*goldenpoppysoup*": "Golden poppy soup",
    "*heathersoup*": "Heather flower soup",
    "*lesser-herbal-soup*": "Herbal soup(lesser)",
    "*orangemallowherbalsoup*": "Orange mallow herbal soup",
    "*wilddaisyherbalsoup*": "Wild daisy herbal soup",

    "*mealrecipe-name-lesser-herbal-soup*": "test soup",
    "*lesser-herbal-soup*": "soup test",
	"game:tabname-plants-expanded": "Plants Expanded"

Here is the code for one of the soups for example:

{
	code: "lesser-herbal-soup",
	perishableProps: {
		freshHours: { avg: 144 },
		transitionHours: { avg: 36 },
		transitionRatio: 1,
		transitionedStack: { type: "item", code: "rot" }
	},
	shape: { base: "game:block/food/meal/soup" },
	ingredients: [
		{ 
			code: "game:stock", 
			validStacks: [ 
				{ 
					type: "item", code: "game:waterportion", shapeElement: "game:bowl/water"
				}
			],
			minQuantity: 1,
			maxQuantity: 10,
			portionSizeLitres: 1,
			typeName: "game:stock"
		},
		{
			code: "game:vegetable-base", 
			validStacks: [ 
				{ type: "item", code: "rawedelweiss-dried",  shapeElement: "game:bowl/vegetable base 1/*" }
			],
			minQuantity: 1,
			maxQuantity: 10,
			typeName: "vegetable"
		},
        {
			code: "game:vegetable-base", 
			validStacks: [ 
				{ type: "item", code: "rawgoldenpoppy-dried",  shapeElement: "game:bowl/vegetable base 2/*" }
			],
			minQuantity: 1,
			maxQuantity: 10,
			typeName: "vegetable"
		},
        {
			code: "game:vegetable-base", 
			validStacks: [ 
				{ type: "item", code: "rawwilddaisy-dried",  shapeElement: "game:bowl/vegetable base 3/*" }
			],
			minQuantity: 1,
			maxQuantity: 10,
			typeName: "vegetable"
		}
	]
}

Also noticed the handbook is not showing the correct recipes for the items. Everything works if you follow the recipe defined via code. Not sure how to fix these issues. 

vt soup.png

Posted (edited)

Still have not been able to resolve this issue. Really need some help. Tried many different things with no result. I found this article from 2021 similar issue but they had no solution as well. 

 

Edited by Micah Holmes
  • 3 weeks later...
  • 1 month later...
Posted

I found the answer. I knew it was in the Lang file but was not sure what I was doing wrong. The item is not a "item" or a "block".

 

Format:

"mealrecipe-name-{Modname}{codename}": "name here",
 
Example:
"mealrecipe-name-craftsmanship:heathermeatystew": "Heather meaty stew",

 

×
×
  • 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.