AgriCraft

AgriCraft

30M Downloads

Possible issue with seed items

heatherhaks opened this issue · 16 comments

commented

I've been unable to get someone else to confirm it's an issue and not user error on my part, but in trying to get a custom crop set up for Mystical Agriculture, I've run into an issue where I am unable to use the Inferior Inferium Seeds item and Agricraft instead creates a seed item itself. I suspect it has to do with the way Mystical Agriculture names its items, 'tier1_inferium_seeds', it has not just a number but also a second underscore. My guess is perhaps the second underscore is causing the issue?

Attached is a pastebin of my custom plant json, as well as a screenshot showing the seed item details in the game.

http://pastebin.com/YrSDYbSd

image

commented

Try clearing the seed name? I made beetroot work without adding a string to the seed name. ¯_(ツ)_/¯

This is what it looks like: http://pastebin.com/zj1JGUzj
Dunno if that will help.

commented

One last thing, what is your JSON file for it called?

commented

Tried that. It simply creates a blank-named auto-generated seed.

commented

it's called tone_plant.json just like it says in the pastebin

commented

huh. No idea then. Wait for a dev response, I guess.

Maybe your path is the issue? Where did you put it? The path needs to be relative to the json folder in the agricraft folder.

commented

It's nothing like that. The crop itself works, it's just that it doesn't use my specified seed item and instead uses an auto-generated seed. Other custom crops I have made do not have this issue.

commented

I doubt that it is the extra underscores. I'd have to look into it more in depth. It might have something to do with the item validation step.

commented

dunno then. just copy your other JSONs and edit that with the relevant files, but other than that I have no idea.

commented

What's printing out in the log files? The validator should be sending error messages to the log if something doesn't validate properly.

commented

Somehow I managed to get my attempt for the inferium seed to work, how is still the question.

commented

I'm just going to merge this with #838...

commented

This might be fixed in a11... will need testing.

commented

aso anyone know of a way to make it so it can drop a certain amount per plant?
because i changed min to 5 and max to 6 and when its 10/10/10 it still only drops 4

commented

@Ravin890 may i see the code for your inferium seed?

commented

its actually same as OP but i am using the resource folder as my path so "resource/plants/inferium_plant.json"

commented

so i actually got the tier 1-5 seeds working so far but soo far i cant find a way to get more items even when the items for each differnt json is like 1-2 then 2-3 then 3-4 then 4-5 and 5-6 is there another way of geting more or am i just derping