Random drop from blocks (help please)
Lets say I want my block to drop from 1 to 4 of something, how do I do that?
FOSS gamedev and creative worlds
https://forums.minetest.org/
Gunlexify wrote:Lets say I want my block to drop from 1 to 4 of something, how do I do that?
PilzAdam wrote:https://github.com/PilzAdam/farming/blob/master/wheat.lua#L72
Here is how I handle the drops of wheat in my farming mod.