mirror of
https://github.com/D00Med/scifi_nodes.git
synced 2025-08-19 23:30:31 +02:00
Compare commits
1 Commits
master
...
truchet-ti
Author | SHA1 | Date | |
---|---|---|---|
3a7ca33b1d |
1
init.lua
1
init.lua
@ -35,6 +35,7 @@ dofile(MP.."/octagon_panes.lua")
|
|||||||
dofile(MP.."/octagon_glass.lua")
|
dofile(MP.."/octagon_glass.lua")
|
||||||
dofile(MP.."/forcefield.lua")
|
dofile(MP.."/forcefield.lua")
|
||||||
dofile(MP.."/crafts.lua")
|
dofile(MP.."/crafts.lua")
|
||||||
|
dofile(MP.."/tiles.lua")
|
||||||
|
|
||||||
if minetest.get_modpath("letters") then
|
if minetest.get_modpath("letters") then
|
||||||
-- register letter nodes
|
-- register letter nodes
|
||||||
|
BIN
textures/scifi_nodes_truchet_tile.png
Normal file
BIN
textures/scifi_nodes_truchet_tile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.8 KiB |
13
tiles.lua
Normal file
13
tiles.lua
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
for _, color in ipairs({"purple", "greenmetal", "bluemetal", "grey"}) do
|
||||||
|
minetest.register_node("scifi_nodes:" .. color .. "_tile", {
|
||||||
|
description = color .. " tile",
|
||||||
|
groups = {
|
||||||
|
cracky = 1
|
||||||
|
},
|
||||||
|
is_ground_content = false,
|
||||||
|
sounds = scifi_nodes.node_sound_metal_defaults(),
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
use_texture_alpha = "blend",
|
||||||
|
tiles = {"scifi_nodes_" .. color .. ".png^scifi_nodes_truchet_tile.png"}
|
||||||
|
})
|
||||||
|
end
|
Reference in New Issue
Block a user