I've made an update to the mod using IEF (Item Extension Framework), uploaded it to my github. If you want you can use that 6135's github. Now uploaded to nexus! (with permissions from Dojando) Various Coal Ores Updated
I've tested only the first few levels and seems to work.
Town mine: coal nodes keep showing up in all the three biomes 👍 the quarry levels dont have coal nodes, but that is not a problem after level 80 obsidian nodes start showing up too much, that is a problem in my opinion after level 110 too much prismatic shard nodes starts showing up, they should be super hard to find, especially when we only have town mine unlocked, so that is a problem
skull cavern/desert mine: I went down 40 levels, didn't see any coal node
vulcan mine and quarry mine didn't see any node, but not a problem they don't need coal
Quarry spawns are an unknown to me at this time. Issue is probably with the Item Extension framework. Either way provide me with the https://smapi.io/log and i'll take a look at it.
I've set obsidian spawns to half of what they were on floors 80+ and i've set prismatic spawns to 10% of what they were. Please check. I dont have a test world that can go that far yet.
EDIT: I Miss configured the skull cavern spawns I will reply when fixed.
The skull cavern have now coal nodes 😀 and also obsidian, mud and prismatic (in my opinion, too many of them)
the town mine is great, the obsidian amount in the lava levels is good now and coal nodes still spawn in all levels but I'd say the prismatic node is still too much, after 110 there's around one per floor
the quarry floors in the town mine are kinda weird cause if it's 40 - 80, the coal node is blue, even that level being all gray, same for quarry levels in 80 - 120, red coal in gray floor
the quarry mine have now coal, mud, obsidian and prismatic
the log: https://smapi.io/log/f2672898ea7a46719c97617befa8f174
If u prefer to test for yourself, I've uploaded a save in this repository https://github.com/gsgabs/Brazil-Flag don't mind the index and the readme but the mod it's good to play now
Not as long as "Custom Ore Nodes" is not getting updated as well. And the creator of that mod is probably busy with his huge mod library. So not any time soon unfortunately :(
If I have time I might have a look how to create this withouth the Custom Ore Nodes mod but I dont want to give you any hope. I am not a programmer :(
Thanks, I will have a look into this. But I am not a programmer, CON had a very nice documentation about how to do stuff. I will see how I will get along with the new framework! But its gonna be a while until I get into this since I will be away for the next 2 months
Question. How can we use this mod when one of Json assets requirements is no longer working? Expanded Preconditions Utility is outdated. The fix someone did in the posts is also gone.
This works like a charm for me. I think it is a really nice balance too. I don't feel like I'm getting too much ore, like it's OP. Still working, and I have a LOT of hours in the mines with this mod. Well done, thanks for making!
I'm also contemplating the one with prismatic shards etc. But I like how hard it can be to find those.
Yes, I know farm type manager well. It was the first thing it came to my mind. However I do not know how the Custom Ore Nodes mod adds the Ores into the game therefore I can not use them for FTM yet. But I have contacted the mod author and hope that I will get an answer soon since i want to use it to spawn the coal ore on the farm as well.
Thank you very much! :) And I agree! In every other game you can find coal in mines / underneath the earth. And in the mines there are minę arts filled with coal bur somehow no coal to be mined? So I wanted to change that :D
Just so you know, I have contacted the Custom Ore nodes author but did not get a response yet :( I will try to figure it out on my own but I am not sure if I can do it.
I officially give up on that now unfortunately. I still have no clue how to make this possible. I have asked some friends who study some IT stuff but they could not help me either unfortunately :/
This mod is not working with json and I get the following messages in red: [Custom Ore Nodes] exception Newtonsoft.Json.JsonReaderException: Can't parse JSON file at C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods\[CON] Various Coal Ores\custom_ore_nodes.json. Technical details: Unexpected end when deserializing array. Path 'nodes[3]', line 231, position 5. at StardewModdingAPI.Toolkit.Serialization.JsonHelper.ReadJsonFileIfExists[TModel](String fullPath, TModel& result) in E:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Serialization\JsonHelper.cs:line 86 at StardewModdingAPI.Framework.ContentPack.ReadJsonFile[TModel](String path) in E:\source\_Stardew\SMAPI\src\SMAPI\Framework\ContentPack.cs:line 76 at CustomOreNodes.ModEntry.ReloadOreData(Boolean first) in C:\Users\poiqwe\source\repos\StardewValleyMods\CustomOreNodes\Methods.cs:line 117 [Custom Ore Nodes] Error processing custom_ore_nodes.json in content pack Various Coal nodes in the mines Newtonsoft.Json.JsonReaderException: Can't parse JSON file at C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods\[CON] Various Coal Ores\custom_ore_nodes.json. This doesn't seem to be valid JSON. Technical details: Unexpected character encountered while parsing value: {. Path 'nodes', line 5, position 5. at StardewModdingAPI.Toolkit.Serialization.JsonHelper.ReadJsonFileIfExists[TModel](String fullPath, TModel& result) in E:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Serialization\JsonHelper.cs:line 86 at StardewModdingAPI.Framework.ContentPack.ReadJsonFile[TModel](String path) in E:\source\_Stardew\SMAPI\src\SMAPI\Framework\ContentPack.cs:line 76 at CustomOreNodes.ModEntry.ReloadOreData(Boolean first) in C:\Users\poiqwe\source\repos\StardewValleyMods\CustomOreNodes\Methods.cs:line 122
I have download and loaded all files necessary. I see that it seems to think this is not a valid json file.
I had the same error message along with no coal nodes spawning. I fixed it today by making sure required mods were updated, and then going into the custom_ore_nodes.json file for the mod and adding a square and curly bracket to the end, so that it looks like: ... ?"exp": 12, ?"texture": null ?} ] } I'm not sure if thats a mod bug or a Vortex installer bug though
I didn't use vortex installer to add it. I just downloaded and unzipped to my mod directory. So my guess is the mod. Thanks for adding your solution. I'll give it a shot.
I would say it's a human bug. Looks like I messed up the json again and forgot a bracket somewhere. Thanks @hatter0 for the fix you posted. I will fix it in the next version as soon as I get back to my PC (probably this evening)
49 comments
If you want you can use that 6135's github.Now uploaded to nexus! (with permissions from Dojando) Various Coal Ores UpdatedI've tested only the first few levels and seems to work.
Boa sorte. Dá me feedback quando tiveres.
coal nodes keep showing up in all the three biomes 👍
the quarry levels dont have coal nodes, but that is not a problem
after level 80 obsidian nodes start showing up too much, that is a problem in my opinion
after level 110 too much prismatic shard nodes starts showing up, they should be super hard to find, especially when we only have town mine unlocked, so that is a problem
skull cavern/desert mine:
I went down 40 levels, didn't see any coal node
vulcan mine and quarry mine
didn't see any node, but not a problem they don't need coal
I've set obsidian spawns to half of what they were on floors 80+ and i've set prismatic spawns to 10% of what they were. Please check. I dont have a test world that can go that far yet.
EDIT: I Miss configured the skull cavern spawns I will reply when fixed.
and also obsidian, mud and prismatic (in my opinion, too many of them)
the town mine is great, the obsidian amount in the lava levels is good now and coal nodes still spawn in all levels
but I'd say the prismatic node is still too much, after 110 there's around one per floor
the quarry floors in the town mine are kinda weird cause if it's 40 - 80, the coal node is blue, even that level being all gray, same for quarry levels in 80 - 120, red coal in gray floor
the quarry mine have now coal, mud, obsidian and prismatic
the log: https://smapi.io/log/f2672898ea7a46719c97617befa8f174
don't mind the index and the readme
but the mod it's good to play now
If I have time I might have a look how to create this withouth the Custom Ore Nodes mod but I dont want to give you any hope. I am not a programmer :(
But I am sure there will be alternatives eventually ♥
I'm also contemplating the one with prismatic shards etc. But I like how hard it can be to find those.
And I agree! In every other game you can find coal in mines / underneath the earth. And in the mines there are minę arts filled with coal bur somehow no coal to be mined? So I wanted to change that :D
I will try to figure it out on my own but I am not sure if I can do it.
Technical details: Unexpected end when deserializing array. Path 'nodes[3]', line 231, position 5.
at StardewModdingAPI.Toolkit.Serialization.JsonHelper.ReadJsonFileIfExists[TModel](String fullPath, TModel& result) in E:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Serialization\JsonHelper.cs:line 86
at StardewModdingAPI.Framework.ContentPack.ReadJsonFile[TModel](String path) in E:\source\_Stardew\SMAPI\src\SMAPI\Framework\ContentPack.cs:line 76
at CustomOreNodes.ModEntry.ReloadOreData(Boolean first) in C:\Users\poiqwe\source\repos\StardewValleyMods\CustomOreNodes\Methods.cs:line 117
[Custom Ore Nodes] Error processing custom_ore_nodes.json in content pack Various Coal nodes in the mines Newtonsoft.Json.JsonReaderException: Can't parse JSON file at C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods\[CON] Various Coal Ores\custom_ore_nodes.json. This doesn't seem to be valid JSON.
Technical details: Unexpected character encountered while parsing value: {. Path 'nodes', line 5, position 5.
at StardewModdingAPI.Toolkit.Serialization.JsonHelper.ReadJsonFileIfExists[TModel](String fullPath, TModel& result) in E:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Serialization\JsonHelper.cs:line 86
at StardewModdingAPI.Framework.ContentPack.ReadJsonFile[TModel](String path) in E:\source\_Stardew\SMAPI\src\SMAPI\Framework\ContentPack.cs:line 76
at CustomOreNodes.ModEntry.ReloadOreData(Boolean first) in C:\Users\poiqwe\source\repos\StardewValleyMods\CustomOreNodes\Methods.cs:line 122
I have download and loaded all files necessary. I see that it seems to think this is not a valid json file.
...
?"exp": 12,
?"texture": null
?}
]
}
I'm not sure if thats a mod bug or a Vortex installer bug though
If you have any suggestions, feel free to tell me!