Reduced my nearly 2000 line mod into a 500 line mod by taking away the need to specify every single detail for every single tool. Just use instant_ores to make something close to what you want, then use minetest's builtin override tool, minetest.override_item to get it to exactly what you want.
At current time of writing it could have better integration with other mods, but the code is so simple I'll probabbly just send a PR and fix that right away. (EDIT: mod seems to be unmaintained according to the forum...) (EDIT 2: See the forum for more info, but there's a very WIP version with a bunch of fixes availabile on someone's github that includes some of my fixes)
Reduced my nearly 2000 line mod into a 500 line mod by taking away the need to specify every single detail for every single tool. Just use instant_ores to make something close to what you want, then use minetest's builtin override tool,
minetest.override_item
to get it to exactly what you want.At current time of writing it could have better integration with other mods, but the code is so simple I'll probabbly just send a PR and fix that right away. (EDIT: mod seems to be unmaintained according to the forum...) (EDIT 2: See the forum for more info, but there's a very WIP version with a bunch of fixes availabile on someone's github that includes some of my fixes)