From 528efd3f9b851ba5647afb6e0a17bdc69ac71aa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20P=C3=A9rez-Cerezo?= Date: Thu, 2 Nov 2017 18:11:00 +0100 Subject: Added line number signs. --- init.lua | 24 ++++++++++++++++++++++++ textures/advtrains_subwayblocks_line1.png | Bin 0 -> 190 bytes textures/advtrains_subwayblocks_line10.png | Bin 0 -> 200 bytes textures/advtrains_subwayblocks_line2.png | Bin 0 -> 195 bytes textures/advtrains_subwayblocks_line3.png | Bin 0 -> 196 bytes textures/advtrains_subwayblocks_line4.png | Bin 0 -> 198 bytes textures/advtrains_subwayblocks_line5.png | Bin 0 -> 197 bytes textures/advtrains_subwayblocks_line6.png | Bin 0 -> 195 bytes textures/advtrains_subwayblocks_line7.png | Bin 0 -> 201 bytes textures/advtrains_subwayblocks_line8.png | Bin 0 -> 197 bytes textures/advtrains_subwayblocks_line9.png | Bin 0 -> 203 bytes 11 files changed, 24 insertions(+) create mode 100644 textures/advtrains_subwayblocks_line1.png create mode 100644 textures/advtrains_subwayblocks_line10.png create mode 100644 textures/advtrains_subwayblocks_line2.png create mode 100644 textures/advtrains_subwayblocks_line3.png create mode 100644 textures/advtrains_subwayblocks_line4.png create mode 100644 textures/advtrains_subwayblocks_line5.png create mode 100644 textures/advtrains_subwayblocks_line6.png create mode 100644 textures/advtrains_subwayblocks_line7.png create mode 100644 textures/advtrains_subwayblocks_line8.png create mode 100644 textures/advtrains_subwayblocks_line9.png diff --git a/init.lua b/init.lua index 4d69d0e..42cc19e 100644 --- a/init.lua +++ b/init.lua @@ -10,3 +10,27 @@ minetest.register_node("advtrains_subwayblocks:germany", { description = "German light_source=10, paramtype=light, }) +for _,i in ipairs({1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }) do + minetest.register_node("advtrains_subwayblocks:line"..i, { + description = "Line "..i, + tiles={"advtrains_subwayblocks_line"..i..".png"}, + drawtype = "nodebox", + paramtype2 = "wallmounted", + legacy_wallmounted = true, + paramtype=light, + light_source=12, + sunlight_propagates = true, + is_ground_content = false, + walkable = false, + + groups = {choppy = 2, attached_node = 1, flammable = 2, oddly_breakable_by_hand = 3}, + node_box = { + type = "wallmounted", + wall_top ={-0.5, -0.25, -0.25, -0.4375, 0.25, 0.25}, + wall_bottom = {-0.5, -0.25, -0.25, -0.4375, 0.25, 0.25}, + wall_side = {-0.5, -0.25, -0.25, -0.4375, 0.25, 0.25}, + + } + + }) +end diff --git a/textures/advtrains_subwayblocks_line1.png b/textures/advtrains_subwayblocks_line1.png new file mode 100644 index 0000000..9f3e80a Binary files /dev/null and b/textures/advtrains_subwayblocks_line1.png differ diff --git a/textures/advtrains_subwayblocks_line10.png b/textures/advtrains_subwayblocks_line10.png new file mode 100644 index 0000000..482a0bb Binary files /dev/null and b/textures/advtrains_subwayblocks_line10.png differ diff --git a/textures/advtrains_subwayblocks_line2.png b/textures/advtrains_subwayblocks_line2.png new file mode 100644 index 0000000..0b60f29 Binary files /dev/null and b/textures/advtrains_subwayblocks_line2.png differ diff --git a/textures/advtrains_subwayblocks_line3.png b/textures/advtrains_subwayblocks_line3.png new file mode 100644 index 0000000..55d2dc0 Binary files /dev/null and b/textures/advtrains_subwayblocks_line3.png differ diff --git a/textures/advtrains_subwayblocks_line4.png b/textures/advtrains_subwayblocks_line4.png new file mode 100644 index 0000000..9d4bc6a Binary files /dev/null and b/textures/advtrains_subwayblocks_line4.png differ diff --git a/textures/advtrains_subwayblocks_line5.png b/textures/advtrains_subwayblocks_line5.png new file mode 100644 index 0000000..51ab999 Binary files /dev/null and b/textures/advtrains_subwayblocks_line5.png differ diff --git a/textures/advtrains_subwayblocks_line6.png b/textures/advtrains_subwayblocks_line6.png new file mode 100644 index 0000000..602e1e0 Binary files /dev/null and b/textures/advtrains_subwayblocks_line6.png differ diff --git a/textures/advtrains_subwayblocks_line7.png b/textures/advtrains_subwayblocks_line7.png new file mode 100644 index 0000000..0b83693 Binary files /dev/null and b/textures/advtrains_subwayblocks_line7.png differ diff --git a/textures/advtrains_subwayblocks_line8.png b/textures/advtrains_subwayblocks_line8.png new file mode 100644 index 0000000..3fccfb3 Binary files /dev/null and b/textures/advtrains_subwayblocks_line8.png differ diff --git a/textures/advtrains_subwayblocks_line9.png b/textures/advtrains_subwayblocks_line9.png new file mode 100644 index 0000000..5967f40 Binary files /dev/null and b/textures/advtrains_subwayblocks_line9.png differ -- cgit v1.2.3