1
0
mirror of https://github.com/D00Med/scifi_nodes.git synced 2025-08-23 01:00:26 +02:00

truchet tiles

This commit is contained in:
BuckarooBanzay
2025-08-18 14:46:45 +02:00
parent 2eb5841472
commit 3a7ca33b1d
3 changed files with 14 additions and 0 deletions

13
tiles.lua Normal file
View 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