Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
illuna
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Illuna-Minetest
illuna
Commits
5cc86cf4
Commit
5cc86cf4
authored
7 years ago
by
Milan
Browse files
Options
Downloads
Patches
Plain Diff
add illuna:stonebrick to technic cnc nodes
parent
0b51b69d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
init.lua
+3
-29
3 additions, 29 deletions
init.lua
technic.lua
+4
-0
4 additions, 0 deletions
technic.lua
with
7 additions
and
29 deletions
init.lua
+
3
−
29
View file @
5cc86cf4
...
...
@@ -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
This diff is collapsed.
Click to expand it.
technic.lua
0 → 100644
+
4
−
0
View file @
5cc86cf4
technic
.
cnc
.
register_all
(
"illuna:stonebrick"
,
{
cracky
=
3
},
{
"default_stone_brick.png"
},
"Stonebrick"
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment