How do I override an item group instead of adding new items to it?
There was a post from last year but with no solution.
Got it done after 9 hours in the most tedious way.
My goal was to change all ammo in the game to spawn in a random amount instead of a fixed number.
So I used “copy-from” to give every ammunition a different id with the same properties. (54 JSON file here)
And then add their uncraft.json also. (another 54 JSON file)
Created an “ITEM_BLACKLIST”, listed all the ammunition with the old id within it.
Copied and pasted the ammo.json from data/itemgroup, retyped every spawn with the new id and charge-min/max.
N I C E, one OCD fixed
1 Like