I have looked at this mod again. It needs some tweaks.
Bug 1: Players collide with the drips. This can be VERY annoying when walking through a dripping cave. You can easily check this by using fly mode and fly at a ceiling with drips. Or if you stand right below a falling drip.
Bug 2: I already mentioned the blackness issue.
I have figured out how to fix both bugs:
Bug 1: Add collide_with_objects=false to both object defintions
Bug 2: Use this line of code when adding entities:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.add_entity({x=pos.x + i, y=pos.y - 0.501, z=pos.z + i}, "drippingwater:drop_water")
The trick is to change the Y offset from -0.5 to -0.501. The player won't notice the different distance, but now the entity gets its proper color. :-)
PS: minetest.env:<whatever> is deprecated, please replace it with minetest.<whatever> whereever possible.