I’ve recently been working on a collection of tools to aid avid modders during their creation process and they’re not too far from release. I’m starting work on the aesthetic nature of the tools now the basic functionality is there and I was wondering, would you prefer to have these tools accessible externally as an application or internally in the game client? (Like @chessmaster42’s recent task manager mod: [MOD] Task Manager)
Note: I can make both versions available if there is demand for both…
A lot of the difficulty I find with creating item mods for the game is that the game only reads the mods once. When a world is created.
Are you able to write a tool for use in game that overcomes that? Most other ingame needs for mod testing seem to be covered by the debugging tools mod provided by Radiant, the console commands and the debugging hotkeys.
Doubt it. Unless it changed, all JSON data is cached in lua and C, so it’s semi-impossible to reload a file, not to mention that you can’t really read other files nor are the components accessible enough already to do everything an entity definition/manifest can do.
A simple check can be used to prevent any unnecessary damage to existing worlds, the mod manifest.json even specifies version, doing a simple check against this, although a primitive check would at least be a start.
"name" : "Microworld",
"version" : 1
Refreshing? Refreshing the current world/save or having to create a new world? I’m not sure, but I may have misunderstood your original point.
What I took from your original statement was that; every time you need to test any changes made to a mod you have to do so by creating a new world, as opposed to testing in a world previously generated prior to the changes, right?
Miniworld just creates a world from a script every time you start Stonehearth. I meant reload in the sense of reloading Stonehearth, not reloading a save.
I don’t know that the version tag in the manifest even does anything right now. The manifests in Stonehearth.smod and Radiant.smod are still tagged as version 1, which suggests to me they do not. If someone else knows otherwise, I’d love to hear about it.