Lucas Alexander Posted November 20, 2024 Report Posted November 20, 2024 I'm very new to both vintage story modding and modding in general, but for a first mod, I wanted to make leaves and ice collectible under certain circumstances so you can use them as decorative blocks. However, I'm having trouble getting leaves (I haven't started on ice yet) to drop themselves when broken by the right tool. This is the patch I've made so far: [ { file: "game:blocktypes/plant/leaves/normal", op: "add", path: "/drops/-", value: { type: "item", code: "game:leaves-{wood}", quantity: { avg: 1 }, tool: "knife" } } ] When I replace leaves with treeseed, it actually works correctly, but for the life of me and I can't figure out how to make leaves themselves actually drop. Can anyone help? Thanks.
xXx_Ape_xXx Posted November 20, 2024 Report Posted November 20, 2024 Hi and welcome to the game and forums! Try replacing "game:leaves-{wood}" with "game:leaves-placed-{wood}"
Lucas Alexander Posted November 20, 2024 Author Report Posted November 20, 2024 Thanks! That was part of it, although I also finally noticed that I need to use type: "block", not type: "item". Either way, it's finally working now! 1
Recommended Posts