ffiopt_demo/init.lua

36 lines
1.2 KiB
Lua
Raw Normal View History

2019-04-16 07:29:32 -07:00
--[[
FFIopt Demo - A demo mod for FFIopt Minetest mod
2019-04-17 07:25:35 -07:00
(c) EvidenceBKidscode
2019-04-16 07:29:32 -07:00
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
2019-04-17 07:25:35 -07:00
by the Free Software Foundation, either version 3 of the License, or
2019-04-16 07:29:32 -07:00
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
2019-04-17 07:25:35 -07:00
You should have received a copy of the GNU Lesser General Public License
2019-04-16 07:29:32 -07:00
along with this program. If not, see <http://www.gnu.org/licenses/>.
--]]
ffiopt_demo = {}
ffiopt_demo.name = minetest.get_current_modname()
ffiopt_demo.path = minetest.get_modpath(ffiopt_demo.name)
ffiopt_demo.log = function(message)
minetest.chat_send_all(message)
minetest.log("action", "[ffiopt_demo] "..message)
end
-- A large area for voxelmanip demos
ffiopt_demo.minp = { x=-200, y=-200, z=-200 }
ffiopt_demo.maxp = { x=200, y=200, z=200 }
dofile(ffiopt_demo.path..'/emerge.lua')
dofile(ffiopt_demo.path..'/profile.lua')
dofile(ffiopt_demo.path..'/vmanipdemo.lua')
dofile(ffiopt_demo.path..'/noisedemo.lua')