illuna/init.lua
2017-05-26 20:15:55 +02:00

47 lines
1.5 KiB
Lua

illuna = {}
dofile(minetest.get_modpath("illuna").."/nodes.lua")
dofile(minetest.get_modpath("illuna").."/crafting.lua")
dofile(minetest.get_modpath("illuna").."/commands.lua")
dofile(minetest.get_modpath("illuna").."/register.lua")
dofile(minetest.get_modpath("illuna").."/aliases.lua")
dofile(minetest.get_modpath("illuna").."/craftitems.lua")
dofile(minetest.get_modpath("illuna").."/shop.lua")
dofile(minetest.get_modpath("illuna").."/stairs.lua")
dofile(minetest.get_modpath("illuna").."/hotstone.lua")
if minetest.get_modpath("moreblocks") then
dofile(minetest.get_modpath("illuna").."/moreblocks.lua")
end
if not minetest.get_modpath("ethereal") then
dofile(minetest.get_modpath("illuna").."/water.lua")
end
--[[
minetest.register_on_joinplayer(function(player)
--skinname = player:get_player_name()
local customskin=player:get_player_name()..".png"
--local io.open(minetest.get_modpath("illuna").."/textures/"..player:get_player_name()..".png","r"
--if customskin~=nil
-- then
-- io.close(customskin)
player:set_properties({
visual = "mesh",
mesh = "character.b3d",
visual_size = {x=1, y=1},
textures = {"singleplayer.png"},
})
core.chat_send_all(customskin)
--return ""
-- else
-- core.chat_send_all("found nothing :(, anyway...")
end
player:set_properties({
visual = "mesh",
textures = {texture..".png"},
visual_size = {x=1, y=1},
})
else
return "meh.."
end
end)
]]