Voxelis/mods/ITEMS/vox_main/init.lua
2024-12-12 12:35:15 -08:00

45 lines
No EOL
1.7 KiB
Lua

---------------------------------------------------------------------------
-- Voxelis - Voxel survival sandbox for Luanti
-- Copyright (C) 2024 Mad Star Studio LLC
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 3 of the License, or
-- (at your option) any later version.
--
-- You should have received a copy of the GNU General Public License along
-- with this program; if not, see <http://www.gnu.org/licenses/>.
---------------------------------------------------------------------------
-- Load from minerals.lua
dofile(core.get_modpath("vox_main").."/minerals.lua")
-- Load from ores.lua
dofile(core.get_modpath("vox_main").."/ores.lua")
-- Load from gems.lua
dofile(core.get_modpath("vox_main").."/gems.lua")
-- Load from liquids.lua
dofile(core.get_modpath("vox_main").."/liquids.lua")
-- Load from ocean.lua
dofile(core.get_modpath("vox_main").."/ocean.lua")
-- Load from sky_island.lua
dofile(core.get_modpath("vox_main").."/sky_island.lua")
-- Load from mobdrops.lua
dofile(minetest.get_modpath("vox_main").."/mobdrops.lua")
-- Load from mats.lua
dofile(minetest.get_modpath("vox_main").."/mats.lua")
-- Glowing Moss
core.register_node("vox_main:glowing_moss", {
description = "Glowing Moss",
tiles = {"vox_glowing_moss.png"},
light_source = 8,
groups = {crumbly = 1}
})
core.register_alias("glowing_moss", "vox_main:glowing_moss")
-- ---------------------------- Dyeable Nodes -------------------------- --
-- List of dyeable things
local dyeable_blocks = {"sand", "terracotta", "marble", "cobblestone", "sandstone"}