aboutsummaryrefslogtreecommitdiff
path: root/games/devtest/mods/tiled
diff options
context:
space:
mode:
authorWuzzy <wuzzy2@mail.ru>2020-05-26 00:17:52 +0200
committerGitHub <noreply@github.com>2020-05-26 00:17:52 +0200
commit083b285f4319c470f307f0b52f03a2fb68facd38 (patch)
treebdd02540ad58756a38606f03a995ab837a176709 /games/devtest/mods/tiled
parentb546e8938d41aa9e3101fb9d4d5b02924ed73b60 (diff)
downloadminetest-083b285f4319c470f307f0b52f03a2fb68facd38.tar.gz
minetest-083b285f4319c470f307f0b52f03a2fb68facd38.tar.bz2
minetest-083b285f4319c470f307f0b52f03a2fb68facd38.zip
Rename “Minimal development test” to “Development Test” (#9928)
Diffstat (limited to 'games/devtest/mods/tiled')
-rw-r--r--games/devtest/mods/tiled/init.lua33
-rw-r--r--games/devtest/mods/tiled/mod.conf3
-rw-r--r--games/devtest/mods/tiled/textures/tiled_tiled.pngbin0 -> 410 bytes
3 files changed, 36 insertions, 0 deletions
diff --git a/games/devtest/mods/tiled/init.lua b/games/devtest/mods/tiled/init.lua
new file mode 100644
index 000000000..68ead8e3a
--- /dev/null
+++ b/games/devtest/mods/tiled/init.lua
@@ -0,0 +1,33 @@
+minetest.register_node("tiled:tiled", {
+ description = "Tiled Node (world-aligned)",
+ tiles = {{
+ name = "tiled_tiled.png",
+ align_style = "world",
+ scale = 8,
+ }},
+ groups = {cracky=3},
+})
+
+minetest.register_node("tiled:tiled_n", {
+ description = "Tiled Node (node-aligned)",
+ tiles = {{
+ name = "tiled_tiled.png",
+ align_style = "node",
+ scale = 8,
+ }},
+ groups = {cracky=3},
+})
+
+stairs.register_stair_and_slab("tiled_n", "tiled:tiled",
+ {cracky=3},
+ {{name="tiled_tiled.png", align_style="node", scale=8}},
+ "Tiled Stair (node-aligned)",
+ "Tiled Slab (node-aligned)")
+
+stairs.register_stair_and_slab("tiled", "tiled:tiled",
+ {cracky=3},
+ {{name="tiled_tiled.png", align_style="world", scale=8}},
+ "Tiled Stair (world-aligned)",
+ "Tiled Slab (world-aligned)")
+
+
diff --git a/games/devtest/mods/tiled/mod.conf b/games/devtest/mods/tiled/mod.conf
new file mode 100644
index 000000000..78b19f93b
--- /dev/null
+++ b/games/devtest/mods/tiled/mod.conf
@@ -0,0 +1,3 @@
+name = tiled
+description = Add nodes with a special texture that spans multiple nodes (aka "world-aligned")
+depends = stairs
diff --git a/games/devtest/mods/tiled/textures/tiled_tiled.png b/games/devtest/mods/tiled/textures/tiled_tiled.png
new file mode 100644
index 000000000..363a26487
--- /dev/null
+++ b/games/devtest/mods/tiled/textures/tiled_tiled.png
Binary files differ