Removed gravity affected nodes from default registrations.

Removed nodes which are unlikely to be used.
This commit is contained in:
Tin Švagelj 2021-02-12 22:19:43 +01:00
parent 001e6a6730
commit 5ca195b0a3
No known key found for this signature in database
GPG Key ID: 448B607427470D56
1 changed files with 15 additions and 20 deletions

View File

@ -15,7 +15,7 @@ local default_nodes = { -- Default stairs/slabs/panels/microblocks:
"brick", "brick",
"bronzeblock", "bronzeblock",
"cave_ice", "cave_ice",
"clay", --"clay",
"coalblock", "coalblock",
"cobble", "cobble",
"copperblock", "copperblock",
@ -40,12 +40,12 @@ local default_nodes = { -- Default stairs/slabs/panels/microblocks:
--"dirt_with_grass", --"dirt_with_grass",
--"dirt_with_rainforest_litter", --"dirt_with_rainforest_litter",
--"dirt_with_snow", --"dirt_with_snow",
"dirt", --"dirt",
--"dry_dirt_with_dry_grass", --"dry_dirt_with_dry_grass",
"dry_dirt", --"dry_dirt",
"glass", "glass",
"goldblock", "goldblock",
"gravel", --"gravel",
"ice", "ice",
"jungletree", "jungletree",
"junglewood", "junglewood",
@ -57,29 +57,29 @@ local default_nodes = { -- Default stairs/slabs/panels/microblocks:
"obsidian", "obsidian",
"obsidianbrick", "obsidianbrick",
--"permafrost_with_moss", --"permafrost_with_moss",
"permafrost_with_stones", --"permafrost_with_stones",
"permafrost", --"permafrost",
"pine_bush_needles", "pine_bush_needles",
"pine_tree", "pine_tree",
"pine_wood", "pine_wood",
"sand", --"sand",
"sandstone_block", "sandstone_block",
"sandstone", "sandstone",
"sandstonebrick", "sandstonebrick",
"silver_sand", --"silver_sand",
"silver_sandstone_block", "silver_sandstone_block",
"silver_sandstone_brick", "silver_sandstone_brick",
"silver_sandstone", "silver_sandstone",
"snowblock", "snowblock",
"steelblock", "steelblock",
"stone_block", "stone_block",
"stone_with_coal", --"stone_with_coal",
"stone_with_copper", --"stone_with_copper",
"stone_with_diamond", --"stone_with_diamond",
"stone_with_gold", --"stone_with_gold",
"stone_with_iron", --"stone_with_iron",
"stone_with_mese", --"stone_with_mese",
"stone_with_tin", --"stone_with_tin",
"stone", "stone",
"stonebrick", "stonebrick",
"tinblock", "tinblock",
@ -104,11 +104,6 @@ for _, name in pairs(default_nodes) do
ndef.paramtype2 = nil ndef.paramtype2 = nil
end end
-- Microblock variants of falling nodes should not fall
if ndef.groups and ndef.groups["falling_node"] then
ndef.groups["falling_node"] = 0
end
mod = "moreblocks" mod = "moreblocks"
stairsplus:register_all(mod, name, nodename, ndef) stairsplus:register_all(mod, name, nodename, ndef)
minetest.register_alias_force("stairs:stair_" .. name, mod .. ":stair_" .. name) minetest.register_alias_force("stairs:stair_" .. name, mod .. ":stair_" .. name)