mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2024-11-15 23:10:18 +01:00
add some 0.4.15 default nodes to table saw
including farming:straw
This commit is contained in:
parent
6a1ffa7651
commit
8f4f7bab20
|
@ -1,2 +1,3 @@
|
|||
default
|
||||
intllib?
|
||||
farming?
|
||||
|
|
|
@ -7,6 +7,7 @@ Licensed under the zlib license. See LICENSE.md for more information.
|
|||
|
||||
local default_nodes = { -- Default stairs/slabs/panels/microblocks:
|
||||
"stone",
|
||||
"stone_block",
|
||||
"cobble",
|
||||
"mossycobble",
|
||||
"brick",
|
||||
|
@ -17,6 +18,7 @@ local default_nodes = { -- Default stairs/slabs/panels/microblocks:
|
|||
"bronzeblock",
|
||||
"diamondblock",
|
||||
"desert_stone",
|
||||
"desert_stone_block",
|
||||
"desert_cobble",
|
||||
"meselamp",
|
||||
"glass",
|
||||
|
@ -31,15 +33,22 @@ local default_nodes = { -- Default stairs/slabs/panels/microblocks:
|
|||
"aspen_tree",
|
||||
"aspen_wood",
|
||||
"obsidian",
|
||||
"obsidian_block",
|
||||
"obsidianbrick",
|
||||
"obsidian_glass",
|
||||
"stonebrick",
|
||||
"desert_stonebrick",
|
||||
"sandstonebrick",
|
||||
"obsidianbrick",
|
||||
"sandstone_block",
|
||||
"coral_skeleton",
|
||||
"farming:straw"
|
||||
}
|
||||
|
||||
for _, name in pairs(default_nodes) do
|
||||
local nodename = "default:" .. name
|
||||
local nodename = "default:"..name
|
||||
if string.find(name, ":") then
|
||||
nodename = name
|
||||
end
|
||||
local ndef = minetest.registered_nodes[nodename]
|
||||
if ndef then
|
||||
local drop
|
||||
|
|
Loading…
Reference in New Issue
Block a user