diff --git a/skyblock/levels/default/init.lua b/skyblock/levels/default/init.lua index a701db7..ef07fd0 100644 --- a/skyblock/levels/default/init.lua +++ b/skyblock/levels/default/init.lua @@ -26,9 +26,13 @@ dofile(minetest.get_modpath("skyblock").."/levels/default/level_4.lua") -- for level=1,4 do + local texture = "skyblock_"..level..".png"; + if( level==4 ) then + texture = "skyblock_finish.png"; + end minetest.register_node("skyblock:level_"..level, { description = "Level "..level, - tiles = {"skyblock_"..level..".png"}, + tiles = {texture}, is_ground_content = true, paramtype = "light", light_propagates = true, diff --git a/skyblock/levels/extended/init.lua b/skyblock/levels/extended/init.lua index 6ee5c52..e6fc0f8 100644 --- a/skyblock/levels/extended/init.lua +++ b/skyblock/levels/extended/init.lua @@ -27,9 +27,13 @@ end -- for level=1,max_level do + local texture = "skyblock_"..level..".png"; + if( level==max_level ) then + texture = "skyblock_finish.png"; + end minetest.register_node("skyblock:level_"..level, { description = "Level "..level, - tiles = {"skyblock_"..level..".png"}, + tiles = {texture}, is_ground_content = true, paramtype = "light", light_propagates = true, diff --git a/skyblock/textures/skyblock_4.png b/skyblock/textures/skyblock_4.png index 4efcf97..86ed0e8 100644 Binary files a/skyblock/textures/skyblock_4.png and b/skyblock/textures/skyblock_4.png differ diff --git a/skyblock/textures/skyblock_4_.png b/skyblock/textures/skyblock_4_.png deleted file mode 100644 index 86ed0e8..0000000 Binary files a/skyblock/textures/skyblock_4_.png and /dev/null differ diff --git a/skyblock/textures/skyblock_finish.png b/skyblock/textures/skyblock_finish.png new file mode 100644 index 0000000..4efcf97 Binary files /dev/null and b/skyblock/textures/skyblock_finish.png differ