corrected wrong texture for level 4 and marked final level with exclamation mark again

This commit is contained in:
Sokomine 2015-06-20 20:05:25 +02:00
parent ef9af3fa36
commit b36908ff5f
5 changed files with 10 additions and 2 deletions

View File

@ -26,9 +26,13 @@ dofile(minetest.get_modpath("skyblock").."/levels/default/level_4.lua")
-- --
for level=1,4 do 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, { minetest.register_node("skyblock:level_"..level, {
description = "Level "..level, description = "Level "..level,
tiles = {"skyblock_"..level..".png"}, tiles = {texture},
is_ground_content = true, is_ground_content = true,
paramtype = "light", paramtype = "light",
light_propagates = true, light_propagates = true,

View File

@ -27,9 +27,13 @@ end
-- --
for level=1,max_level do 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, { minetest.register_node("skyblock:level_"..level, {
description = "Level "..level, description = "Level "..level,
tiles = {"skyblock_"..level..".png"}, tiles = {texture},
is_ground_content = true, is_ground_content = true,
paramtype = "light", paramtype = "light",
light_propagates = true, light_propagates = true,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 232 B

After

Width:  |  Height:  |  Size: 311 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 311 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 B