Mods from Tuhalu

I’ve been working on adding a marble resource into the mod so my marble columns can be made with actual marble. I have been using @phector2004’s Tutorial for adding mining resources and also comparing against his Lightsaber Mod with the included crystal ore.

I’ve gotten marble dropping from regular stone no worries, but I’ve come across two issues in the implementation of ore veins.


Firstly, my implementation has an error in it. The code looks good to me in pretty much every way, so I probably need some fresh eyes to spot the error for me. Halp.

Current progress: Here

Secondly, I noticed that while phector2004’s mod has crystal ore veins in it, you can’t click on the blocks of them like you can with the radiant implemented ore veins. Edit: Turns out the highlighting is hardcoded in stonehearth/services/client/terrain_highlight/terrain_highlight_service.luac. So until Radiant exposes the list of terrain items to be highlighted in a json file, I’ll leave it alone.

3 Likes