Page 1 of 1

How do you specify a liquid in lua?

PostPosted: Mon Jul 23, 2012 04:44
by mrtux
Hello guys,
I'm new to making mods, and I want to make one for my private server that adds an extra liquid. I would like some example code to show me how it's done. I couldn't find the water lua code thats why.'

Thanks

PostPosted: Mon Jul 23, 2012 06:40
by PilzAdam
Look at the default mod in games/minetest_game/mods/default/init.lua and copy the code of water or lava.

PostPosted: Tue Jul 24, 2012 20:53
by mrtux
Thanks for the help. :)