What is the edibility value chart for objects?

pityachu

Greenhorn
I'm trying to make a mod in JSON assets that adds food objects to the game, but I don't understand edibility very well. How do I know what number indicates the amount of health?
 

Azurysu

Cowpoke
For edibility, you can use -300 to make it inedible, -299 to -1 to reduce health/energy (poisonous), and 0 will be edible but do nothing. All positive values add health/energy! Although the math is hella weird and is not really understandable. The official wiki (in the Modding:Objects section) has the maths necesary to calculate edibility.

The recipe tutorial from the stardewmodding wiki will help you a lot, although they reference an official wiki template for edibility that doesn't seem to exist anymore... sorry about that :(

You can check the official documentation for Content Patcher for more help with how to set up correctly the EditData part of your food objects in your content.json! What you need is on the "Edit a dictionary" part.

Hope it helps!
 

pityachu

Greenhorn
For edibility, you can use -300 to make it inedible, -299 to -1 to reduce health/energy (poisonous), and 0 will be edible but do nothing. All positive values add health/energy! Although the math is hella weird and is not really understandable. The official wiki (in the Modding:Objects section) has the maths necesary to calculate edibility.

The recipe tutorial from the stardewmodding wiki will help you a lot, although they reference an official wiki template for edibility that doesn't seem to exist anymore... sorry about that :(

You can check the official documentation for Content Patcher for more help with how to set up correctly the EditData part of your food objects in your content.json! What you need is on the "Edit a dictionary" part.

Hope it helps!
thank you so much!
 
Top