Jump to content

Recommended Posts

Posted

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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.