{FIXED} By all accounts this should work.... help please

ok so can’t figure this one out. Stonehearth says it is a working mod file, there are no errors, yet it is not showing up in game…

it’s a food recipe for a hearty stew… going in a mod pack now :wink:

if any modders can take a peek and see if I missed anything. I’m really confuzzled.

Thanks in advance. My mashed potatoes work fine :wink:

Testing my theory now, but at a glance, I think it’s actually something very simple:

{
“info”: {
“version”: 3,
“name”: “Hearty_Stew”
},

^ the name shouldn’t be capitalized - “hearty_stew”

image
Unless this name is different than anywhere else in the mod, capitalisation cannot be a problem.

Although maybe you ment the name in the mod should match the name of the folder, in which case, I’d be interested if decapitalising your manifest name helps.

ok tried that still a no go. :frowning: decapitalization wasn’t the answer although a great catch. thanks.
Been looking this over all day with other food mods and i can’t seem to find anything missing.

Ah, my mistake, I must be remembering something wrong or old information.

Getting a game with a cook so I can test it further :slight_smile:

thanks so much. It is so weird. the mashed potato one worked fine. This one won’t even show up.
anyways appreciate the help :slight_smile:

Curious, what crafting level did you make the mashed potatoes? Also 0?

level 3 for mashed potatos. need yaks milk to make them.

Oh… found something:

“ingredients”: [
{
“material”: “food_container”,
“count”: 1
},
{
“uri” : “cookmod:crops:potato_harvest”,
“count” : 1
},
{
“material” : “stockpile_cooking_ingredient food meat raw cooking_ingredient”,
“count” : 1
},
],

You have an extra comma breaking your recipe json, after the last ingrediant

{
“craftable_recipes”: {
'food": {
“ordinal”: 2,
“name”: “i18n(hearty_stew:jobs.cook.recipes.food_name)”,
“recipes”: {
“hearty_stew”: {
“recipe”: “file(hearty_stew_recipe.json)”
}
}
}
}

'food" should be “food”, and you’re missing a closing bracket

{
“jobs”: {
“cook”: {
“recipes” : {
“hearty_stew_recipe”: {
“description”: “Hearty, and satisfying. A great meal.”,
“recipe_name”: “Hearty Meat Stew”,
“flavor”: “Taters, Veggies and Meat. Oh My!”
},
}
}
},
“food”: {
“hearty_stew”: {
“hearty_stew”: {
“display_name”: “Hearty Stew”,
“description”: “Warm and filling”
},
“hearty_stew_serving”: {
“display_name”: “Bowl of Hearty Meat Stew”
}
}
}
}

Shouldn’t have the comma after the hearty_stew_recipe entry


But still not getting the recipe, so will keep looking/testing
Re-testing; my json edits didn’t save


I’ll admit that I didn’t even notice these when reading the json files; I just thought to stick them into https://jsonformatter.curiousconcept.com/ which I use to check my own.

2 Likes

new to .json but usually a quick learner :slight_smile: glad for the info I bookmarked it. :slight_smile:

1 Like

ok used the validator on all the .json files. found a few errors and fixed them all. new version is uptop but still not working.

No worries there; I’ve been doing this for a little while now and still make those mistakes all the time - hence the link. Hope it helps some! :slight_smile:

I am not finding anything else that really explains it. I thought it might be the mixins, as I’m used to seeing it as

“stonehearth/jobs/cook/recipes/recipes.json” : "file(jobs/cook/recipes/recipes.json)“
not
"hearty_stew/jobs/cook/recipes/recipes.json”: “file(jobs/cook/recipes/recipes.json)”

but even that change doesn’t seem to be doing anything.

I also tried removing the level requirement, as the newer recipes within stonehearth’s files seem to not have the listing if it isn’t unlocked by level, but…still nothing. I’m not sure what else we’re overlooking.

You said your mashed potato one works; would you mind sharing that one so I can try comparing/contrasting, perhaps?

In the recipe, you’ve got:

		{
		"uri": "cookmod:crops:potato_harvest",
		"count": 1
	},

Being the game doesn’t have a load order built in, can one mod call on another mod’s content? If it can’t that’d be why it doesn’t work. If it can, then I’d need to know what mod specifically it’s trying to pull from in order to test it. If the “cook mod” is the one I’m thinking of, then it’s partially broken already.


I also just noticed a bad call reference. In hearty_stew.json, you’ve got:

   "entity_data": {
  "stonehearth:food_container": {
     "effect": "fiddle",
     "food": "hearty_stew:cooking:hearty_stew_serving",
     "stacks_per_serving": 1
  },

Yet I’m not seeing cooking:hearty_stew_serving in your manifest anywhere.

	"aliases": {
	"food:hearty_stew": "file(entities/food/hearty_stew/hearty_stew)",
	"food:hearty_stew:hearty_stew_serving": "file(entities/food/hearty_stew/hearty_stew_serving)"
},

May just be a bad call.

1 Like

the mashed potatoes I added to the cookmod but haven’t updated that one yet. I am building a couple taters recipes. I couldn’t get hearty stew to work in cook mod so thought I’d try to crack it on it’s own.

we call from the stonehearth main smod file to get mods working so can’t see why it wouldn’t work. although you may be right on that one. I added a fixed version of cookmod to the unka beans helping hands thread. it removes the thirst and gives the food appeal.

going to fix the manifest now and hope that helps. Thanks for jumping in.

Unka Bean

1 Like

Okay, so, I extracted all the files from the heart_stew mod and added them directly to the cookmod, and the recipe seems to work. So I’m not sure why the independent mod isn’t; that suggests it is going wrong with the mixintos somewhere.

Also, to address this;

This can be done; check out Yang & Co’s mods - particularly, the Essentials adds metal gears, which the Decorations calls in the Wall Clock recipe. Neither mod directly mixintos the other, either, as far as I can see.

1 Like

I can confirm that there are no mixins between mods needed to make this work. Calling upon another mod using the right uri works.

Do note that if the other mod would not be installed there will be errors since it will call upon an non excisiting uri.

okay we gots it working! soon as I can find out what I need to make my own models… or have some generous soul donate some :wink: What’s a good free .qb editor. for things like food and furniture?

and a BIG THANK YOU for helping me with this!

Unka Bean

1 Like

Check my post on the thread above :arrow_up: :blush:
That thread contains many confusions on my part… so, yeah *embarassed

2 Likes

Gots a bunch of steam cards for my birthday. So got qubicle. Now onto the tutorials. I have 3 new recipes so far but need to find out why I am getting a blank .png file when rendering. BTW thanks for all the helpful info guys :slight_smile:

Unka Bean

1 Like

You have to place the object how you want it to look in the square. Also change the size of the square to 300 x 300 to match Stonehearth. I did this same thing the first time I used it as well.

2 Likes