How do I overwrite a string from locales/en.json?

Indeed there is no way to do a mixinto in to a js or html.

To don’t interfere with other mods when overwriting the js or html you could do a submod and do a hotload, the kind of stuff that works on selecting a kingdom but I don’t know if that can be made so it works on a selected biome. See raya’s childeren ui mod for more info.

But even If you could made work with a hotload, you still have to check every new build if the js/html/less hasn’t changed.

1 Like

I have managed this for Candyland (with some assistance from @RepeatPan).
If someone needs help with that, ping me.

From what I read in the code it would not be hard to hotload based on biome instead of kingdom.

Thank you all for the help, having to update the .js when it gets changed in a new build is not a problem for me, should be easy enough to fix and the files I’m modding are rarely touched anyway :slight_smile:

2 Likes