illuna/init.lua

46 lines
1.5 KiB
Lua
Raw Normal View History

2016-08-25 15:13:32 +02:00
illuna = {}
dofile(minetest.get_modpath("illuna").."/nodes.lua")
dofile(minetest.get_modpath("illuna").."/crafting.lua")
2016-06-05 18:55:27 +02:00
dofile(minetest.get_modpath("illuna").."/commands.lua")
dofile(minetest.get_modpath("illuna").."/register.lua")
2016-08-02 18:15:52 +02:00
dofile(minetest.get_modpath("illuna").."/aliases.lua")
2016-10-03 13:32:13 +02:00
dofile(minetest.get_modpath("illuna").."/craftitems.lua")
2016-10-03 15:22:25 +02:00
dofile(minetest.get_modpath("illuna").."/shop.lua")
2017-01-11 22:17:47 +01:00
dofile(minetest.get_modpath("illuna").."/stairs.lua")
2016-08-11 14:32:06 +02:00
if minetest.get_modpath("moreblocks") then
dofile(minetest.get_modpath("illuna").."/moreblocks.lua")
end
if not minetest.get_modpath("ethereal") then
2017-01-11 22:17:47 +01:00
dofile(minetest.get_modpath("illuna").."/water.lua")
end
--[[
2017-01-11 22:17:47 +01:00
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...")
2017-01-11 22:55:47 +01:00
end
2017-01-11 22:17:47 +01:00
player:set_properties({
visual = "mesh",
textures = {texture..".png"},
visual_size = {x=1, y=1},
})
else
return "meh.."
end
2017-01-11 22:17:47 +01:00
end)
]]