forked from Mineclonia/Mineclonia
Fix bad is_ground_content across all mods
This commit is contained in:
parent
af36c9876c
commit
7e980234ce
|
@ -49,6 +49,7 @@ minetest.register_node("beds:bed_bottom", {
|
|||
wield_image = "beds_bed.png",
|
||||
wield_scale = {x=0.8,y=2.5,z=1.3},
|
||||
drawtype = "nodebox",
|
||||
is_ground_content = false,
|
||||
tiles = {"beds_bed_top_bottom.png^[transformR90", "default_wood.png", "beds_bed_side_bottom_r.png", "beds_bed_side_bottom_r.png^[transformfx", "beds_bed_leer.png", "beds_bed_side_bottom.png"},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
|
@ -149,6 +150,7 @@ minetest.register_node("beds:bed_top", {
|
|||
tiles = {"beds_bed_top_top.png^[transformR90", "beds_bed_leer.png", "beds_bed_side_top_r.png", "beds_bed_side_top_r.png^[transformfx", "beds_bed_side_top.png", "beds_bed_leer.png"},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
node_box = {
|
||||
|
|
|
@ -25,6 +25,7 @@ minetest.register_node("cake:cake", {
|
|||
description = "Cake",
|
||||
tiles = {"cake_top.png","cake_bottom.png","cake_side.png","cake_side.png","cake_side.png","cake_side.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
drawtype = "nodebox",
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
@ -34,7 +35,6 @@ minetest.register_node("cake:cake", {
|
|||
type = "fixed",
|
||||
fixed = slice_6
|
||||
},
|
||||
is_ground_content = true,
|
||||
stack_max = 1,
|
||||
groups = {crumbly=3,falling_node=1},
|
||||
drop = '',
|
||||
|
@ -47,9 +47,10 @@ minetest.register_node("cake:cake", {
|
|||
end,
|
||||
})
|
||||
minetest.register_node("cake:cake_5", {
|
||||
description = "Cake [5 Slices Left]",
|
||||
description = "Cake (5 Slices Left)",
|
||||
tiles = cake_texture,
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
drawtype = "nodebox",
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
@ -59,7 +60,6 @@ minetest.register_node("cake:cake_5", {
|
|||
type = "fixed",
|
||||
fixed = slice_5
|
||||
},
|
||||
is_ground_content = true,
|
||||
groups = {crumbly=3,falling_node=1,not_in_creative_inventory=1},
|
||||
drop = '',
|
||||
--legacy_mineral = true,
|
||||
|
@ -71,9 +71,10 @@ minetest.register_node("cake:cake_5", {
|
|||
end,
|
||||
})
|
||||
minetest.register_node("cake:cake_4", {
|
||||
description = "Cake [4 Slices Left]",
|
||||
description = "Cake (4 Slices Left)",
|
||||
tiles = cake_texture,
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
drawtype = "nodebox",
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
@ -83,7 +84,6 @@ minetest.register_node("cake:cake_4", {
|
|||
type = "fixed",
|
||||
fixed = slice_4
|
||||
},
|
||||
is_ground_content = true,
|
||||
groups = {crumbly=3,falling_node=1,not_in_creative_inventory=1},
|
||||
drop = '',
|
||||
--legacy_mineral = true,
|
||||
|
@ -95,9 +95,10 @@ minetest.register_node("cake:cake_4", {
|
|||
end,
|
||||
})
|
||||
minetest.register_node("cake:cake_3", {
|
||||
description = "Cake [3 Slices Left]",
|
||||
description = "Cake (3 Slices Left)",
|
||||
tiles = cake_texture,
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
drawtype = "nodebox",
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
@ -107,7 +108,6 @@ minetest.register_node("cake:cake_3", {
|
|||
type = "fixed",
|
||||
fixed = slice_3
|
||||
},
|
||||
is_ground_content = true,
|
||||
groups = {crumbly=3,falling_node=1,not_in_creative_inventory=1},
|
||||
drop = '',
|
||||
--legacy_mineral = true,
|
||||
|
@ -119,9 +119,10 @@ minetest.register_node("cake:cake_3", {
|
|||
end,
|
||||
})
|
||||
minetest.register_node("cake:cake_2", {
|
||||
description = "Cake [2 Slices Left]",
|
||||
description = "Cake (2 Slices Left)",
|
||||
tiles = cake_texture,
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
drawtype = "nodebox",
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
@ -131,7 +132,6 @@ minetest.register_node("cake:cake_2", {
|
|||
type = "fixed",
|
||||
fixed = slice_2
|
||||
},
|
||||
is_ground_content = true,
|
||||
groups = {crumbly=3,falling_node=1,not_in_creative_inventory=1},
|
||||
drop = '',
|
||||
--legacy_mineral = true,
|
||||
|
@ -143,9 +143,10 @@ minetest.register_node("cake:cake_2", {
|
|||
end,
|
||||
})
|
||||
minetest.register_node("cake:cake_1", {
|
||||
description = "Cake [1 Slice Left]",
|
||||
description = "Cake (1 Slice Left)",
|
||||
tiles = cake_texture,
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
drawtype = "nodebox",
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
@ -155,7 +156,6 @@ minetest.register_node("cake:cake_1", {
|
|||
type = "fixed",
|
||||
fixed = slice_1
|
||||
},
|
||||
is_ground_content = true,
|
||||
groups = {crumbly=3,falling_node=1,not_in_creative_inventory=1},
|
||||
drop = '',
|
||||
--legacy_mineral = true,
|
||||
|
@ -165,4 +165,4 @@ minetest.register_node("cake:cake_1", {
|
|||
minetest.env:remove_node(pos)
|
||||
end
|
||||
end,
|
||||
})
|
||||
})
|
||||
|
|
|
@ -901,6 +901,7 @@ function AddGlass(desc, recipeitem, color)
|
|||
minetest.register_node("default:glass_"..color, {
|
||||
description = desc,
|
||||
drawtype = "glasslike",
|
||||
is_ground_content = false,
|
||||
tile_images = {"xpanes_pane_glass_"..color..".png"},
|
||||
inventory_image = minetest.inventorycube("xpanes_pane_glass_"..color..".png"),
|
||||
paramtype = "light",
|
||||
|
|
|
@ -179,6 +179,7 @@ minetest.register_node("default:stonebrick", {
|
|||
minetest.register_node("default:stonebrickcarved", {
|
||||
description = "Chiseled Stone Bricks",
|
||||
tiles = {"default_stonebrick_carved.png"},
|
||||
is_ground_content = false,
|
||||
stack_max = 64,
|
||||
groups = {cracky=3, stone=1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
|
@ -187,6 +188,7 @@ minetest.register_node("default:stonebrickcarved", {
|
|||
minetest.register_node("default:stonebrickcracked", {
|
||||
description = "Cracked Stone Bricks",
|
||||
tiles = {"default_stonebrick_cracked.png"},
|
||||
is_ground_content = false,
|
||||
stack_max = 64,
|
||||
groups = {cracky=3, stone=1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
|
@ -344,6 +346,7 @@ minetest.register_node("default:clay", {
|
|||
minetest.register_node("default:brick", {
|
||||
description = "Bricks",
|
||||
tiles = {"default_brick.png"},
|
||||
is_ground_content = false,
|
||||
stack_max = 64,
|
||||
groups = {cracky=3},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
|
@ -352,6 +355,7 @@ minetest.register_node("default:brick", {
|
|||
minetest.register_node("default:haybale", {
|
||||
description = "Hay Bale",
|
||||
tiles = {"default_hayblock_top.png", "default_hayblock_top.png", "default_hayblock_side.png"},
|
||||
is_ground_content = true,
|
||||
stack_max = 64,
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
|
@ -363,6 +367,7 @@ minetest.register_node("default:haybale", {
|
|||
minetest.register_node("default:sea_lantern", {
|
||||
description = "Sea Lantern",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
stack_max = 64,
|
||||
light_source = 14,
|
||||
drop = {
|
||||
|
@ -377,24 +382,27 @@ minetest.register_node("default:sea_lantern", {
|
|||
})
|
||||
|
||||
minetest.register_node("default:prismarine", {
|
||||
description = "Prismarine",
|
||||
stack_max = 64,
|
||||
tiles = {{name="default_prismarine_anim.png", animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=45.0}}},
|
||||
groups = {cracky=3},
|
||||
description = "Prismarine",
|
||||
stack_max = 64,
|
||||
is_ground_content = false,
|
||||
tiles = {{name="default_prismarine_anim.png", animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=45.0}}},
|
||||
groups = {cracky=3},
|
||||
})
|
||||
|
||||
minetest.register_node("default:prismarine_brick", {
|
||||
description = "Prismarine Bricks",
|
||||
stack_max = 64,
|
||||
tiles = {"default_prismarine_bricks.png"},
|
||||
groups = {cracky=2},
|
||||
description = "Prismarine Bricks",
|
||||
stack_max = 64,
|
||||
is_ground_content = false,
|
||||
tiles = {"default_prismarine_bricks.png"},
|
||||
groups = {cracky=2},
|
||||
})
|
||||
|
||||
minetest.register_node("default:prismarine_dark", {
|
||||
description = "Dark Prismarine",
|
||||
stack_max = 64,
|
||||
tiles = {"default_prismarine_dark.png"},
|
||||
groups = {cracky=2},
|
||||
description = "Dark Prismarine",
|
||||
stack_max = 64,
|
||||
is_ground_content = false,
|
||||
tiles = {"default_prismarine_dark.png"},
|
||||
groups = {cracky=2},
|
||||
})
|
||||
|
||||
|
||||
|
@ -405,7 +413,6 @@ minetest.register_node("default:tree", {
|
|||
description = "Wood",
|
||||
tiles = {"default_tree_top.png", "default_tree_top.png", "default_tree.png"},
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
on_place = minetest.rotate_node,
|
||||
stack_max = 64,
|
||||
groups = {tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
|
||||
|
@ -463,7 +470,6 @@ minetest.register_node("default:jungletree", {
|
|||
tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_jungletree.png"},
|
||||
stack_max = 64,
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
on_place = minetest.rotate_node,
|
||||
groups = {tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
|
@ -473,6 +479,7 @@ minetest.register_node("default:junglewood", {
|
|||
description = "Jungle Wood Planks",
|
||||
tiles = {"default_junglewood.png"},
|
||||
stack_max = 64,
|
||||
is_ground_content = false,
|
||||
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
@ -523,7 +530,6 @@ minetest.register_node("default:acaciatree", {
|
|||
tiles = {"default_acaciatree_top.png", "default_acaciatree_top.png", "default_acaciatree.png"},
|
||||
stack_max = 64,
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
on_place = minetest.rotate_node,
|
||||
groups = {tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
|
@ -533,6 +539,7 @@ minetest.register_node("default:acaciawood", {
|
|||
description = "Acacia Wood Planks",
|
||||
tiles = {"default_acaciawood.png"},
|
||||
stack_max = 64,
|
||||
is_ground_content = false,
|
||||
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
@ -582,7 +589,6 @@ minetest.register_node("default:sprucetree", {
|
|||
tiles = {"default_sprucetree_top.png", "default_sprucetree_top.png", "default_sprucetree.png"},
|
||||
stack_max = 64,
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
on_place = minetest.rotate_node,
|
||||
groups = {tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
|
@ -592,6 +598,7 @@ minetest.register_node("default:sprucewood", {
|
|||
description = "Spruce Wood Planks",
|
||||
tiles = {"default_sprucewood.png"},
|
||||
stack_max = 64,
|
||||
is_ground_content = false,
|
||||
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
@ -728,12 +735,13 @@ minetest.register_node("default:reeds", {
|
|||
|
||||
|
||||
minetest.register_node("default:quartz_ore", {
|
||||
description = "Nether Quartz Ore",
|
||||
description = "Nether Quartz Ore",
|
||||
stack_max = 64,
|
||||
tiles = {"default_quartz_ore.png"},
|
||||
is_ground_content = false,
|
||||
groups = {cracky=3,},
|
||||
drop = 'default:quartz_crystal',
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("default:quartz_block", {
|
||||
|
@ -747,6 +755,7 @@ minetest.register_node("default:quartz_block", {
|
|||
minetest.register_node("default:quartz_chiseled", {
|
||||
description = "Chiseled Quartz",
|
||||
stack_max = 64,
|
||||
is_ground_content = false,
|
||||
tiles = {"default_quartz_chiseled_top.png", "default_quartz_chiseled_top.png", "default_quartz_chiseled_side.png"},
|
||||
groups = {snappy=1,bendy=2,cracky=1,level=2},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
|
@ -756,6 +765,7 @@ minetest.register_node("default:quartz_pillar", {
|
|||
description = "Pillar Quartz Block",
|
||||
stack_max = 64,
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = true,
|
||||
on_place = minetest.rotate_node,
|
||||
tiles = {"default_quartz_pillar_top.png", "default_quartz_pillar_top.png", "default_quartz_pillar_side.png"},
|
||||
groups = {snappy=1,bendy=2,cracky=1,level=2},
|
||||
|
@ -779,6 +789,7 @@ minetest.register_node("default:bookshelf", {
|
|||
description = "Bookshelf",
|
||||
tiles = {"default_wood.png", "default_wood.png", "default_bookshelf.png"},
|
||||
stack_max = 64,
|
||||
is_ground_content = false,
|
||||
groups = {choppy=3,oddly_breakable_by_hand=2,flammable=3},
|
||||
drop = "default:book 3",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
|
@ -788,6 +799,7 @@ minetest.register_node("default:slimeblock", {
|
|||
description = "Slime Block",
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
|
@ -808,6 +820,7 @@ minetest.register_node("default:slimeblock", {
|
|||
minetest.register_node("default:glass", {
|
||||
description = "Glass",
|
||||
drawtype = "glasslike",
|
||||
is_ground_content = false,
|
||||
tiles = {"default_glass.png"},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
|
@ -839,6 +852,7 @@ minetest.register_node("default:rail", {
|
|||
description = "Rail",
|
||||
drawtype = "raillike",
|
||||
tiles = {"default_rail.png", "default_rail_curved.png", "default_rail_t_junction.png", "default_rail_crossing.png"},
|
||||
is_ground_content = false,
|
||||
inventory_image = "default_rail.png",
|
||||
wield_image = "default_rail.png",
|
||||
paramtype = "light",
|
||||
|
@ -855,6 +869,7 @@ minetest.register_node("default:rail", {
|
|||
minetest.register_node("default:ladder", {
|
||||
description = "Ladder",
|
||||
drawtype = "signlike",
|
||||
is_ground_content = false,
|
||||
tiles = {"default_ladder.png"},
|
||||
inventory_image = "default_ladder.png",
|
||||
wield_image = "default_ladder.png",
|
||||
|
@ -920,6 +935,7 @@ minetest.register_node("default:wood", {
|
|||
description = "Wood Planks",
|
||||
tiles = {"default_wood.png"},
|
||||
stack_max = 64,
|
||||
is_ground_content = false,
|
||||
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
@ -1113,6 +1129,7 @@ minetest.register_node("default:chest", {
|
|||
stack_max = 64,
|
||||
groups = {choppy=2,oddly_breakable_by_hand=2},
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false,
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
on_construct = function(pos)
|
||||
local param2 = minetest.env:get_node(pos).param2
|
||||
|
@ -1200,6 +1217,7 @@ minetest.register_node("default:chest_left", {
|
|||
paramtype2 = "facedir",
|
||||
groups = {choppy=2,oddly_breakable_by_hand=2,not_in_creative_inventory=1},
|
||||
drop = "default:chest",
|
||||
is_ground_content = false,
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
on_destruct = function(pos)
|
||||
local m = minetest.env:get_meta(pos)
|
||||
|
@ -1254,6 +1272,7 @@ minetest.register_node("default:chest_right", {
|
|||
paramtype2 = "facedir",
|
||||
groups = {choppy=2,oddly_breakable_by_hand=2,not_in_creative_inventory=1},
|
||||
drop = "default:chest",
|
||||
is_ground_content = false,
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
on_destruct = function(pos)
|
||||
local m = minetest.env:get_meta(pos)
|
||||
|
@ -1315,6 +1334,7 @@ minetest.register_node("default:furnace", {
|
|||
tiles = {"default_furnace_top.png", "default_furnace_bottom.png", "default_furnace_side.png",
|
||||
"default_furnace_side.png", "default_furnace_side.png", "default_furnace_front.png"},
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
stack_max = 64,
|
||||
groups = {cracky=2},
|
||||
legacy_facedir_simple = true,
|
||||
|
@ -1384,6 +1404,7 @@ minetest.register_node("default:furnace_active", {
|
|||
tiles = {"default_furnace_top.png", "default_furnace_bottom.png", "default_furnace_side.png",
|
||||
"default_furnace_side.png", "default_furnace_side.png", "default_furnace_front_active.png"},
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
light_source = 12,
|
||||
drop = "default:furnace",
|
||||
groups = {cracky=2, not_in_creative_inventory=1},
|
||||
|
@ -1583,7 +1604,7 @@ minetest.register_node("default:mossycobble", {
|
|||
minetest.register_node("default:coalblock", {
|
||||
description = "Block of Coal",
|
||||
tiles = {"default_coal_block.png"},
|
||||
is_ground_content = true,
|
||||
is_ground_content = false,
|
||||
stack_max = 64,
|
||||
groups = {cracky=2},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
|
@ -1592,7 +1613,7 @@ minetest.register_node("default:coalblock", {
|
|||
minetest.register_node("default:steelblock", {
|
||||
description = "Block of Iron",
|
||||
tiles = {"default_steel_block.png"},
|
||||
is_ground_content = true,
|
||||
is_ground_content = false,
|
||||
stack_max = 64,
|
||||
groups = {cracky=1,level=2},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
|
@ -1601,7 +1622,7 @@ minetest.register_node("default:steelblock", {
|
|||
minetest.register_node("default:goldblock", {
|
||||
description = "Block of Gold",
|
||||
tiles = {"default_gold_block.png"},
|
||||
is_ground_content = true,
|
||||
is_ground_content = false,
|
||||
stack_max = 64,
|
||||
groups = {cracky=1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
|
@ -1610,7 +1631,7 @@ minetest.register_node("default:goldblock", {
|
|||
minetest.register_node("default:diamondblock", {
|
||||
description = "Block of Diamond",
|
||||
tiles = {"default_diamond_block.png"},
|
||||
is_ground_content = true,
|
||||
is_ground_content = false,
|
||||
stack_max = 64,
|
||||
groups = {cracky=1,level=3},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
|
@ -1619,6 +1640,7 @@ minetest.register_node("default:diamondblock", {
|
|||
minetest.register_node("default:lapisblock", {
|
||||
description = "Lapis Lazul Block",
|
||||
tiles = {"default_lapis_block.png"},
|
||||
is_ground_content = false,
|
||||
stack_max = 64,
|
||||
groups = {cracky=1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
|
@ -1627,6 +1649,7 @@ minetest.register_node("default:lapisblock", {
|
|||
minetest.register_node("default:emeraldblock", {
|
||||
description = "Block of Emerald",
|
||||
tiles = {"default_emerald_block.png"},
|
||||
is_ground_content = false,
|
||||
stack_max = 64,
|
||||
groups = {cracky=1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
|
@ -1760,6 +1783,7 @@ minetest.register_node("default:glowstone", {
|
|||
minetest.register_node("default:sponge", {
|
||||
description = "Sponge",
|
||||
drawtype = "normal",
|
||||
is_ground_content = false,
|
||||
tiles = {"default_sponge.png"},
|
||||
paramtype = 'light',
|
||||
walkable = true,
|
||||
|
@ -1839,6 +1863,7 @@ minetest.register_node("default:sponge", {
|
|||
minetest.register_node("default:sponge_wet", {
|
||||
description = "Wet Sponge",
|
||||
drawtype = "normal",
|
||||
is_ground_content = false,
|
||||
tiles = {"default_sponge_wet.png"},
|
||||
paramtype = 'light',
|
||||
walkable = true,
|
||||
|
|
|
@ -152,6 +152,7 @@ function doors:register_door(name, def)
|
|||
tiles = {tb[2], tb[2], tb[2], tb[2], tb[1], tb[1].."^[transformfx"},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
drop = name,
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
|
@ -187,6 +188,7 @@ function doors:register_door(name, def)
|
|||
tiles = {tt[2], tt[2], tt[2], tt[2], tt[1], tt[1].."^[transformfx"},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
drop = "",
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
|
@ -222,6 +224,7 @@ function doors:register_door(name, def)
|
|||
tiles = {tb[2], tb[2], tb[2], tb[2], tb[1].."^[transformfx", tb[1]},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
drop = name,
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
|
@ -257,6 +260,7 @@ function doors:register_door(name, def)
|
|||
tiles = {tt[2], tt[2], tt[2], tt[2], tt[1].."^[transformfx", tt[1]},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
drop = "",
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
|
@ -449,6 +453,7 @@ minetest.register_node("doors:trapdoor", {
|
|||
description = "Wooden Trapdoor",
|
||||
drawtype = "nodebox",
|
||||
tiles = {"door_trapdoor.png", "door_trapdoor.png", "default_wood.png", "default_wood.png", "default_wood.png", "default_wood.png"},
|
||||
is_ground_content = false,
|
||||
paramtype = "light",
|
||||
stack_max = 16,
|
||||
paramtype2 = "facedir",
|
||||
|
@ -494,6 +499,7 @@ minetest.register_node("doors:trapdoor", {
|
|||
minetest.register_node("doors:trapdoor_open", {
|
||||
drawtype = "nodebox",
|
||||
tiles = {"default_wood.png", "default_wood.png", "default_wood.png", "default_wood.png", "door_trapdoor.png", "door_trapdoor.png"},
|
||||
is_ground_content = false,
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
pointable = true,
|
||||
|
@ -567,6 +573,7 @@ minetest.register_node("doors:iron_trapdoor", {
|
|||
drawtype = "nodebox",
|
||||
tiles = {"iron_trapdoor.png", "iron_trapdoor.png", "default_steel_block.png", "default_steel_block.png", "default_steel_block.png", "default_steel_block.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
stack_max = 16,
|
||||
paramtype2 = "facedir",
|
||||
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,mesecon_effector_on=1,flammable=0,door=1},
|
||||
|
@ -610,6 +617,7 @@ minetest.register_node("doors:iron_trapdoor_open", {
|
|||
tiles = {"default_steel_block.png", "default_steel_block.png", "default_steel_block.png", "default_steel_block.png", "iron_trapdoor.png", "iron_trapdoor.png"},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
pointable = true,
|
||||
stack_max = 0,
|
||||
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=0,door=1,mesecon_effector_on=1},
|
||||
|
|
|
@ -101,6 +101,7 @@ minetest.register_node("fences:fence_wood", {
|
|||
inventory_image = "default_fence.png",
|
||||
wield_image = "default_fence.png",
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,fences=1},
|
||||
drop = 'fences:fence_wood',
|
||||
stack_max = 64,
|
||||
|
@ -132,6 +133,7 @@ minetest.register_node("fences:fence_wood", {
|
|||
minetest.register_node("fences:fence_wood_1", {
|
||||
tiles = {"default_wood.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,fences=1,not_in_inventory=1},
|
||||
drop = 'fences:fence_wood',
|
||||
sunlight_propagates = true,
|
||||
|
@ -159,6 +161,7 @@ minetest.register_node("fences:fence_wood_1", {
|
|||
minetest.register_node("fences:fence_wood_2", {
|
||||
tiles = {"default_wood.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,fences=1,not_in_inventory=1},
|
||||
drop = 'fences:fence_wood',
|
||||
sunlight_propagates = true,
|
||||
|
@ -186,6 +189,7 @@ minetest.register_node("fences:fence_wood_2", {
|
|||
minetest.register_node("fences:fence_wood_3", { --left+right(3)
|
||||
tiles = {"default_wood.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,fences=1,not_in_inventory=1},
|
||||
drop = 'fences:fence_wood',
|
||||
sunlight_propagates = true,
|
||||
|
@ -240,6 +244,7 @@ minetest.register_node("fences:fence_wood_11", { --top
|
|||
minetest.register_node("fences:fence_wood_21", { --bottom
|
||||
tiles = {"default_wood.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,fences=1,not_in_inventory=1},
|
||||
drop = 'fences:fence_wood',
|
||||
sunlight_propagates = true,
|
||||
|
@ -268,6 +273,7 @@ minetest.register_node("fences:fence_wood_21", { --bottom
|
|||
minetest.register_node("fences:fence_wood_32", { --top+bottom(32)
|
||||
tiles = {"default_wood.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,fences=1,not_in_inventory=1},
|
||||
drop = 'fences:fence_wood',
|
||||
sunlight_propagates = true,
|
||||
|
@ -295,6 +301,7 @@ minetest.register_node("fences:fence_wood_32", { --top+bottom(32)
|
|||
minetest.register_node("fences:fence_wood_14", { --left+right(3)+ top(11) =14
|
||||
tiles = {"default_wood.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,fences=1,not_in_inventory=1},
|
||||
drop = 'fences:fence_wood',
|
||||
sunlight_propagates = true,
|
||||
|
@ -322,6 +329,7 @@ minetest.register_node("fences:fence_wood_14", { --left+right(3)+ top(11) =14
|
|||
minetest.register_node("fences:fence_wood_24", { --left+right(3)+ bottom(21) =24
|
||||
tiles = {"default_wood.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,fences=1,not_in_inventory=1},
|
||||
drop = 'fences:fence_wood',
|
||||
sunlight_propagates = true,
|
||||
|
@ -349,6 +357,7 @@ minetest.register_node("fences:fence_wood_24", { --left+right(3)+ bottom(21) =2
|
|||
minetest.register_node("fences:fence_wood_35", { --left+right(3)+top+bottom(32) = 35
|
||||
tiles = {"default_wood.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,fences=1,not_in_inventory=1},
|
||||
drop = 'fences:fence_wood',
|
||||
sunlight_propagates = true,
|
||||
|
@ -376,6 +385,7 @@ minetest.register_node("fences:fence_wood_35", { --left+right(3)+top+bottom(32)
|
|||
minetest.register_node("fences:fence_wood_12", { --left(1)+top(11)=12
|
||||
tiles = {"default_wood.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,fences=1,not_in_inventory=1},
|
||||
drop = 'fences:fence_wood',
|
||||
sunlight_propagates = true,
|
||||
|
@ -403,6 +413,7 @@ minetest.register_node("fences:fence_wood_12", { --left(1)+top(11)=12
|
|||
minetest.register_node("fences:fence_wood_22", { --left(1)+bottom(21)=22
|
||||
tiles = {"default_wood.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,fences=1,not_in_inventory=1},
|
||||
drop = 'fences:fence_wood',
|
||||
sunlight_propagates = true,
|
||||
|
@ -430,6 +441,7 @@ minetest.register_node("fences:fence_wood_22", { --left(1)+bottom(21)=22
|
|||
minetest.register_node("fences:fence_wood_33", { --left(1)+top+bottom(32)=33
|
||||
tiles = {"default_wood.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,fences=1,not_in_inventory=1},
|
||||
drop = 'fences:fence_wood',
|
||||
sunlight_propagates = true,
|
||||
|
@ -457,6 +469,7 @@ minetest.register_node("fences:fence_wood_33", { --left(1)+top+bottom(32)=33
|
|||
minetest.register_node("fences:fence_wood_34", { --right(2)+top+bottom(32)=34
|
||||
tiles = {"default_wood.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,fences=1,not_in_inventory=1},
|
||||
drop = 'fences:fence_wood',
|
||||
sunlight_propagates = true,
|
||||
|
@ -484,6 +497,7 @@ minetest.register_node("fences:fence_wood_34", { --right(2)+top+bottom(32)=34
|
|||
minetest.register_node("fences:fence_wood_23", { --right(2)+bottom(21)=23
|
||||
tiles = {"default_wood.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,fences=1,not_in_inventory=1},
|
||||
drop = 'fences:fence_wood',
|
||||
sunlight_propagates = true,
|
||||
|
@ -511,6 +525,7 @@ minetest.register_node("fences:fence_wood_23", { --right(2)+bottom(21)=23
|
|||
minetest.register_node("fences:fence_wood_13", { --right(2)+top(11)=13
|
||||
tiles = {"default_wood.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,fences=1,not_in_inventory=1},
|
||||
drop = 'fences:fence_wood',
|
||||
sunlight_propagates = true,
|
||||
|
@ -586,6 +601,7 @@ minetest.register_node("fences:fencegate_open", {
|
|||
wield_image = "default_fence.png",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
sunlight_propagates = true,
|
||||
walkable = true,
|
||||
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,fences=1,not_in_inventory=1,mesecon_effector_on=1},
|
||||
|
@ -630,6 +646,7 @@ minetest.register_node("fences:fencegate", {
|
|||
inventory_image = "fences_fencegate.png",
|
||||
wield_image = "fences_fencegate.png",
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
stack_max = 16,
|
||||
paramtype2 = "facedir",
|
||||
sunlight_propagates = true,
|
||||
|
|
|
@ -313,6 +313,7 @@ minetest.register_abm({
|
|||
minetest.register_node("flowers:pot",{
|
||||
description = "Flower Pot",
|
||||
drawtype = "nodebox",
|
||||
is_ground_content = false,
|
||||
node_box = { type = "fixed", fixed = {
|
||||
{-0.125,-0.125,-0.187500,-0.187500,-0.500,0.1875}, --Wall 1
|
||||
{0.1875,-0.125,-0.125,0.125,-0.500,0.1875}, --Wall 2
|
||||
|
|
|
@ -28,6 +28,7 @@ minetest.register_node("gemalde:node_"..n.."", {
|
|||
tiles = {"gemalde_"..n..".png"},
|
||||
visual_scale = 3.0,
|
||||
inventory_image = "gemalde_node.png",
|
||||
is_ground_content = false,
|
||||
wield_image = "gemalde_node.png",
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
function addhead(node, desc)
|
||||
minetest.register_node("head:"..node, {
|
||||
description = ""..desc,
|
||||
drawtype = "nodebox",
|
||||
drawtype = "nodebox",
|
||||
is_ground_content = false,
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
|
|
|
@ -4,6 +4,7 @@ minetest.register_node("inventory:crafting_table", {
|
|||
"inventory_crafting_table_side.png", "inventory_crafting_table_front.png", "inventory_crafting_table_front.png"},
|
||||
paramtype2 = "facedir",
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {choppy=2,oddly_breakable_by_hand=1,flammable=2},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
on_rightclick = function(pos, node, clicker, itemstack)
|
||||
|
|
|
@ -89,6 +89,7 @@ end
|
|||
minetest.register_node("itemframes:frame",{
|
||||
description = "Item Frame",
|
||||
drawtype = "nodebox",
|
||||
is_ground_content = false,
|
||||
node_box = { type = "fixed", fixed = {-0.5, -0.5, 7/16, 0.5, 0.5, 0.5} },
|
||||
selection_box = { type = "fixed", fixed = {-0.5, -0.5, 7/16, 0.5, 0.5, 0.5} },
|
||||
inventory_image = "itemframes_frame.png",
|
||||
|
|
|
@ -4,7 +4,7 @@ minetest.register_node("mesecons:mesecon_off", {
|
|||
inventory_image = "jeija_mesecon_off.png",
|
||||
wield_image = "jeija_mesecon_off.png",
|
||||
paramtype = "light",
|
||||
is_ground_content = true,
|
||||
is_ground_content = false,
|
||||
walkable = false,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
@ -22,7 +22,7 @@ minetest.register_node("mesecons:mesecon_on", {
|
|||
drawtype = "raillike",
|
||||
tiles = {"jeija_mesecon_on.png", "jeija_mesecon_curved_on.png", "jeija_mesecon_t_junction_on.png", "jeija_mesecon_crossing_on.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = true,
|
||||
is_ground_content = false,
|
||||
walkable = false,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
|
|
@ -99,6 +99,7 @@ for zmy=0, 1 do
|
|||
description = "Redstone Dust",
|
||||
drawtype = "nodebox",
|
||||
tiles = tiles_off,
|
||||
is_ground_content = false,
|
||||
-- inventory_image = "wires_inv.png",
|
||||
-- wield_image = "wires_inv.png",
|
||||
inventory_image = "default_redstone_dust.png",
|
||||
|
@ -128,6 +129,7 @@ for zmy=0, 1 do
|
|||
description = "Redstone Dust",
|
||||
drawtype = "nodebox",
|
||||
tiles = tiles_on,
|
||||
is_ground_content = false,
|
||||
-- inventory_image = "wires_inv.png",
|
||||
-- wield_image = "wires_inv.png",
|
||||
inventory_image = "default_redstone_dust.png",
|
||||
|
|
|
@ -26,6 +26,7 @@ minetest.register_node("mesecons_button:button_stone_off", {
|
|||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
legacy_wallmounted = true,
|
||||
is_ground_content = false,
|
||||
walkable = false,
|
||||
sunlight_propagates = true,
|
||||
selection_box = {
|
||||
|
@ -57,6 +58,7 @@ minetest.register_node("mesecons_button:button_stone_on", {
|
|||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
legacy_wallmounted = true,
|
||||
is_ground_content = false,
|
||||
walkable = false,
|
||||
sunlight_propagates = true,
|
||||
selection_box = {
|
||||
|
@ -83,6 +85,7 @@ minetest.register_node("mesecons_button:button_wood_off", {
|
|||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
legacy_wallmounted = true,
|
||||
is_ground_content = false,
|
||||
walkable = false,
|
||||
sunlight_propagates = true,
|
||||
selection_box = {
|
||||
|
@ -114,6 +117,7 @@ minetest.register_node("mesecons_button:button_wood_on", {
|
|||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
legacy_wallmounted = true,
|
||||
is_ground_content = false,
|
||||
walkable = false,
|
||||
sunlight_propagates = true,
|
||||
selection_box = {
|
||||
|
|
|
@ -82,6 +82,7 @@ function doors:register_door(name, def)
|
|||
tiles = {tb[2], tb[2], tb[2], tb[2], tb[1], tb[1].."^[transformfx"},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
drop = name,
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
|
@ -116,6 +117,7 @@ function doors:register_door(name, def)
|
|||
tiles = {tb[2], tb[2], tb[2], tb[2], tb[1].."^[transformfx", tb[1]},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
drop = name,
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
|
|
|
@ -110,7 +110,7 @@ minetest.register_node("mesecons_delayer:delayer_off_"..tostring(i), {
|
|||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = true,
|
||||
is_ground_content = false,
|
||||
drop = 'mesecons_delayer:delayer_off_1',
|
||||
on_punch = function (pos, node)
|
||||
if node.name=="mesecons_delayer:delayer_off_1" then
|
||||
|
@ -165,7 +165,7 @@ minetest.register_node("mesecons_delayer:delayer_on_"..tostring(i), {
|
|||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = true,
|
||||
is_ground_content = false,
|
||||
drop = 'mesecons_delayer:delayer_off_1',
|
||||
on_punch = function (pos, node)
|
||||
if node.name=="mesecons_delayer:delayer_on_1" then
|
||||
|
|
|
@ -2,6 +2,7 @@ minetest.register_node("mesecons_lightstone:lightstone_off", {
|
|||
tiles = {"jeija_lightstone_gray_off.png"},
|
||||
inventory_image = minetest.inventorycube("jeija_lightstone_gray_off.png"),
|
||||
groups = {cracky=2, mesecon_effector_off = 1, mesecon = 2},
|
||||
is_ground_content = false,
|
||||
description= "Redstone Lamp",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
mesecons = {effector = {
|
||||
|
@ -16,6 +17,7 @@ minetest.register_node("mesecons_lightstone:lightstone_on", {
|
|||
inventory_image = minetest.inventorycube("jeija_lightstone_gray_off.png"),
|
||||
groups = {cracky=2,not_in_creative_inventory=1, mesecon = 2},
|
||||
drop = "node mesecons_lightstone:lightstone_off",
|
||||
is_ground_content = false,
|
||||
light_source = 14,
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
mesecons = {effector = {
|
||||
|
|
|
@ -5,6 +5,7 @@ minetest.register_node("mesecons_noteblock:noteblock", {
|
|||
drawtype = "allfaces_optional",
|
||||
visual_scale = 1.3,
|
||||
paramtype="light",
|
||||
is_ground_content = false,
|
||||
after_place_node = function(pos)
|
||||
minetest.env:add_node(pos, {name="mesecons_noteblock:noteblock", param2=0})
|
||||
end,
|
||||
|
|
|
@ -154,6 +154,7 @@ minetest.register_node("mesecons_pistons:piston_normal_off", {
|
|||
},
|
||||
groups = {cracky = 3},
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
after_place_node = piston_orientate,
|
||||
mesecons_piston = pistonspec_normal,
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
|
@ -179,6 +180,7 @@ minetest.register_node("mesecons_pistons:piston_normal_on", {
|
|||
groups = {cracky = 3, not_in_creative_inventory = 1},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
drop = "mesecons_pistons:piston_normal_off",
|
||||
after_dig_node = piston_remove_pusher,
|
||||
node_box = piston_on_box,
|
||||
|
@ -204,6 +206,7 @@ minetest.register_node("mesecons_pistons:piston_pusher_normal", {
|
|||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
diggable = false,
|
||||
corresponding_piston = "mesecons_pistons:piston_normal_on",
|
||||
selection_box = piston_pusher_box,
|
||||
|
@ -235,6 +238,7 @@ minetest.register_node("mesecons_pistons:piston_sticky_off", {
|
|||
},
|
||||
groups = {cracky = 3},
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
after_place_node = piston_orientate,
|
||||
mesecons_piston = pistonspec_sticky,
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
|
@ -260,6 +264,7 @@ minetest.register_node("mesecons_pistons:piston_sticky_on", {
|
|||
groups = {cracky = 3, not_in_creative_inventory = 1},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
drop = "mesecons_pistons:piston_normal_off",
|
||||
after_dig_node = piston_remove_pusher,
|
||||
node_box = piston_on_box,
|
||||
|
@ -285,6 +290,7 @@ minetest.register_node("mesecons_pistons:piston_pusher_sticky", {
|
|||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
diggable = false,
|
||||
corresponding_piston = "mesecons_pistons:piston_sticky_on",
|
||||
selection_box = piston_pusher_box,
|
||||
|
@ -335,6 +341,7 @@ minetest.register_node("mesecons_pistons:piston_up_normal_off", {
|
|||
wield_image = "mesecons_piston_top.png",
|
||||
groups = {cracky = 3, not_in_creative_inventory = 1},
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
drop = "mesecons_pistons:piston_normal_off",
|
||||
mesecons_piston = pistonspec_normal_up,
|
||||
mesecons = {effector={
|
||||
|
@ -359,6 +366,7 @@ minetest.register_node("mesecons_pistons:piston_up_normal_on", {
|
|||
groups = {cracky = 3, not_in_creative_inventory = 1},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
drop = "mesecons_pistons:piston_normal_off",
|
||||
after_dig_node = piston_remove_pusher,
|
||||
node_box = piston_up_on_box,
|
||||
|
@ -384,6 +392,7 @@ minetest.register_node("mesecons_pistons:piston_up_pusher_normal", {
|
|||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
diggable = false,
|
||||
corresponding_piston = "mesecons_pistons:piston_up_normal_on",
|
||||
selection_box = piston_up_pusher_box,
|
||||
|
@ -418,6 +427,7 @@ minetest.register_node("mesecons_pistons:piston_up_sticky_off", {
|
|||
wield_image = "mesecons_piston_top.png",
|
||||
groups = {cracky = 3, not_in_creative_inventory = 1},
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
drop = "mesecons_pistons:piston_sticky_off",
|
||||
mesecons_piston = pistonspec_sticky_up,
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
|
@ -443,6 +453,7 @@ minetest.register_node("mesecons_pistons:piston_up_sticky_on", {
|
|||
groups = {cracky = 3, not_in_creative_inventory = 1},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
drop = "mesecons_pistons:piston_normal_off",
|
||||
after_dig_node = piston_remove_pusher,
|
||||
node_box = piston_up_on_box,
|
||||
|
@ -468,6 +479,7 @@ minetest.register_node("mesecons_pistons:piston_up_pusher_sticky", {
|
|||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
diggable = false,
|
||||
corresponding_piston = "mesecons_pistons:piston_up_sticky_on",
|
||||
selection_box = piston_up_pusher_box,
|
||||
|
@ -520,6 +532,7 @@ minetest.register_node("mesecons_pistons:piston_down_normal_off", {
|
|||
wield_image = "mesecons_piston_top.png",
|
||||
groups = {cracky = 3, not_in_creative_inventory = 1},
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
drop = "mesecons_pistons:piston_normal_off",
|
||||
mesecons_piston = pistonspec_normal_down,
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
|
@ -545,6 +558,7 @@ minetest.register_node("mesecons_pistons:piston_down_normal_on", {
|
|||
groups = {cracky = 3, not_in_creative_inventory = 1},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
drop = "mesecons_pistons:piston_normal_off",
|
||||
after_dig_node = piston_remove_pusher,
|
||||
node_box = piston_down_on_box,
|
||||
|
@ -570,6 +584,7 @@ minetest.register_node("mesecons_pistons:piston_down_pusher_normal", {
|
|||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
diggable = false,
|
||||
corresponding_piston = "mesecons_pistons:piston_down_normal_on",
|
||||
selection_box = piston_down_pusher_box,
|
||||
|
@ -600,6 +615,7 @@ minetest.register_node("mesecons_pistons:piston_down_sticky_off", {
|
|||
wield_image = "mesecons_piston_top.png",
|
||||
groups = {cracky = 3, not_in_creative_inventory = 1},
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
drop = "mesecons_pistons:piston_sticky_off",
|
||||
mesecons_piston = pistonspec_sticky_down,
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
|
@ -625,6 +641,7 @@ minetest.register_node("mesecons_pistons:piston_down_sticky_on", {
|
|||
groups = {cracky = 3, not_in_creative_inventory = 1},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
drop = "mesecons_pistons:piston_sticky_off",
|
||||
after_dig_node = piston_remove_pusher,
|
||||
node_box = piston_down_on_box,
|
||||
|
@ -650,6 +667,7 @@ minetest.register_node("mesecons_pistons:piston_down_pusher_sticky", {
|
|||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
diggable = false,
|
||||
corresponding_piston = "mesecons_pistons:piston_down_sticky_on",
|
||||
selection_box = piston_down_pusher_box,
|
||||
|
|
|
@ -63,6 +63,7 @@ function mesecon:register_pressure_plate(offstate, onstate, description, texture
|
|||
selection_box = pp_box_off,
|
||||
node_box = pp_box_off,
|
||||
groups = {snappy = 2, oddly_breakable_by_hand = 3},
|
||||
is_ground_content = false,
|
||||
description = description,
|
||||
pressureplate = ppspec,
|
||||
on_timer = pp_on_timer,
|
||||
|
@ -81,6 +82,7 @@ function mesecon:register_pressure_plate(offstate, onstate, description, texture
|
|||
selection_box = pp_box_on,
|
||||
node_box = pp_box_on,
|
||||
groups = {snappy = 2, oddly_breakable_by_hand = 3, not_in_creative_inventory = 1},
|
||||
is_ground_content = false,
|
||||
drop = offstate,
|
||||
pressureplate = ppspec,
|
||||
on_timer = pp_on_timer,
|
||||
|
|
|
@ -8,7 +8,7 @@ minetest.register_node("mesecons_solarpanel:solar_panel_on", {
|
|||
wield_image = "jeija_solar_panel.png",
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
is_ground_content = true,
|
||||
is_ground_content = false,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = boxes
|
||||
|
@ -33,8 +33,8 @@ minetest.register_node("mesecons_solarpanel:solar_panel_off", {
|
|||
wield_image = "jeija_solar_panel.png",
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
is_ground_content = true,
|
||||
selection_box = {
|
||||
is_ground_content = false,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = boxes
|
||||
},
|
||||
|
@ -97,7 +97,7 @@ minetest.register_node("mesecons_solarpanel:solar_panel_inverted_on", {
|
|||
wield_image = "jeija_solar_panel_inverted.png",
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
is_ground_content = true,
|
||||
is_ground_content = false,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = boxes
|
||||
|
@ -122,8 +122,8 @@ minetest.register_node("mesecons_solarpanel:solar_panel_inverted_off", {
|
|||
wield_image = "jeija_solar_panel_inverted.png",
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
is_ground_content = true,
|
||||
selection_box = {
|
||||
is_ground_content = false,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = boxes
|
||||
},
|
||||
|
|
|
@ -56,6 +56,7 @@ minetest.register_node("mesecons_torch:mesecon_torch_off", {
|
|||
paramtype = "light",
|
||||
walkable = false,
|
||||
paramtype2 = "wallmounted",
|
||||
is_ground_content = false,
|
||||
selection_box = torch_selectionbox,
|
||||
groups = {dig_immediate = 3, not_in_creative_inventory = 1},
|
||||
drop = "mesecons_torch:mesecon_torch_on",
|
||||
|
@ -75,6 +76,7 @@ minetest.register_node("mesecons_torch:mesecon_torch_on", {
|
|||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
paramtype2 = "wallmounted",
|
||||
is_ground_content = false,
|
||||
selection_box = torch_selectionbox,
|
||||
groups = {dig_immediate=3},
|
||||
light_source = 6,
|
||||
|
@ -91,6 +93,7 @@ minetest.register_node("mesecons_torch:redstoneblock", {
|
|||
stack_max = 64,
|
||||
groups = {cracky=1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
is_ground_content = false,
|
||||
mesecons = {receptor = {
|
||||
state = mesecon.state.on,
|
||||
rules = torch_get_output_rules
|
||||
|
|
|
@ -28,6 +28,7 @@ minetest.register_node("mesecons_walllever:wall_lever_off", {
|
|||
{ -1/16, -8/16, 7/16, 1/16, 0/16, 5/16 }} -- the lever itself.
|
||||
},
|
||||
groups = {dig_immediate=2},
|
||||
is_ground_content = false,
|
||||
description="Lever",
|
||||
on_punch = function (pos, node)
|
||||
mesecon:swap_node(pos, "mesecons_walllever:wall_lever_on")
|
||||
|
@ -66,6 +67,7 @@ minetest.register_node("mesecons_walllever:wall_lever_on", {
|
|||
{ -1/16, 0/16, 7/16, 1/16, 8/16, 5/16 }} -- the lever itself.
|
||||
},
|
||||
groups = {dig_immediate = 2, not_in_creative_inventory = 1},
|
||||
is_ground_content = false,
|
||||
drop = '"mesecons_walllever:wall_lever_off" 1',
|
||||
description="Lever",
|
||||
on_punch = function (pos, node)
|
||||
|
|
|
@ -87,6 +87,7 @@ minetest.register_node("signs:sign_wall", {
|
|||
description = "Sign",
|
||||
inventory_image = "default_sign_wall.png",
|
||||
walkable = false,
|
||||
is_ground_content = false,
|
||||
wield_image = "default_sign_wall.png",
|
||||
node_placement_prediction = "",
|
||||
paramtype = "light",
|
||||
|
@ -158,6 +159,7 @@ minetest.register_node("signs:sign_yard", {
|
|||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
is_ground_content = false,
|
||||
paramtype2 = "facedir",
|
||||
drawtype = "nodebox",
|
||||
node_box = {type = "fixed", fixed = {
|
||||
|
|
|
@ -11,7 +11,7 @@ function stairs.register_stair(subname, recipeitem, groups, images, description,
|
|||
tiles = images,
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = true,
|
||||
is_ground_content = false,
|
||||
groups = groups,
|
||||
sounds = sounds,
|
||||
node_box = {
|
||||
|
@ -60,7 +60,7 @@ function stairs.register_stair(subname, recipeitem, groups, images, description,
|
|||
tiles = images,
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = true,
|
||||
is_ground_content = false,
|
||||
groups = groups,
|
||||
sounds = sounds,
|
||||
node_box = {
|
||||
|
@ -78,7 +78,7 @@ function stairs.register_stair(subname, recipeitem, groups, images, description,
|
|||
tiles = images,
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = true,
|
||||
is_ground_content = false,
|
||||
groups = groups,
|
||||
sounds = sounds,
|
||||
node_box = {
|
||||
|
@ -117,7 +117,7 @@ function stairs.register_slab(subname, recipeitem, groups, images, description,
|
|||
drawtype = "nodebox",
|
||||
tiles = images,
|
||||
paramtype = "light",
|
||||
is_ground_content = true,
|
||||
is_ground_content = false,
|
||||
groups = groups,
|
||||
sounds = sounds,
|
||||
node_box = {
|
||||
|
@ -212,7 +212,7 @@ function stairs.register_slab(subname, recipeitem, groups, images, description,
|
|||
stack_max = 64,
|
||||
paramtype2 = "facedir",
|
||||
on_place = minetest.rotate_node,
|
||||
is_ground_content = true,
|
||||
is_ground_content = false,
|
||||
groups = groups,
|
||||
sounds = sounds,
|
||||
node_box = {
|
||||
|
|
|
@ -5,6 +5,7 @@ minetest.register_craftitem("throwing:arrow", {
|
|||
|
||||
minetest.register_node("throwing:arrow_box", {
|
||||
drawtype = "nodebox",
|
||||
is_ground_content = false,
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
|
|
|
@ -35,6 +35,7 @@ minetest.register_node("tnt:tnt", {
|
|||
"default_tnt_side.png", "default_tnt_side.png",
|
||||
"default_tnt_side.png", "default_tnt_side.png"},
|
||||
dug_item = '', -- Get nothing
|
||||
is_ground_content = false,
|
||||
material = {
|
||||
diggability = "not",
|
||||
},
|
||||
|
@ -160,4 +161,4 @@ minetest.register_craft({
|
|||
{'default:sand','default:gunpowder','default:sand'},
|
||||
{'default:gunpowder','default:sand','default:gunpowder'}
|
||||
}
|
||||
})
|
||||
})
|
||||
|
|
|
@ -140,6 +140,7 @@ minetest.register_node("torches:floor", {
|
|||
"torches_torch.png^[transformfx", "torches_torch.png", "torches_torch.png"},
|
||||
paramtype = "light",
|
||||
paramtype2 = "none",
|
||||
is_ground_content = false,
|
||||
sunlight_propagates = true,
|
||||
drop = "default:torch",
|
||||
walkable = false,
|
||||
|
@ -186,6 +187,7 @@ minetest.register_node("torches:wand", {
|
|||
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
light_source = 13,
|
||||
|
|
|
@ -5,6 +5,7 @@ minetest.register_node("vessels:glass_bottle", {
|
|||
description = "Glass Bottle",
|
||||
drawtype = "plantlike",
|
||||
tiles = {"vessels_glass_bottle.png"},
|
||||
is_ground_content = false,
|
||||
inventory_image = "vessels_glass_bottle_inv.png",
|
||||
wield_image = "vessels_glass_bottle.png",
|
||||
paramtype = "light",
|
||||
|
|
|
@ -108,6 +108,7 @@ local function register_wall(nodename, name, texture, invtex)
|
|||
fixed = {-4/16, -1, -4/16, 4/16, 1, 4/16}
|
||||
},
|
||||
drawtype = "nodebox",
|
||||
is_ground_content = false,
|
||||
tile_images = {texture},
|
||||
paramtype = "light",
|
||||
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3,fences=1},
|
||||
|
@ -127,6 +128,7 @@ local function register_wall(nodename, name, texture, invtex)
|
|||
},
|
||||
tile_images = {texture},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3,fences=1},
|
||||
drop = nodename,
|
||||
node_box = {
|
||||
|
@ -143,6 +145,7 @@ local function register_wall(nodename, name, texture, invtex)
|
|||
},
|
||||
tile_images = {texture},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3,fences=1},
|
||||
drop = nodename,
|
||||
node_box = {
|
||||
|
@ -155,6 +158,7 @@ local function register_wall(nodename, name, texture, invtex)
|
|||
minetest.register_node(nodename, {
|
||||
description = name,
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
tile_images = {texture},
|
||||
inventory_image = invtex,
|
||||
stack_max = 64,
|
||||
|
@ -195,4 +199,4 @@ minetest.register_craft({
|
|||
})
|
||||
|
||||
minetest.register_on_placenode(update_wall_global)
|
||||
minetest.register_on_dignode(update_wall_global)
|
||||
minetest.register_on_dignode(update_wall_global)
|
||||
|
|
|
@ -34,6 +34,7 @@ for _, row in ipairs(wool.dyes) do
|
|||
minetest.register_node("wool:"..name, {
|
||||
description = desc.." Wool",
|
||||
stack_max = 64,
|
||||
is_ground_content = false,
|
||||
tiles = {"wool_"..name..".png"},
|
||||
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,flammable=3,wool=1},
|
||||
sounds = default.node_sound_defaults(),
|
||||
|
@ -41,6 +42,7 @@ for _, row in ipairs(wool.dyes) do
|
|||
minetest.register_node("wool:"..name.."_carpet", {
|
||||
description = desc.." Carpet",
|
||||
walkable = false,
|
||||
is_ground_content = false,
|
||||
tiles = {"wool_"..name..".png"},
|
||||
wield_image = "wool_"..name..".png",
|
||||
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,carpet=1},
|
||||
|
|
|
@ -78,6 +78,7 @@ function pane(node, desc, dropitem, recipeitem, color)
|
|||
tile_images = {"xpanes_top_"..node..""..color..".png", "xpanes_top_"..node..""..color..".png", texture},
|
||||
paramtype = "light",
|
||||
use_texture_alpha = true,
|
||||
is_ground_content = false,
|
||||
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3},
|
||||
drop = dropitem,
|
||||
node_box = {
|
||||
|
@ -95,6 +96,7 @@ function pane(node, desc, dropitem, recipeitem, color)
|
|||
description = desc,
|
||||
tile_images = {"xpanes_pane_"..node..""..color..".png"},
|
||||
inventory_image = "xpanes_pane_"..node..""..color..".png",
|
||||
is_ground_content = false,
|
||||
paramtype = "light",
|
||||
stack_max = 64,
|
||||
use_texture_alpha = true,
|
||||
|
|
Loading…
Reference in New Issue