Beetle
Friendship Rank 0
Working on the Drosia NPC mod!
Posts: 8
|
Post by Beetle on Oct 29, 2023 18:19:35 GMT -5
Hello! I'm making a self indulgent modpack for cattails: wildwood. I made an account just to ask this question so please excuse my lack of everything. I do like it here though so I will definitely be sticking around. I was just wondering how to mod in herbs? I did check the doc but I must have misunderstood something, as trying to add a new herb broke all herbs from spawning, I do not know how this happened or why? I just copied the snake lily files and altered them and the sprites completely. What did I do wrong? This is only my third time modding a game so I'm not too educated. Thank you!
|
|
godcat
Friendship Rank 1
Posts: 10
|
Post by godcat on Oct 30, 2023 0:42:52 GMT -5
There are a couple of places where you have to put information about your herb. 1. In the herbs file to specify whether it's a bush herb, night herb, ranked herb, season herb, etc. 2. In the items folder you need to have a file, or maybe a couple files if it's ranked. Make sure the file name is all lowercase and formatted either (herb)item.meta or (herb)(rank)item.meta. 2.5 Inside of this file, also make sure that the names capitalization is correct, and you have [Poor] or whatever ranking if it's ranked. 3. In the items/sprites folder, you need the sprites of the herb or multiple sprites if the herb is ranked. 4. In the items/lang/english folder you need a file named similarly to #2 but with .lang instead of .meta (ex. (herb)item.lang or (herb)(rank)item.lang) 4.5. Inside of this file, make sure the lang uid is the same exact capitalization and format as what it was for #2.5
Make sure you have all that and then lmk if you still have a problem
|
|
Beetle
Friendship Rank 0
Working on the Drosia NPC mod!
Posts: 8
|
Post by Beetle on Nov 5, 2023 14:56:10 GMT -5
There are a couple of places where you have to put information about your herb. 1. In the herbs file to specify whether it's a bush herb, night herb, ranked herb, season herb, etc. 2. In the items folder you need to have a file, or maybe a couple files if it's ranked. Make sure the file name is all lowercase and formatted either (herb)item.meta or (herb)(rank)item.meta. 2.5 Inside of this file, also make sure that the names capitalization is correct, and you have [Poor] or whatever ranking if it's ranked. 3. In the items/sprites folder, you need the sprites of the herb or multiple sprites if the herb is ranked. 4. In the items/lang/english folder you need a file named similarly to #2 but with .lang instead of .meta (ex. (herb)item.lang or (herb)(rank)item.lang) 4.5. Inside of this file, make sure the lang uid is the same exact capitalization and format as what it was for #2.5 Make sure you have all that and then lmk if you still have a problem Yeah, I followed these instructions exactly and I'm getting this, but i'm not sure what's wrong
|
|
|
Post by Skrillning on Nov 5, 2023 18:50:41 GMT -5
Can you upload your modded files to Google Drive? I have a JSON debugger that is pretty helpful in fixing that specific error.
|
|