diff --git a/compass_rose_decal_light.kra b/compass_rose_decal_light.kra index dfcf227..76ade0d 100644 Binary files a/compass_rose_decal_light.kra and b/compass_rose_decal_light.kra differ diff --git a/compass_rose_decal_light_large.kra b/compass_rose_decal_light_large.kra new file mode 100644 index 0000000..c50fc68 Binary files /dev/null and b/compass_rose_decal_light_large.kra differ diff --git a/internal.lua b/internal.lua index 4332a7a..bacc240 100644 --- a/internal.lua +++ b/internal.lua @@ -68,7 +68,7 @@ for i=0,5 do minetest.register_node(":compass_rose_node:decal_light_" .. tostring(i), { description = "Compass rose block", drawtype = "nodebox", - use_texture_alpha = "blend", + use_texture_alpha = "clip", -- "blend", tiles = { "compass_rose_decal_light_side" .. tostring(i) .. ".png", }, @@ -91,4 +91,40 @@ for i=0,5 do groups = {choppy = 3, dig_immediate = 2}, --on_place = on_place }) -end \ No newline at end of file +end + +minetest.register_node(":compass_rose_node:decal_light_large", { + description = "Compass rose block", + drawtype = "nodebox", + use_texture_alpha = "blend", + tiles = { + "compass_rose_decal_light_large.png", + }, + -- overlay_tiles = { + -- { + -- name = "compass_rose_decal_light_large_letters.png", + -- color = "#F0F0F0", + -- } + -- }, + visual_scale = 3.0, + is_ground_content = false, + --inventory_image = "compass_rose_node_" .. name .. ".png", + --wield_image = "compass_rose_node_" .. name .. ".png", + paramtype = "light", + --paramtype2 = "facedir", + paramtype2 = "colorfacedir", + palette = "compass_rose_decal_palette.png", + walkable = false, + climbable = false, + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = {-1.5/3, -0.49/3, -1.5/3, 1.5/3, -0.49/3, 1.5/3} + }, + selection_box = { + type = "fixed", + fixed = {-1.5, -0.45, -1.5, 1.5, -0.5, 1.5} + }, + groups = {choppy = 3, dig_immediate = 2}, + --on_place = on_place + }) diff --git a/textures/compass_rose_decal_light_large.png b/textures/compass_rose_decal_light_large.png new file mode 100644 index 0000000..eb4eab2 Binary files /dev/null and b/textures/compass_rose_decal_light_large.png differ diff --git a/textures/compass_rose_decal_light_large_letters.png b/textures/compass_rose_decal_light_large_letters.png new file mode 100644 index 0000000..48e9f21 Binary files /dev/null and b/textures/compass_rose_decal_light_large_letters.png differ diff --git a/textures/compass_rose_decal_palette.png b/textures/compass_rose_decal_palette.png new file mode 100644 index 0000000..9e21ac7 Binary files /dev/null and b/textures/compass_rose_decal_palette.png differ