diff options
author | Vitaliy <silverunicorn2011@yandex.ru> | 2017-10-15 10:34:14 +0300 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-10-15 09:34:14 +0200 |
commit | 75320e7e88ab5088a46c9e42c1e789cbdacb13b0 (patch) | |
tree | da71a3134f8b42bdabf25ef1df14c5e1a77a439e /games/minimal/mods/experimental | |
parent | 6bab695479d42ac2b051b8a35639c32b22efbf8d (diff) | |
download | minetest-75320e7e88ab5088a46c9e42c1e789cbdacb13b0.tar.gz minetest-75320e7e88ab5088a46c9e42c1e789cbdacb13b0.tar.bz2 minetest-75320e7e88ab5088a46c9e42c1e789cbdacb13b0.zip |
Real global textures (#6105)
* Real global textures
* Add world-aligned textures
* Update minimal to support world-aligned tiles
* Update minimal
Diffstat (limited to 'games/minimal/mods/experimental')
-rw-r--r-- | games/minimal/mods/experimental/depends.txt | 2 | ||||
-rw-r--r-- | games/minimal/mods/experimental/init.lua | 51 | ||||
-rw-r--r-- | games/minimal/mods/experimental/textures/experimental_tiled.png | bin | 0 -> 1041 bytes |
3 files changed, 52 insertions, 1 deletions
diff --git a/games/minimal/mods/experimental/depends.txt b/games/minimal/mods/experimental/depends.txt index 3a7daa1d7..3296b1e0a 100644 --- a/games/minimal/mods/experimental/depends.txt +++ b/games/minimal/mods/experimental/depends.txt @@ -1,2 +1,2 @@ default - +stairs diff --git a/games/minimal/mods/experimental/init.lua b/games/minimal/mods/experimental/init.lua index 657148dce..578c35364 100644 --- a/games/minimal/mods/experimental/init.lua +++ b/games/minimal/mods/experimental/init.lua @@ -501,6 +501,57 @@ minetest.register_node("experimental:tester_node_1", { end, }) +minetest.register_node("experimental:tiled", { + description = "Tiled stone", + tiles = {{ + name = "experimental_tiled.png", + align_style = "world", + scale = 8, + }}, + groups = {cracky=2}, +}) + +stairs.register_stair_and_slab("tiled_n", "experimental:tiled", + {cracky=2}, + {{name="experimental_tiled.png", align_style="node", scale=8}}, + "Tiled stair (node-aligned)", + "Tiled slab (node-aligned)") + +stairs.register_stair_and_slab("tiled", "experimantal:tiled", + {cracky=2}, + {{name="experimental_tiled.png", align_style="world", scale=8}}, + "Tiled stair", + "Tiled slab") + +minetest.register_craft({ + output = 'experimental:tiled 4', + recipe = { + {'default:cobble', '', 'default:cobble'}, + {'', '', ''}, + {'default:cobble', '', 'default:cobble'}, + } +}) + +minetest.register_craft({ + output = 'stairs:stair_tiled', + recipe = {{'stairs:stair_tiled_n'}} +}) + +minetest.register_craft({ + output = 'stairs:stair_tiled_n', + recipe = {{'stairs:stair_tiled'}} +}) + +minetest.register_craft({ + output = 'stairs:slab_tiled', + recipe = {{'stairs:slab_tiled_n'}} +}) + +minetest.register_craft({ + output = 'stairs:slab_tiled_n', + recipe = {{'stairs:slab_tiled'}} +}) + minetest.register_craftitem("experimental:tester_tool_1", { description = "Tester Tool 1", inventory_image = "experimental_tester_tool_1.png", diff --git a/games/minimal/mods/experimental/textures/experimental_tiled.png b/games/minimal/mods/experimental/textures/experimental_tiled.png Binary files differnew file mode 100644 index 000000000..67397b902 --- /dev/null +++ b/games/minimal/mods/experimental/textures/experimental_tiled.png |