thund3rmonk3y1 Posted July 28, 2025 Report Posted July 28, 2025 Was doing some digging in the source code looking for anything that would allow me to do things like add player inventory slots, make new crafting stations that replace the player crafting grid, and possibly remove (or reduce) the crafting grid from the player inventory itself. I have only found code related to how all these things function, but nothing that would seem to allow me to make these changes. Any knowledge on this topic will be greatly appreciated.
Spear and Fang Posted July 29, 2025 Report Posted July 29, 2025 most of this would require a fairly deep dive to understand (not something I've ever looked into), and surely some monkey patching (aka harmony) to implement. https://wiki.vintagestory.at/Modding:Monkey_patching On the crafting station front, you could look and see how this modder did it. There's a "Source" button at the top of the page. https://mods.vintagestory.at/craftingtable
thund3rmonk3y1 Posted July 29, 2025 Author Report Posted July 29, 2025 Awesome thanks. If only I had typed "crafting table" instead of "craft" or "crafting" lol. On the monkey patching page they say that this is a very unstable way to do it. Do you know if it would be possible to make a mod that disables the current UI instead, and replace it with something custom? Or is this what harmony would be doing anyways?
Spear and Fang Posted July 29, 2025 Report Posted July 29, 2025 (edited) Harmony is in fact stable, and the only good way to manipulate that UI Many mods use harmony for all kinds of things. Edited July 29, 2025 by Spear and Fang
thund3rmonk3y1 Posted July 29, 2025 Author Report Posted July 29, 2025 Alright I'll look into it some more, thank you
Recommended Posts