add illuna:stonebrick to technic cnc nodes

This commit is contained in:
Milan* 2017-06-29 13:03:17 +02:00
parent 0b51b69d1b
commit 5cc86cf43c
2 changed files with 7 additions and 29 deletions

View File

@ -15,32 +15,6 @@ end
if not minetest.get_modpath("ethereal") then if not minetest.get_modpath("ethereal") then
dofile(minetest.get_modpath("illuna").."/water.lua") dofile(minetest.get_modpath("illuna").."/water.lua")
end end
--[[ if minetest.get_modpath("technic") then
minetest.register_on_joinplayer(function(player) dofile(minetest.get_modpath("illuna").."/technic.lua")
--skinname = player:get_player_name() end
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)
]]

4
technic.lua Normal file
View File

@ -0,0 +1,4 @@
technic.cnc.register_all("illuna:stonebrick",
{cracky=3},
{"default_stone_brick.png"},
"Stonebrick")