minetest-mods / moreblocks

More Blocks
https://content.minetest.net/packages/Calinou/moreblocks/
zlib License
45 stars 67 forks source link

Add a raw_drop field to definition. #43

Closed Thomas--S closed 8 years ago

Thomas--S commented 8 years ago

This allows to use a fixed item to be dropped. (e.g. a seed)

Thomas--S commented 8 years ago

A more detailed explanation why this is needed: E.g. If you register all stairs/slabs/etc for default:cobble and you want it to always drop e.g. farming:wheat_seed. The current behaviour is that an shape specific string gets added to the "drop" field. If you set the new raw_drop option to true, this won't be the case.

If it's still unclear, what I want to do here, please ask.

Thomas--S commented 8 years ago

@sofar Can you please merge this?

sofar commented 8 years ago

I'm having trouble justifying this change.

For now, I'm negative on this.

Thomas--S commented 8 years ago

But then we would need to override over 20 nodes per registration, that's really a lot of unnecessary overhead. If you have a better suggestion, how to allow static drops, I am open to this, but we really need a solution. The static drops are needed for the relaunch of the streets mod.

Thomas--S commented 8 years ago

Replaced by #46