corrected wrong texture for level 4 and marked final level with exclamation mark again
This commit is contained in:
parent
ef9af3fa36
commit
b36908ff5f
@ -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,
|
||||||
|
@ -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 |
BIN
skyblock/textures/skyblock_finish.png
Normal file
BIN
skyblock/textures/skyblock_finish.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 232 B |
Loading…
x
Reference in New Issue
Block a user