add illuna:stonebrick to technic cnc nodes
This commit is contained in:
parent
0b51b69d1b
commit
5cc86cf43c
32
init.lua
32
init.lua
@ -15,32 +15,6 @@ 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)
|
||||
]]
|
||||
if minetest.get_modpath("technic") then
|
||||
dofile(minetest.get_modpath("illuna").."/technic.lua")
|
||||
end
|
||||
|
4
technic.lua
Normal file
4
technic.lua
Normal file
@ -0,0 +1,4 @@
|
||||
technic.cnc.register_all("illuna:stonebrick",
|
||||
{cracky=3},
|
||||
{"default_stone_brick.png"},
|
||||
"Stonebrick")
|
Loading…
x
Reference in New Issue
Block a user