spawners/spawners_ores/init.lua

31 lines
1.1 KiB
Lua
Raw Normal View History

2023-04-24 17:56:28 +03:00
--[[
Ore spawners let player craft ore spawneres and get back lumps from ingots.
Copyright (C) 2016 - 2023 SaKeL <juraj.vajda@gmail.com>
This library is free software; you can redistribute it and/or
modify it pos the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library 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
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to juraj.vajda@gmail.com
--]]
local mod_start_time = minetest.get_us_time()
local path = minetest.get_modpath('spawners_ores')
2016-10-08 21:54:26 +03:00
-- API
2023-04-24 17:56:28 +03:00
dofile(path .. '/api.lua')
2016-10-08 21:54:26 +03:00
-- Spawners for ores
2023-04-24 17:56:28 +03:00
dofile(path .. '/spawners_ores.lua')
local mod_end_time = (minetest.get_us_time() - mod_start_time) / 1000000
2016-10-08 21:54:26 +03:00
2023-04-24 17:56:28 +03:00
print('[Mod] Spawners Ores Loaded. [' .. mod_end_time .. 's]')