2018-08-27 21:25:56 +02:00
|
|
|
local modpath = minetest.get_modpath(minetest.get_current_modname())
|
|
|
|
|
2018-09-29 17:17:10 +02:00
|
|
|
-- Functions
|
|
|
|
dofile(modpath.."/functions.lua")
|
|
|
|
|
2018-08-27 21:25:56 +02:00
|
|
|
-- Custom Nodes
|
|
|
|
dofile(modpath.."/nodes.lua")
|
|
|
|
|
2018-09-29 18:03:30 +02:00
|
|
|
-- Custom fences
|
|
|
|
dofile(modpath.."/fences.lua")
|
|
|
|
|
2018-08-27 21:25:56 +02:00
|
|
|
-- Custom mapgen ore generation
|
|
|
|
dofile(modpath.."/mapgen.lua")
|
|
|
|
|
|
|
|
-- Custom Tools
|
|
|
|
dofile(modpath.."/tools.lua")
|
|
|
|
|
|
|
|
-- Custom Crafts
|
|
|
|
dofile(modpath.."/crafting.lua")
|
|
|
|
|
2018-09-16 15:56:59 +02:00
|
|
|
-- Overrides
|
|
|
|
dofile(modpath.."/overrides.lua")
|
2018-09-16 15:24:40 +02:00
|
|
|
|
2018-12-31 18:00:25 +01:00
|
|
|
-- Hotbar texture
|
|
|
|
minetest.register_on_joinplayer(
|
|
|
|
function(player)
|
|
|
|
player:hud_set_hotbar_image("hud_hotbar.png")
|
|
|
|
player:hud_set_hotbar_selected_image("hud_hotbar_selected.png")
|
|
|
|
end
|
|
|
|
)
|
|
|
|
|
2018-09-16 15:24:40 +02:00
|
|
|
minetest.log("action", "[nalc_default] loaded.")
|