Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added dripping to lava and water #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Added dripping to lava and water #2

wants to merge 1 commit into from

Conversation

Avamander
Copy link
Member

No description provided.

end

if passable(minetest.get_node({x=position.x, y=position.y -1, z=position.z}).name) then
minetest.add_entity({x=position.x+math.random(0.05, 0.95), z=position.z+math.random(0.05, 0.95), y=position.y-math.random(0.2, 0.8)}, name) -- vary the spawn location a bit
Copy link
Member

@PureTryOut PureTryOut Jun 14, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please keep it easy to read by putting some spaces in.

minetest.add_entity({x = position.x + math.random(0.05, 0.95), z = position.z + math.random(0.05, 0.95), y = position.y - math.random(0.2, 0.8)}, name) -- vary the spawn location a bit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants