2018-06-10 08:42:47 -07:00
|
|
|
-- all nodes that do not fit in any other category
|
2018-07-28 02:56:41 -07:00
|
|
|
-- Author: Och_Noe
|
|
|
|
-- Licence: LGPL 2.1
|
2018-06-10 08:42:47 -07:00
|
|
|
--
|
|
|
|
|
|
|
|
|
2018-07-28 02:56:41 -07:00
|
|
|
local own_name = "advtrains_platform"
|
2018-06-10 08:42:47 -07:00
|
|
|
|
|
|
|
|
2018-10-16 01:07:07 -07:00
|
|
|
-- bricks / blocks
|
2018-06-10 08:42:47 -07:00
|
|
|
|
|
|
|
list_default = {
|
|
|
|
"default:desert_sandstone_brick",
|
|
|
|
"default:desert_stonebrick",
|
|
|
|
"default:silver_sandstone_brick",
|
|
|
|
"default:brick",
|
|
|
|
"default:stone",
|
|
|
|
"default:sandstone",
|
2018-06-27 11:35:47 -07:00
|
|
|
"default:obsidian_glass",
|
2018-07-28 02:56:41 -07:00
|
|
|
"default:dirt",
|
2018-09-16 20:32:51 -07:00
|
|
|
"default:dirt_with_grass",
|
|
|
|
"default:desert_stone",
|
2018-10-16 01:07:07 -07:00
|
|
|
"default:desert_sandstone",
|
|
|
|
-- added 2018-10-16
|
|
|
|
"default:desert_sandstone_brick",
|
2018-10-26 08:34:43 -07:00
|
|
|
-- added 2018-10-26
|
|
|
|
"default:cobble",
|
2018-10-16 01:07:07 -07:00
|
|
|
}
|
2018-06-10 08:42:47 -07:00
|
|
|
|
|
|
|
list_moreblocks = {
|
|
|
|
"moreblocks:cactus_brick",
|
|
|
|
"moreblocks:coal_stone_bricks",
|
|
|
|
"moreblocks:grey_bricks",
|
2018-06-27 11:35:47 -07:00
|
|
|
"moreblocks:iron_stone_bricks",
|
2019-01-20 05:19:52 -08:00
|
|
|
"moreblocks:stone_tile",
|
|
|
|
-- added 2019-01-19
|
|
|
|
"moreblocks:split_stone_tile",
|
|
|
|
"moreblocks:split_stone_tile_alt",
|
|
|
|
}
|
2018-06-27 11:35:47 -07:00
|
|
|
|
|
|
|
list_ethereal = {
|
2018-07-28 02:56:41 -07:00
|
|
|
"ethereal:icebrick",
|
|
|
|
"ethereal:bamboo_dirt" }
|
2018-06-10 08:42:47 -07:00
|
|
|
|
|
|
|
|
2018-10-16 01:07:07 -07:00
|
|
|
-- 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", }
|
|
|
|
|
2018-06-10 08:42:47 -07:00
|
|
|
|
|
|
|
-- wood
|
|
|
|
|
|
|
|
list_wood= {
|
|
|
|
"default:acacia_wood",
|
|
|
|
"default:aspen_wood",
|
|
|
|
"default:junglewood",
|
|
|
|
"default:pine_wood",
|
|
|
|
"default:wood" }
|
|
|
|
|
|
|
|
|
|
|
|
list_wood_ethereal = {
|
|
|
|
"ethereal:banana_wood",
|
|
|
|
"ethereal:birch_wood",
|
|
|
|
"ethereal:frost_wood",
|
|
|
|
"ethereal:palm_wood",
|
|
|
|
"ethereal:redwood_wood",
|
|
|
|
"ethereal:willow_wood",
|
2018-06-14 18:49:54 -07:00
|
|
|
"ethereal:yellow_wood",
|
|
|
|
"ethereal:bamboo_floor" }
|
2018-06-10 08:42:47 -07:00
|
|
|
|
|
|
|
|
|
|
|
list_wood_maple = {
|
|
|
|
"maple:maple_wood" }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- metal blocks
|
|
|
|
|
|
|
|
list_moreores = {
|
|
|
|
"moreores:mithril_block" }
|
|
|
|
|
|
|
|
|
|
|
|
-- wool
|
|
|
|
|
|
|
|
-- ?
|
|
|
|
|
|
|
|
|
|
|
|
for _,name in pairs(list_default) do
|
|
|
|
advtrains.register_platform(own_name,name)
|
|
|
|
end
|
|
|
|
|
|
|
|
if minetest.get_modpath("moreblocks") then
|
|
|
|
for _,name in pairs(list_moreblocks) do
|
|
|
|
advtrains.register_platform(own_name,name)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-10-16 01:07:07 -07:00
|
|
|
-- 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
|
|
|
|
|
2018-06-10 08:42:47 -07:00
|
|
|
|
|
|
|
|
|
|
|
for _,name in pairs(list_wood) do
|
|
|
|
advtrains.register_platform(own_name,name)
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
if minetest.get_modpath("ethereal") then
|
2018-06-27 11:35:47 -07:00
|
|
|
for _,name in pairs(list_ethereal) do
|
|
|
|
advtrains.register_platform(own_name,name)
|
|
|
|
end
|
2018-06-10 08:42:47 -07:00
|
|
|
for _,name in pairs(list_wood_ethereal) do
|
|
|
|
advtrains.register_platform(own_name,name)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
if minetest.get_modpath("maple") then
|
|
|
|
for _,name in pairs(list_wood_maple) do
|
|
|
|
advtrains.register_platform(own_name,name)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
if minetest.get_modpath("moreores") then
|
|
|
|
for _,name in pairs(list_moreores) do
|
|
|
|
advtrains.register_platform(own_name,name)
|
|
|
|
end
|
|
|
|
end
|