Jump to content

Recommended Posts

Posted (edited)

In short I am trying to create High Fertility Soil (HFS) from mixing Medium Fertility Soil (MFS) with Potash (PA) in the crafting grid. In game you can create it by applying PA to already tilled MSF, but you cannot dig up tilled ground. To solve this it seems fair that you can mix in your grid, after all it's the same process with the same ingredients. If it becomes OP I can amend it to require more resources, but for now I just want to get it working.

However, the game will not resolve the soil block, despite me using the correct game code reference. I have tried playing around with the "game:" id's to see if it's something I was doing wrong, and doing so created an error in the server log. So I believe I am using the correct "game:" id's, otherwise it would error.

Untitled-1.thumb.png.07a138c2eedce1e0d20350351a29bdce.png

There is a code block in the spoiler if you wish to fix an error in the JSON..

Spoiler
	{	
		ingredientPattern: "MP",
		ingredients: {
			"M": { type: "item", code: "game:soil-medium-*", name: "Medium Fertility Soil" },
			"P": { type: "item", code: "game:potash", name: "Potash" }
		},
		width: 2,
		height: 1,
		recipeGroup: 1,
		shapeless: true,
		output: { type: "item", code: "game:soil-compost-none", quantity: 1	}
	}

 

Just for reference, I have a very (very) similar mod that uses an axe on boards to create sticks. That works perfectly, so I'm at a bit of a loss as to why this isn't working.

It could be something mind numbingly obvious I've missed, so any hints would be welcome.

Thanks in advance.

Edited by Broccoli Clock
Posted

Hello, hello.

1 hour ago, Broccoli Clock said:

It could be something mind numbingly obvious I've missed, so any hints would be welcome.

Both soil types are blocks, not items.

  • Thanks 1
  • Broccoli Clock changed the title to Unable to output soil using a simple JSON content mod. [RESOLVED]
×
×
  • 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.