The way this mod works is extremely naive, it simply replaces the groups of a bunch of nodes in MTG to have dig_immediate and I assume all other groups used for e.g. crafting disappear.
I recommend that while looping through the items, copy the original groups using table.copy then modify that copy to have dig_immediate. Then you override the item with that copy of the groups.
If I have this mod enabled with mods like sleeping_mat or grass_string, the recipes for the provided items are cleared.
The way this mod works is extremely naive, it simply replaces the groups of a bunch of nodes in MTG to have
dig_immediate
and I assume all other groups used for e.g. crafting disappear.I recommend that while looping through the items, copy the original groups using
table.copy
then modify that copy to havedig_immediate
. Then you override the item with that copy of the groups.