Floodable: Drygrass, musicbox, sapling, farmplant
This commit is contained in:
parent
89194e3e35
commit
1b833cc850
@ -403,6 +403,7 @@ minetest.register_node(
|
|||||||
wield_image = "default_sapling_inventory.png",
|
wield_image = "default_sapling_inventory.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
walkable = false,
|
walkable = false,
|
||||||
|
floodable = true,
|
||||||
selection_box = {
|
selection_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {-0.4, -0.5, -0.4, 0.4, 0.4, 0.4},
|
fixed = {-0.4, -0.5, -0.4, 0.4, 0.4, 0.4},
|
||||||
@ -433,6 +434,7 @@ minetest.register_node(
|
|||||||
wield_image = "default_sapling_oak_inventory.png",
|
wield_image = "default_sapling_oak_inventory.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
walkable = false,
|
walkable = false,
|
||||||
|
floodable = true,
|
||||||
selection_box = {
|
selection_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {-0.4, -0.5, -0.4, 0.4, 0.4, 0.4},
|
fixed = {-0.4, -0.5, -0.4, 0.4, 0.4, 0.4},
|
||||||
@ -462,6 +464,7 @@ minetest.register_node(
|
|||||||
wield_image = "default_sapling_birch_inventory.png",
|
wield_image = "default_sapling_birch_inventory.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
walkable = false,
|
walkable = false,
|
||||||
|
floodable = true,
|
||||||
selection_box = {
|
selection_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {-0.4, -0.5, -0.4, 0.4, 0.4, 0.4},
|
fixed = {-0.4, -0.5, -0.4, 0.4, 0.4, 0.4},
|
||||||
@ -995,6 +998,7 @@ minetest.register_node(
|
|||||||
waving = 1,
|
waving = 1,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
buildable_to = true,
|
buildable_to = true,
|
||||||
|
floodable = true,
|
||||||
groups = {snappy = 2, dig_immediate = 3, attached_node = 1, grass = 1, dry_grass = 1},
|
groups = {snappy = 2, dig_immediate = 3, attached_node = 1, grass = 1, dry_grass = 1},
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
})
|
})
|
||||||
@ -1116,6 +1120,7 @@ minetest.register_node(
|
|||||||
},
|
},
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
|
floodable = true,
|
||||||
-- TODO: Enable the drop code below, when the pearl is useful.
|
-- TODO: Enable the drop code below, when the pearl is useful.
|
||||||
-- The pearl is currently useless.
|
-- The pearl is currently useless.
|
||||||
--[[drop = {
|
--[[drop = {
|
||||||
|
@ -14,6 +14,7 @@ minetest.register_node(
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
waving = 1,
|
waving = 1,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
|
floodable = true,
|
||||||
buildable_to = true,
|
buildable_to = true,
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
drop = {
|
drop = {
|
||||||
@ -39,6 +40,7 @@ minetest.register_node(
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
waving = 1,
|
waving = 1,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
|
floodable = true,
|
||||||
buildable_to = true,
|
buildable_to = true,
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
drop = {
|
drop = {
|
||||||
@ -64,6 +66,7 @@ minetest.register_node(
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
waving = 1,
|
waving = 1,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
|
floodable = true,
|
||||||
buildable_to = true,
|
buildable_to = true,
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
drop = {
|
drop = {
|
||||||
@ -89,6 +92,7 @@ minetest.register_node(
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
waving = 1,
|
waving = 1,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
|
floodable = true,
|
||||||
buildable_to = true,
|
buildable_to = true,
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
drop = {
|
drop = {
|
||||||
@ -119,6 +123,7 @@ minetest.register_node(
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
waving = 1,
|
waving = 1,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
|
floodable = true,
|
||||||
buildable_to = true,
|
buildable_to = true,
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
drop = {
|
drop = {
|
||||||
@ -144,6 +149,7 @@ minetest.register_node(
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
waving = 1,
|
waving = 1,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
|
floodable = true,
|
||||||
buildable_to = true,
|
buildable_to = true,
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
drop = {
|
drop = {
|
||||||
@ -169,6 +175,7 @@ minetest.register_node(
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
waving = 1,
|
waving = 1,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
|
floodable = true,
|
||||||
buildable_to = true,
|
buildable_to = true,
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
drop = {
|
drop = {
|
||||||
@ -194,6 +201,7 @@ minetest.register_node(
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
waving = 1,
|
waving = 1,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
|
floodable = true,
|
||||||
buildable_to = true,
|
buildable_to = true,
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
drop = {
|
drop = {
|
||||||
|
@ -98,6 +98,7 @@ if minetest.settings:get_bool("music_enable") then
|
|||||||
wield_image = "music_inventory.png",
|
wield_image = "music_inventory.png",
|
||||||
|
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
|
floodable = true,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
@ -160,6 +161,7 @@ else
|
|||||||
wield_image = "music_inventory.png",
|
wield_image = "music_inventory.png",
|
||||||
|
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
|
floodable = true,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
|
Loading…
Reference in New Issue
Block a user