I'll be streaming December 8th, mark your calendars today!
It's often a good idea to keep your code separated and organized for a wide spectrum of reasons. One of the biggest being readability and trouble-shooting. It's also makes things quite a bit easier if you are collaborating with other modders.

Example Code:
dofile(minetest.get_modpath('drinks')..'/drink_machines.lua')
dofile(minetest.get_modpath('drinks')..'/formspecs.lua')

Add new comment