A simple question but one I can't seem to find an answer for. Is there a better way to add an item into an existing treasure pool with out replacing the entire pool list? I'm wanting to add a new weapon category to the weapon treasure pool but I don't want to interfere with any mods that may wish to do the same. By the way I'm modding for nightly/1.0
Use an "add" patch file. Example: Code: [ { "op": "add", "path": "/mushroomHarvest/0/1/fill/-", "value": {"item": ["mushroomseed", 1]} } ] I can't customize it to suit your needs. Change the path yourself to match your treasurepool. I copied this from my harvest.treasurepool.patch from More Farming.
ah so that does work.. all the auto-patchers I was looking at seemed to want to just replace the entire pool section rather than adding to it witch is why I was a bit confused. Code: [ {"op": "add","path": "/commonMelee/0/1/pool/-","value": {"weight": 1,"item": "commonshortspear"}} ] Seems to do the trick for what I was wanting, thank you!