diff options
author | Och Noe <och_noe@forksworld.de> | 2018-10-16 10:07:07 +0200 |
---|---|---|
committer | Och Noe <och_noe@forksworld.de> | 2018-10-16 10:07:07 +0200 |
commit | 2afe3319e6a048b25980aac5d3cb1a96d316c02b (patch) | |
tree | d9d08e0a05cc07f9169f24a49f14fd885d08627f | |
parent | 5a21b6f3ef875818c1b2f4477c8ccb9d5fd470dd (diff) |
'minetest_errata' added (5 blocks), missing '*_block' added (5 blocks)
-rw-r--r-- | depends.txt | 1 | ||||
-rw-r--r-- | init.lua | 22 |
2 files changed, 21 insertions, 2 deletions
diff --git a/depends.txt b/depends.txt index 90d109f..27976a9 100644 --- a/depends.txt +++ b/depends.txt @@ -4,3 +4,4 @@ moreblocks? ethereal? maple? moreores? +minetest_errata? @@ -7,7 +7,7 @@ local own_name = "advtrains_platform" --- bricks +-- bricks / blocks list_default = { "default:desert_sandstone_brick", @@ -20,7 +20,10 @@ list_default = { "default:dirt", "default:dirt_with_grass", "default:desert_stone", - "default:desert_sandstone",} + "default:desert_sandstone", +-- added 2018-10-16 + "default:desert_sandstone_brick", +} list_moreblocks = { "moreblocks:cactus_brick", @@ -34,6 +37,14 @@ list_ethereal = { "ethereal:bamboo_dirt" } +-- added 2018-10-16 +list_errata= { + "minetest_errata:desert_sandstone_cobble", + "minetest_errata:mossy_stone_tile", + "minetest_errata:mossystone", + "minetest_errata:sandstone_cobble", + "minetest_errata:silver_sandstone_cobble", } + -- wood @@ -82,6 +93,13 @@ if minetest.get_modpath("moreblocks") then end end +-- added 2018-10-16 +if minetest.get_modpath("minetest_errata") then + for _,name in pairs(list_errata) do + advtrains.register_platform(own_name,name) + end +end + for _,name in pairs(list_wood) do |