Set transparency rules for many blocks
This commit is contained in:
parent
4002fe123c
commit
bb0123c789
|
@ -21,6 +21,7 @@ minetest.register_node("mesecons_lightstone:lightstone_on", {
|
|||
groups = {handy=1, not_in_creative_inventory=1, mesecon = 2},
|
||||
drop = "node mesecons_lightstone:lightstone_off",
|
||||
is_ground_content = false,
|
||||
paramtype = "light",
|
||||
-- Real light level: 15 (Minetest caps at 14)
|
||||
light_source = 14,
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
|
|
|
@ -8,6 +8,7 @@ minetest.register_node("mesecons_solarpanel:solar_panel_on", {
|
|||
wield_image = "jeija_solar_panel.png",
|
||||
wield_scale = { x=1, y=1, z=3 },
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
@ -41,6 +42,7 @@ minetest.register_node("mesecons_solarpanel:solar_panel_off", {
|
|||
wield_image = "jeija_solar_panel.png",
|
||||
wield_scale = { x=1, y=1, z=3 },
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
@ -115,6 +117,7 @@ minetest.register_node("mesecons_solarpanel:solar_panel_inverted_on", {
|
|||
wield_image = "jeija_solar_panel_inverted.png",
|
||||
wield_scale = { x=1, y=1, z=3 },
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
@ -148,6 +151,7 @@ minetest.register_node("mesecons_solarpanel:solar_panel_inverted_off", {
|
|||
wield_image = "jeija_solar_panel_inverted.png",
|
||||
wield_scale = { x=1, y=1, z=3 },
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
|
|
@ -599,6 +599,8 @@ for color, desc in pairs(boxtypes) do
|
|||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
stack_max = 1,
|
||||
drop = "",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
on_place = minetest.rotate_node,
|
||||
on_construct = function(pos)
|
||||
|
|
|
@ -1196,6 +1196,7 @@ minetest.register_node("mcl_core:cactus", {
|
|||
groups = {handy=1, attached_node=1, plant=1, deco_block=1, dig_by_piston=1},
|
||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
node_placement_prediction = "",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
|
@ -1629,6 +1630,7 @@ minetest.register_node("mcl_core:lava_flowing", {
|
|||
},
|
||||
},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "flowingliquid",
|
||||
-- Real light level: 15 (but Minetest caps at 14)
|
||||
light_source = 14,
|
||||
|
@ -1679,6 +1681,7 @@ Lava interacts with water various ways:
|
|||
}
|
||||
},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
-- Real light level: 15 (but Minetest caps at 14)
|
||||
light_source = 14,
|
||||
walkable = false,
|
||||
|
|
|
@ -185,6 +185,7 @@ minetest.register_node("mcl_end:chorus_flower", {
|
|||
},
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
node_box = chorus_flower_box,
|
||||
selection_box = { type = "regular" },
|
||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
||||
|
@ -205,6 +206,7 @@ minetest.register_node("mcl_end:chorus_flower_dead", {
|
|||
},
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
node_box = chorus_flower_box,
|
||||
selection_box = { type = "regular" },
|
||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
||||
|
@ -226,6 +228,7 @@ minetest.register_node("mcl_end:chorus_plant", {
|
|||
},
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
-- TODO: Maybe improve nodebox a bit to look more “natural”
|
||||
node_box = {
|
||||
type = "connected",
|
||||
|
|
|
@ -334,6 +334,7 @@ minetest.register_node("mcl_furnaces:furnace_active", {
|
|||
"default_furnace_side.png", "default_furnace_front_active.png",
|
||||
},
|
||||
paramtype2 = "facedir",
|
||||
paramtype = "light",
|
||||
light_source = 13,
|
||||
drop = "mcl_furnaces:furnace",
|
||||
groups = {pickaxey=1, container=4, deco_block=1, not_in_creative_inventory=1, material_stone=1},
|
||||
|
|
|
@ -13,6 +13,8 @@ minetest.register_node("mcl_nether:glowstone", {
|
|||
{items = {'mcl_nether:glowstone_dust 2'}},
|
||||
}
|
||||
},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
-- Real light level: 15 (but Minetest caps at 14)
|
||||
light_source = 14,
|
||||
sounds = mcl_sounds.node_sound_glass_defaults(),
|
||||
|
|
|
@ -49,6 +49,8 @@ minetest.register_node("mcl_tnt:tnt", {
|
|||
is_ground_content = false,
|
||||
stack_max = 64,
|
||||
description = "TNT",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
_doc_items_longdesc = string.format("An explosive device. When it explodes, it will hurt living beings, destroy blocks around it, throw blocks affected by gravity all over the place and light fires. A single TNT has an explosion radius of %d. With a small chance, blocks may drop as an item (as if being mined) rather than being destroyed. TNT can be ignited by tools, explosions, fire, lava and redstone signals.", TNT_RANGE),
|
||||
_doc_items_usagehelp = "Place the TNT on the ground and ignite it with one of the methods above. Quickly get in safe distance quickly. The TNT will start to be affected by gravity and explodes in 4 seconds.",
|
||||
groups = { dig_immediate = 3, tnt = 1, },
|
||||
|
|
Loading…
Reference in New Issue