forked from VoxeLibre/VoxeLibre
Remove sunlight propagation for various nodes
This commit is contained in:
parent
31f545202a
commit
7196485294
|
@ -193,7 +193,6 @@ minetest.register_node("mesecons_pistons:piston_normal_off", {
|
|||
},
|
||||
groups = {handy = 1},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
after_place_node = piston_orientate,
|
||||
|
@ -221,7 +220,6 @@ minetest.register_node("mesecons_pistons:piston_normal_on", {
|
|||
},
|
||||
groups = {handy=1, not_in_creative_inventory = 1},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
drop = "mesecons_pistons:piston_normal_off",
|
||||
|
@ -251,7 +249,6 @@ minetest.register_node("mesecons_pistons:piston_pusher_normal", {
|
|||
"mesecons_piston_pusher_front.png"
|
||||
},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
after_destruct = piston_remove_base,
|
||||
|
@ -292,7 +289,6 @@ minetest.register_node("mesecons_pistons:piston_sticky_off", {
|
|||
},
|
||||
groups = {handy=1},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
after_place_node = piston_orientate,
|
||||
|
@ -320,7 +316,6 @@ minetest.register_node("mesecons_pistons:piston_sticky_on", {
|
|||
},
|
||||
groups = {handy=1, not_in_creative_inventory = 1},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
drop = "mesecons_pistons:piston_sticky_off",
|
||||
|
@ -350,7 +345,6 @@ minetest.register_node("mesecons_pistons:piston_pusher_sticky", {
|
|||
"mesecons_piston_pusher_front_sticky.png"
|
||||
},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
after_destruct = piston_remove_base,
|
||||
|
@ -405,7 +399,6 @@ minetest.register_node("mesecons_pistons:piston_up_normal_off", {
|
|||
},
|
||||
groups = {handy=1, not_in_creative_inventory = 1},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
drop = "mesecons_pistons:piston_normal_off",
|
||||
|
@ -435,7 +428,6 @@ minetest.register_node("mesecons_pistons:piston_up_normal_on", {
|
|||
},
|
||||
groups = {hanry=1, not_in_creative_inventory = 1},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
drop = "mesecons_pistons:piston_normal_off",
|
||||
|
@ -465,7 +457,6 @@ minetest.register_node("mesecons_pistons:piston_up_pusher_normal", {
|
|||
"mesecons_piston_pusher_top.png^[transformR180",
|
||||
},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
after_destruct = piston_remove_base,
|
||||
|
@ -503,7 +494,6 @@ minetest.register_node("mesecons_pistons:piston_up_sticky_off", {
|
|||
},
|
||||
groups = {handy=1, not_in_creative_inventory = 1},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
drop = "mesecons_pistons:piston_sticky_off",
|
||||
|
@ -533,7 +523,6 @@ minetest.register_node("mesecons_pistons:piston_up_sticky_on", {
|
|||
},
|
||||
groups = {handy=1, not_in_creative_inventory = 1},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
drop = "mesecons_pistons:piston_sticky_off",
|
||||
|
@ -563,7 +552,6 @@ minetest.register_node("mesecons_pistons:piston_up_pusher_sticky", {
|
|||
"mesecons_piston_pusher_top.png^[transformR180",
|
||||
},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
after_destruct = piston_remove_base,
|
||||
|
@ -620,7 +608,6 @@ minetest.register_node("mesecons_pistons:piston_down_normal_off", {
|
|||
},
|
||||
groups = {handy=1, not_in_creative_inventory = 1},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
drop = "mesecons_pistons:piston_normal_off",
|
||||
|
@ -648,7 +635,6 @@ minetest.register_node("mesecons_pistons:piston_down_normal_on", {
|
|||
},
|
||||
groups = {handy=1, not_in_creative_inventory = 1},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
drop = "mesecons_pistons:piston_normal_off",
|
||||
|
@ -678,7 +664,6 @@ minetest.register_node("mesecons_pistons:piston_down_pusher_normal", {
|
|||
"mesecons_piston_pusher_top.png",
|
||||
},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
after_destruct = piston_remove_base,
|
||||
|
@ -713,7 +698,6 @@ minetest.register_node("mesecons_pistons:piston_down_sticky_off", {
|
|||
},
|
||||
groups = {handy=1, not_in_creative_inventory = 1},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
drop = "mesecons_pistons:piston_sticky_off",
|
||||
|
@ -741,7 +725,6 @@ minetest.register_node("mesecons_pistons:piston_down_sticky_on", {
|
|||
},
|
||||
groups = {handy=1, not_in_creative_inventory = 1},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
drop = "mesecons_pistons:piston_sticky_off",
|
||||
|
@ -771,7 +754,6 @@ minetest.register_node("mesecons_pistons:piston_down_pusher_sticky", {
|
|||
"mesecons_piston_pusher_top.png",
|
||||
},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
after_destruct = piston_remove_base,
|
||||
|
|
|
@ -8,7 +8,6 @@ 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",
|
||||
|
@ -42,7 +41,6 @@ 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",
|
||||
|
@ -117,7 +115,6 @@ 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",
|
||||
|
@ -151,7 +148,6 @@ 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",
|
||||
|
|
|
@ -60,7 +60,6 @@ function mcl_beds.register_bed(name, def)
|
|||
drawtype = "nodebox",
|
||||
tiles = def.tiles.bottom,
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
stack_max = 1,
|
||||
|
@ -183,7 +182,6 @@ function mcl_beds.register_bed(name, def)
|
|||
tiles = def.tiles.top,
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
-- FIXME: Should be bouncy=66, but this would be a higher bounciness than slime blocks!
|
||||
groups = {handy = 1, flammable = 3, bed = 2, dig_by_piston=1, bouncy=33, fall_damage_add_percent=-50},
|
||||
|
|
|
@ -50,7 +50,6 @@ minetest.register_node("mcl_cauldrons:cauldron", {
|
|||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
sunlight_propagates = true,
|
||||
groups = {pickaxey=1, deco_block=1, cauldron=1},
|
||||
node_box = cauldron_nodeboxes[0],
|
||||
selection_box = { type = "regular" },
|
||||
|
@ -80,7 +79,6 @@ local register_filled_cauldron = function(water_level, description, river_water)
|
|||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
sunlight_propagates = true,
|
||||
groups = {pickaxey=1, not_in_creative_inventory=1, cauldron=(1+water_level)},
|
||||
node_box = cauldron_nodeboxes[water_level],
|
||||
collision_box = cauldron_nodeboxes[0],
|
||||
|
|
|
@ -67,7 +67,6 @@ minetest.register_node("mcl_chests:"..basename, {
|
|||
_doc_items_hidden = hidden,
|
||||
tiles = tiles_table.small,
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
stack_max = 64,
|
||||
drop = drop,
|
||||
|
@ -175,7 +174,6 @@ minetest.register_node("mcl_chests:"..basename, {
|
|||
minetest.register_node("mcl_chests:"..basename.."_left", {
|
||||
tiles = tiles_table.left,
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
groups = {handy=1,axey=1, container=5,not_in_creative_inventory=1, material_wood=1},
|
||||
drop = drop,
|
||||
|
@ -291,7 +289,6 @@ minetest.register_node("mcl_chests:"..basename.."_left", {
|
|||
minetest.register_node("mcl_chests:"..basename.."_right", {
|
||||
tiles = tiles_table.right,
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
groups = {handy=1,axey=1, container=6,not_in_creative_inventory=1, material_wood=1},
|
||||
drop = drop,
|
||||
|
@ -579,7 +576,6 @@ minetest.register_node("mcl_chests:ender_chest", {
|
|||
is_ground_content = false,
|
||||
paramtype = "light",
|
||||
light_source = 7,
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
drop = "mcl_core:obsidian 8",
|
||||
|
@ -674,7 +670,6 @@ for color, desc in pairs(boxtypes) do
|
|||
stack_max = 1,
|
||||
drop = "",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
-- TODO: Make shulker boxes rotatable
|
||||
-- This doesn't work, it just destroys the inventory:
|
||||
|
|
|
@ -106,8 +106,6 @@ minetest.register_node("mcl_core:lava_flowing", {
|
|||
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=6.6}
|
||||
},
|
||||
},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "flowingliquid",
|
||||
-- Real light level: 15 (but Minetest caps at 14)
|
||||
light_source = 14,
|
||||
|
@ -157,8 +155,6 @@ Lava interacts with water various ways:
|
|||
backface_culling = false,
|
||||
}
|
||||
},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
-- Real light level: 15 (but Minetest caps at 14)
|
||||
light_source = 14,
|
||||
sounds = mcl_sounds.node_sound_lava_defaults(),
|
||||
|
|
|
@ -32,7 +32,6 @@ minetest.register_node("mcl_core:slimeblock", {
|
|||
tiles = {"mcl_core_slime.png"},
|
||||
paramtype = "light",
|
||||
use_texture_alpha = true,
|
||||
sunlight_propagates = true,
|
||||
stack_max = 64,
|
||||
-- According to Minecraft Wiki, bouncing off a slime block from a height off 255 blocks should result in a bounce height of 50 blocks
|
||||
-- bouncy=44 makes the player bounce up to 49.6. This value was chosen by experiment.
|
||||
|
@ -57,7 +56,6 @@ minetest.register_node("mcl_core:cobweb", {
|
|||
tiles = {"mcl_core_web.png"},
|
||||
inventory_image = "mcl_core_web.png",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
liquid_viscosity = 14,
|
||||
liquidtype = "source",
|
||||
liquid_alternative_flowing = "mcl_core:cobweb",
|
||||
|
|
|
@ -21,7 +21,6 @@ local def_hopper = {
|
|||
groups = {pickaxey=1, container=2,deco_block=1,},
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
-- FIXME: mcl_hoppers_hopper_inside.png is unused by hoppers.
|
||||
tiles = {"mcl_hoppers_hopper_inside.png^mcl_hoppers_hopper_top.png", "mcl_hoppers_hopper_outside.png", "mcl_hoppers_hopper_outside.png", "mcl_hoppers_hopper_outside.png", "mcl_hoppers_hopper_outside.png", "mcl_hoppers_hopper_outside.png"},
|
||||
node_box = {
|
||||
|
@ -181,7 +180,6 @@ local def_hopper_side = {
|
|||
groups = {pickaxey=1, container=2,not_in_creative_inventory=1},
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
tiles = {"mcl_hoppers_hopper_inside.png^mcl_hoppers_hopper_top.png", "mcl_hoppers_hopper_outside.png", "mcl_hoppers_hopper_outside.png", "mcl_hoppers_hopper_outside.png", "mcl_hoppers_hopper_outside.png", "mcl_hoppers_hopper_outside.png"},
|
||||
node_box = {
|
||||
|
|
|
@ -238,7 +238,6 @@ minetest.register_node("mcl_mobspawners:spawner", {
|
|||
tiles = {"mob_spawner.png"},
|
||||
drawtype = "glasslike",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
walkable = true,
|
||||
description = S("Mob Spawner"),
|
||||
_doc_items_longdesc = S("A mob spawner regularily causes mobs to appear around it while a player is nearby. Some mob spawners are disabled while in light."),
|
||||
|
|
|
@ -14,7 +14,6 @@ minetest.register_node("mcl_nether:glowstone", {
|
|||
}
|
||||
},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
-- Real light level: 15 (but Minetest caps at 14)
|
||||
light_source = 14,
|
||||
sounds = mcl_sounds.node_sound_glass_defaults(),
|
||||
|
|
|
@ -104,7 +104,6 @@ function mcl_stairs.register_stair(subname, recipeitem, groups, images, descript
|
|||
tiles = images,
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
sunlight_propagates = false,
|
||||
is_ground_content = false,
|
||||
groups = groups,
|
||||
sounds = sounds,
|
||||
|
@ -200,7 +199,6 @@ function mcl_stairs.register_slab(subname, recipeitem, groups, images, descripti
|
|||
tiles = images,
|
||||
paramtype = "light",
|
||||
-- Facedir intentionally left out (see below)
|
||||
sunlight_propagates = false,
|
||||
is_ground_content = false,
|
||||
groups = groups,
|
||||
sounds = sounds,
|
||||
|
|
|
@ -609,7 +609,6 @@ function mcstair.add(name, stairtiles)
|
|||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
sunlight_propagates = false,
|
||||
groups = outer_groups,
|
||||
sounds = node_def.sounds,
|
||||
node_box = {
|
||||
|
@ -632,7 +631,6 @@ function mcstair.add(name, stairtiles)
|
|||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
sunlight_propagates = false,
|
||||
groups = inner_groups,
|
||||
sounds = node_def.sounds,
|
||||
node_box = {
|
||||
|
|
Loading…
Reference in New Issue