mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-20 01:43:45 +01:00
Add is_ground_content=false to some nodes
This commit is contained in:
parent
d79d629e3d
commit
005b509938
@ -12,6 +12,7 @@ minetest.register_node("mobs:spawner", {
|
||||
walkable = true,
|
||||
description = S("Monster Spawner"),
|
||||
groups = {pickaxey=1, not_in_creative_inventory = 1, material_stone=1},
|
||||
is_ground_content = false,
|
||||
drop = "",
|
||||
|
||||
on_construct = function(pos)
|
||||
|
@ -185,6 +185,7 @@ minetest.register_node("mcl_inventory:workbench", {
|
||||
description = "Crafting Table",
|
||||
_doc_items_longdesc = "A crafting table is a block which grants you access to a 3×3 crafting grid which allows you to perform advanced crafts.",
|
||||
_doc_items_usagehelp = "Rightclick the crafting table to access the 3×3 crafting grid.",
|
||||
is_ground_content = false,
|
||||
tiles = {"crafting_workbench_top.png", "default_wood.png", "crafting_workbench_side.png",
|
||||
"crafting_workbench_side.png", "crafting_workbench_front.png", "crafting_workbench_front.png"},
|
||||
paramtype2 = "facedir",
|
||||
|
@ -49,6 +49,7 @@ minetest.register_node("mcl_cauldrons:cauldron", {
|
||||
inventory_image = "mcl_cauldrons_cauldron.png",
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
sunlight_propagates = true,
|
||||
groups = {pickaxey=1, deco_block=1},
|
||||
node_box = cauldron_nodeboxes[0],
|
||||
@ -70,6 +71,7 @@ local register_filled_cauldron = function(water_level, description)
|
||||
_doc_items_create_entry = false,
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
sunlight_propagates = true,
|
||||
groups = {pickaxey=1, not_in_creative_inventory=1},
|
||||
node_box = cauldron_nodeboxes[water_level],
|
||||
|
@ -241,6 +241,7 @@ minetest.register_node("mcl_core:stonebrick", {
|
||||
stack_max = 64,
|
||||
groups = {pickaxey=1, stone=1, stonebrick=1, building_block=1, deco_block=1, material_stone=1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
is_ground_content = false,
|
||||
_mcl_blast_resistance = 30,
|
||||
_mcl_hardness = 1.5,
|
||||
})
|
||||
@ -252,6 +253,7 @@ minetest.register_node("mcl_core:stonebrickcarved", {
|
||||
stack_max = 64,
|
||||
groups = {pickaxey=1, stone=1, stonebrick=1, building_block=1, deco_block=1, material_stone=1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
is_ground_content = false,
|
||||
_mcl_blast_resistance = 30,
|
||||
_mcl_hardness = 1.5,
|
||||
})
|
||||
@ -263,6 +265,7 @@ minetest.register_node("mcl_core:stonebrickcracked", {
|
||||
stack_max = 64,
|
||||
groups = {pickaxey=1, stone=1, stonebrick=1, building_block=1, deco_block=1, material_stone=1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
is_ground_content = false,
|
||||
_mcl_blast_resistance = 30,
|
||||
_mcl_hardness = 1.5,
|
||||
})
|
||||
@ -273,6 +276,7 @@ minetest.register_node("mcl_core:stonebrickmossy", {
|
||||
stack_max = 64,
|
||||
groups = {pickaxey=1, stone=1, stonebrick=1, building_block=1, deco_block=1, material_stone=1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
is_ground_content = false,
|
||||
_mcl_blast_resistance = 30,
|
||||
_mcl_hardness = 1.5,
|
||||
})
|
||||
@ -294,6 +298,7 @@ minetest.register_node("mcl_core:granite_smooth", {
|
||||
_doc_items_longdesc = "Polished granite is a decorational building block made from granite.",
|
||||
tiles = {"default_granite_smooth.png"},
|
||||
stack_max = 64,
|
||||
is_ground_content = false,
|
||||
groups = {pickaxey=1, stone=1, building_block=1, material_stone=1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
_mcl_blast_resistance = 30,
|
||||
@ -316,6 +321,7 @@ minetest.register_node("mcl_core:andesite_smooth", {
|
||||
description = "Polished Andesite",
|
||||
_doc_items_longdesc = "Polished andesite is a decorational building block made from andesite.",
|
||||
tiles = {"default_andesite_smooth.png"},
|
||||
is_ground_content = false,
|
||||
stack_max = 64,
|
||||
groups = {pickaxey=1, stone=1, building_block=1, material_stone=1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
@ -339,6 +345,7 @@ minetest.register_node("mcl_core:diorite_smooth", {
|
||||
description = "Polished Diorite",
|
||||
_doc_items_longdesc = "Polished diorite is a decorational building block made from diorite.",
|
||||
tiles = {"default_diorite_smooth.png"},
|
||||
is_ground_content = false,
|
||||
stack_max = 64,
|
||||
groups = {pickaxey=1, stone=1, building_block=1, material_stone=1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
@ -1500,7 +1507,7 @@ minetest.register_node("mcl_core:lava_source", {
|
||||
minetest.register_node("mcl_core:cobble", {
|
||||
description = "Cobblestone",
|
||||
tiles = {"default_cobble.png"},
|
||||
is_ground_content = true,
|
||||
is_ground_content = false,
|
||||
stack_max = 64,
|
||||
groups = {pickaxey=1, building_block=1, deco_block=1, material_stone=1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
@ -1511,7 +1518,7 @@ minetest.register_node("mcl_core:cobble", {
|
||||
minetest.register_node("mcl_core:mossycobble", {
|
||||
description = "Moss Stone",
|
||||
tiles = {"default_mossycobble.png"},
|
||||
is_ground_content = true,
|
||||
is_ground_content = false,
|
||||
stack_max = 64,
|
||||
groups = {pickaxey=1, building_block=1, material_stone=1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
|
@ -306,6 +306,7 @@ minetest.register_abm({
|
||||
|
||||
minetest.register_node("mcl_farming:pumpkin_face_light", {
|
||||
description = "Jack o'Lantern",
|
||||
is_ground_content = false,
|
||||
stack_max = 64,
|
||||
paramtype2 = "facedir",
|
||||
-- Real light level: 15 (Minetest caps at 14)
|
||||
|
@ -47,6 +47,7 @@ minetest.register_node("mcl_flowerpots:flower_pot", {
|
||||
type = "fixed",
|
||||
fixed = {-0.2, -0.5, -0.2, 0.2, -0.1, 0.2}
|
||||
},
|
||||
is_ground_content = false,
|
||||
inventory_image = "mcl_flowerpots_flowerpot_inventory.png",
|
||||
groups = {dig_immediate=3, deco_block=1, attached_node=1, flower_pot=1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
@ -108,6 +109,7 @@ minetest.register_node("mcl_flowerpots:flower_pot_"..flower, {
|
||||
type = "fixed",
|
||||
fixed = {-0.2, -0.5, -0.2, 0.2, -0.1, 0.2}
|
||||
},
|
||||
is_ground_content = false,
|
||||
groups = {dig_immediate=3, attached_node=1, not_in_creative_inventory=1, flower_pot=2},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
on_rightclick = function(pos, item, clicker)
|
||||
@ -145,6 +147,7 @@ minetest.register_node("mcl_flowerpots:flower_pot_"..flower, {
|
||||
type = "fixed",
|
||||
fixed = {-0.2, -0.5, -0.2, 0.2, -0.1, 0.2}
|
||||
},
|
||||
is_ground_content = false,
|
||||
groups = {dig_immediate=3, attached_node=1, not_in_creative_inventory=1, flower_pot=2},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
on_rightclick = function(pos, item, clicker)
|
||||
|
@ -43,6 +43,7 @@ Hoppers interact with containers the following way:
|
||||
{-0.15, -0.3, -0.15, 0.15, -0.5, 0.15},
|
||||
},
|
||||
},
|
||||
is_ground_content = false,
|
||||
|
||||
on_construct = function(pos)
|
||||
local meta = minetest.get_meta(pos)
|
||||
@ -156,6 +157,7 @@ minetest.register_node("mcl_hoppers:hopper_side", {
|
||||
{-0.7, -0.3, -0.15, 0.15, 0.0, 0.15},
|
||||
},
|
||||
},
|
||||
is_ground_content = false,
|
||||
|
||||
on_construct = function(pos)
|
||||
local meta = minetest.get_meta(pos)
|
||||
|
@ -92,6 +92,7 @@ minetest.register_node("mcl_jukebox:jukebox", {
|
||||
tiles = {"mcl_jukebox_top.png", "mcl_jukebox_side.png", "mcl_jukebox_side.png"},
|
||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
||||
groups = {handy=1,axey=1, deco_block=1, material_wood=1},
|
||||
is_ground_content = false,
|
||||
on_construct = function(pos)
|
||||
local meta = minetest.get_meta(pos)
|
||||
local inv = meta:get_inventory()
|
||||
|
@ -37,7 +37,7 @@ minetest.register_node("mcl_minecarts:golden_rail", {
|
||||
inventory_image = "carts_rail_pwr.png",
|
||||
wield_image = "carts_rail_pwr.png",
|
||||
paramtype = "light",
|
||||
is_ground_content = true,
|
||||
is_ground_content = false,
|
||||
walkable = false,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
@ -28,6 +28,7 @@ mcl_torches.register_torch = function(substring, description, icon, mesh_floor,
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
walkable = false,
|
||||
liquids_pointable = false,
|
||||
light_source = light,
|
||||
@ -134,6 +135,7 @@ mcl_torches.register_torch = function(substring, description, icon, mesh_floor,
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
walkable = false,
|
||||
light_source = light,
|
||||
groups = groups_wall,
|
||||
|
Loading…
Reference in New Issue
Block a user