1
0
Fork 0

Minecraft-like flammability blocks

This commit is contained in:
Wuzzy 2017-02-01 13:44:36 +01:00
parent f2798ac11e
commit 05b0978cd5
11 changed files with 51 additions and 51 deletions

View File

@ -164,7 +164,7 @@ minetest.register_node("crafting:workbench", {
"crafting_workbench_side.png", "crafting_workbench_front.png", "crafting_workbench_front.png"}, "crafting_workbench_side.png", "crafting_workbench_front.png", "crafting_workbench_front.png"},
paramtype2 = "facedir", paramtype2 = "facedir",
paramtype = "light", paramtype = "light",
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=2,deco_block=1}, groups = {choppy=2,oddly_breakable_by_hand=2,deco_block=1},
on_rightclick = function(pos, node, clicker, itemstack) on_rightclick = function(pos, node, clicker, itemstack)
set_workbench(clicker) set_workbench(clicker)
end, end,

View File

@ -298,7 +298,7 @@ end
doors:register_door("doors:door_wood", { doors:register_door("doors:door_wood", {
description = "Oak Door", description = "Oak Door",
inventory_image = "door_wood.png", inventory_image = "door_wood.png",
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,door=1}, groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,door=1},
tiles_bottom = {"door_wood_b.png", "door_brown.png"}, tiles_bottom = {"door_wood_b.png", "door_brown.png"},
tiles_top = {"door_wood_a.png", "door_brown.png"}, tiles_top = {"door_wood_a.png", "door_brown.png"},
sounds = mcl_core.node_sound_wood_defaults(), sounds = mcl_core.node_sound_wood_defaults(),
@ -317,7 +317,7 @@ minetest.register_craft({
doors:register_door("doors:door_acacia", { doors:register_door("doors:door_acacia", {
description = "Acacia Door", description = "Acacia Door",
inventory_image = "door_acacia.png", inventory_image = "door_acacia.png",
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,door=1}, groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,door=1},
tiles_bottom = {"door_acacia_b.png", "door_brown.png"}, tiles_bottom = {"door_acacia_b.png", "door_brown.png"},
tiles_top = {"door_acacia_a.png", "door_brown.png"}, tiles_top = {"door_acacia_a.png", "door_brown.png"},
sounds = mcl_core.node_sound_wood_defaults(), sounds = mcl_core.node_sound_wood_defaults(),
@ -336,7 +336,7 @@ minetest.register_craft({
doors:register_door("doors:door_birch", { doors:register_door("doors:door_birch", {
description = "Birch Door", description = "Birch Door",
inventory_image = "door_birch.png", inventory_image = "door_birch.png",
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,door=1}, groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,door=1},
tiles_bottom = {"door_birch_b.png", "door_brown.png"}, tiles_bottom = {"door_birch_b.png", "door_brown.png"},
tiles_top = {"door_birch_a.png", "door_brown.png"}, tiles_top = {"door_birch_a.png", "door_brown.png"},
sounds = mcl_core.node_sound_wood_defaults(), sounds = mcl_core.node_sound_wood_defaults(),
@ -355,7 +355,7 @@ minetest.register_craft({
doors:register_door("doors:door_dark_oak", { doors:register_door("doors:door_dark_oak", {
description = "Dark Oak Door", description = "Dark Oak Door",
inventory_image = "door_dark_oak.png", inventory_image = "door_dark_oak.png",
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,door=1}, groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,door=1},
tiles_bottom = {"door_dark_oak_b.png", "door_brown.png"}, tiles_bottom = {"door_dark_oak_b.png", "door_brown.png"},
tiles_top = {"door_dark_oak_a.png", "door_brown.png"}, tiles_top = {"door_dark_oak_a.png", "door_brown.png"},
sounds = mcl_core.node_sound_wood_defaults(), sounds = mcl_core.node_sound_wood_defaults(),
@ -374,7 +374,7 @@ minetest.register_craft({
doors:register_door("doors:door_jungle", { doors:register_door("doors:door_jungle", {
description = "Jungle Door", description = "Jungle Door",
inventory_image = "door_jungle.png", inventory_image = "door_jungle.png",
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,door=1}, groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,door=1},
tiles_bottom = {"door_jungle_b.png", "door_brown.png"}, tiles_bottom = {"door_jungle_b.png", "door_brown.png"},
tiles_top = {"door_jungle_a.png", "door_brown.png"}, tiles_top = {"door_jungle_a.png", "door_brown.png"},
sounds = mcl_core.node_sound_wood_defaults(), sounds = mcl_core.node_sound_wood_defaults(),
@ -393,7 +393,7 @@ minetest.register_craft({
doors:register_door("doors:door_spruce", { doors:register_door("doors:door_spruce", {
description = "Spruce Door", description = "Spruce Door",
inventory_image = "door_spruce.png", inventory_image = "door_spruce.png",
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,door=1}, groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,door=1},
tiles_bottom = {"door_spruce_b.png", "door_brown.png"}, tiles_bottom = {"door_spruce_b.png", "door_brown.png"},
tiles_top = {"door_spruce_a.png", "door_brown.png"}, tiles_top = {"door_spruce_a.png", "door_brown.png"},
sounds = mcl_core.node_sound_wood_defaults(), sounds = mcl_core.node_sound_wood_defaults(),
@ -503,7 +503,7 @@ minetest.register_node("doors:trapdoor", {
paramtype = "light", paramtype = "light",
stack_max = 64, stack_max = 64,
paramtype2 = "facedir", paramtype2 = "facedir",
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,mesecon_effector_on=1,flammable=2,door=1}, groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,mesecon_effector_on=1,door=1},
sounds = mcl_core.node_sound_wood_defaults(), sounds = mcl_core.node_sound_wood_defaults(),
drop = "doors:trapdoor", drop = "doors:trapdoor",
node_box = { node_box = {
@ -549,7 +549,7 @@ minetest.register_node("doors:trapdoor_open", {
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
pointable = true, pointable = true,
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,mesecon_effector_on=1,flammable=2,door=1}, groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,mesecon_effector_on=1,door=1},
sounds = mcl_core.node_sound_wood_defaults(), sounds = mcl_core.node_sound_wood_defaults(),
drop = "doors:trapdoor", drop = "doors:trapdoor",
node_box = { node_box = {
@ -627,7 +627,7 @@ minetest.register_node("doors:iron_trapdoor", {
is_ground_content = false, is_ground_content = false,
stack_max = 64, stack_max = 64,
paramtype2 = "facedir", paramtype2 = "facedir",
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,mesecon_effector_on=1,flammable=0,door=1}, groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,mesecon_effector_on=1,door=1},
sounds = mcl_core.node_sound_wood_defaults(), sounds = mcl_core.node_sound_wood_defaults(),
drop = "doors:iron_trapdoor", drop = "doors:iron_trapdoor",
node_box = { node_box = {
@ -670,7 +670,7 @@ minetest.register_node("doors:iron_trapdoor_open", {
paramtype2 = "facedir", paramtype2 = "facedir",
is_ground_content = false, is_ground_content = false,
pointable = true, pointable = true,
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=0,door=1,mesecon_effector_on=1}, groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,door=1,mesecon_effector_on=1},
sounds = mcl_core.node_sound_wood_defaults(), sounds = mcl_core.node_sound_wood_defaults(),
drop = "doors:iron_trapdoor", drop = "doors:iron_trapdoor",
node_box = { node_box = {

View File

@ -518,7 +518,7 @@ minetest.register_node("mcl_core:sapling", {
fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3} fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3}
}, },
stack_max = 64, stack_max = 64,
groups = {snappy=2,dig_immediate=3,flammable=2,attached_node=1,dig_by_water=1,deco_block=1}, groups = {snappy=2,dig_immediate=3,attached_node=1,dig_by_water=1,deco_block=1},
sounds = mcl_core.node_sound_defaults(), sounds = mcl_core.node_sound_defaults(),
}) })
@ -573,7 +573,7 @@ minetest.register_node("mcl_core:darksapling", {
fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3} fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3}
}, },
stack_max = 64, stack_max = 64,
groups = {snappy=2,dig_immediate=3,flammable=2,attached_node=1,dig_by_water=1,deco_block=1}, groups = {snappy=2,dig_immediate=3,attached_node=1,dig_by_water=1,deco_block=1},
sounds = mcl_core.node_sound_defaults(), sounds = mcl_core.node_sound_defaults(),
}) })
@ -658,7 +658,7 @@ minetest.register_node("mcl_core:junglesapling", {
fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3} fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3}
}, },
stack_max = 64, stack_max = 64,
groups = {snappy=2,dig_immediate=3,flammable=2,attached_node=1,dig_by_water=1,deco_block=1}, groups = {snappy=2,dig_immediate=3,attached_node=1,dig_by_water=1,deco_block=1},
sounds = mcl_core.node_sound_defaults(), sounds = mcl_core.node_sound_defaults(),
}) })
@ -718,7 +718,7 @@ minetest.register_node("mcl_core:acaciasapling", {
fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3} fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3}
}, },
stack_max = 64, stack_max = 64,
groups = {snappy=2,dig_immediate=3,flammable=2,attached_node=1,dig_by_water=1,deco_block=1}, groups = {snappy=2,dig_immediate=3,attached_node=1,dig_by_water=1,deco_block=1},
sounds = mcl_core.node_sound_defaults(), sounds = mcl_core.node_sound_defaults(),
}) })
@ -783,7 +783,7 @@ minetest.register_node("mcl_core:sprucesapling", {
fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3} fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3}
}, },
stack_max = 64, stack_max = 64,
groups = {snappy=2,dig_immediate=3,flammable=2,attached_node=1,dig_by_water=1,deco_block=1}, groups = {snappy=2,dig_immediate=3,attached_node=1,dig_by_water=1,deco_block=1},
sounds = mcl_core.node_sound_defaults(), sounds = mcl_core.node_sound_defaults(),
}) })
@ -841,7 +841,7 @@ minetest.register_node("mcl_core:birchsapling", {
fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3} fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3}
}, },
stack_max = 64, stack_max = 64,
groups = {snappy=2,dig_immediate=3,flammable=2,attached_node=1,dig_by_water=1,deco_block=1}, groups = {snappy=2,dig_immediate=3,attached_node=1,dig_by_water=1,deco_block=1},
sounds = mcl_core.node_sound_defaults(), sounds = mcl_core.node_sound_defaults(),
}) })
@ -929,7 +929,7 @@ minetest.register_node("mcl_core:reeds", {
}, },
}, },
stack_max = 64, stack_max = 64,
groups = {dig_immediate=3,flammable=2,craftitem=1}, groups = {dig_immediate=3,craftitem=1},
sounds = mcl_core.node_sound_leaves_defaults(), sounds = mcl_core.node_sound_leaves_defaults(),
}) })
@ -1082,7 +1082,7 @@ minetest.register_node("mcl_core:ladder", {
--wall_side = = <default> --wall_side = = <default>
}, },
stack_max = 64, stack_max = 64,
groups = {choppy=2,oddly_breakable_by_hand=3,flammable=2,deco_block=1}, groups = {choppy=2,oddly_breakable_by_hand=3,deco_block=1},
sounds = mcl_core.node_sound_wood_defaults(), sounds = mcl_core.node_sound_wood_defaults(),
}) })
@ -1313,7 +1313,7 @@ minetest.register_node("mcl_core:coalblock", {
tiles = {"default_coal_block.png"}, tiles = {"default_coal_block.png"},
is_ground_content = false, is_ground_content = false,
stack_max = 64, stack_max = 64,
groups = {cracky=2, building_block=1}, groups = {cracky=2, flammable=1, building_block=1},
sounds = mcl_core.node_sound_stone_defaults(), sounds = mcl_core.node_sound_stone_defaults(),
}) })
@ -1461,7 +1461,7 @@ minetest.register_node("mcl_core:sponge", {
buildable_to = false, buildable_to = false,
stack_max = 64, stack_max = 64,
sounds = mcl_core.node_sound_dirt_defaults(), sounds = mcl_core.node_sound_dirt_defaults(),
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,flammable=3,building_block=1}, groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,building_block=1},
on_place = function(itemstack, placer, pointed_thing) on_place = function(itemstack, placer, pointed_thing)
local pn = placer:get_player_name() local pn = placer:get_player_name()
if pointed_thing.type ~= "node" then if pointed_thing.type ~= "node" then
@ -1675,7 +1675,7 @@ minetest.register_node("mcl_core:cobweb", {
liquid_renewable = false, liquid_renewable = false,
liquid_range = 0, liquid_range = 0,
walkable = false, walkable = false,
groups = {snappy=1,liquid=3,flammable=2,deco_block=1}, groups = {snappy=1,liquid=3,deco_block=1},
drop = "mcl_core:string", drop = "mcl_core:string",
}) })

View File

@ -10,7 +10,7 @@ minetest.register_node("mcl_farming:carrot_1", {
{-0.5, -0.5, -0.5, 0.5, -0.125, 0.5} {-0.5, -0.5, -0.5, 0.5, -0.125, 0.5}
}, },
}, },
groups = {snappy=3, flammable=2, not_in_creative_inventory=1,dig_by_water=1}, groups = {snappy=3, not_in_creative_inventory=1,dig_by_water=1},
sounds = mcl_core.node_sound_leaves_defaults(), sounds = mcl_core.node_sound_leaves_defaults(),
}) })
@ -26,7 +26,7 @@ minetest.register_node("mcl_farming:carrot_2", {
{-0.5, -0.5, -0.5, 0.5, -0.125, 0.5} {-0.5, -0.5, -0.5, 0.5, -0.125, 0.5}
}, },
}, },
groups = {snappy=3, flammable=2, not_in_creative_inventory=1,dig_by_water=1}, groups = {snappy=3, not_in_creative_inventory=1,dig_by_water=1},
sounds = mcl_core.node_sound_leaves_defaults(), sounds = mcl_core.node_sound_leaves_defaults(),
}) })
@ -42,7 +42,7 @@ minetest.register_node("mcl_farming:carrot_3", {
{-0.5, -0.5, -0.5, 0.5, -0.125, 0.5} {-0.5, -0.5, -0.5, 0.5, -0.125, 0.5}
}, },
}, },
groups = {snappy=3, flammable=2, not_in_creative_inventory=1,dig_by_water=1}, groups = {snappy=3, not_in_creative_inventory=1,dig_by_water=1},
sounds = mcl_core.node_sound_leaves_defaults(), sounds = mcl_core.node_sound_leaves_defaults(),
}) })
@ -60,7 +60,7 @@ minetest.register_node("mcl_farming:carrot", {
{ items = {'mcl_farming:carrot_item 1'} }, { items = {'mcl_farming:carrot_item 1'} },
} }
}, },
groups = {snappy=3, flammable=2, not_in_creative_inventory=1,dig_by_water=1}, groups = {snappy=3, not_in_creative_inventory=1,dig_by_water=1},
sounds = mcl_core.node_sound_leaves_defaults(), sounds = mcl_core.node_sound_leaves_defaults(),
}) })

View File

@ -50,7 +50,7 @@ minetest.register_node("mcl_farming:melontige_1", {
{-0.5, -0.5, -0.5, 0.5, -0.5+6/16, 0.5} {-0.5, -0.5, -0.5, 0.5, -0.5+6/16, 0.5}
}, },
}, },
groups = {snappy=3, flammable=2, not_in_creative_inventory=1 ,dig_by_water=1}, groups = {snappy=3, not_in_creative_inventory=1 ,dig_by_water=1},
sounds = mcl_core.node_sound_leaves_defaults(), sounds = mcl_core.node_sound_leaves_defaults(),
}) })
@ -67,7 +67,7 @@ minetest.register_node("mcl_farming:melontige_2", {
{-0.5, -0.5, -0.5, 0.5, -0.5+9/16, 0.5} {-0.5, -0.5, -0.5, 0.5, -0.5+9/16, 0.5}
}, },
}, },
groups = {snappy=3, flammable=2, not_in_creative_inventory=1 ,dig_by_water=1}, groups = {snappy=3, not_in_creative_inventory=1 ,dig_by_water=1},
sounds = mcl_core.node_sound_leaves_defaults(), sounds = mcl_core.node_sound_leaves_defaults(),
}) })
@ -78,7 +78,7 @@ minetest.register_node("mcl_farming:melontige_unconnect", {
drop = "", drop = "",
drawtype = "plantlike", drawtype = "plantlike",
tiles = {"farming_tige_end.png"}, tiles = {"farming_tige_end.png"},
groups = {snappy=3, flammable=2, not_in_creative_inventory=1 ,dig_by_water=1}, groups = {snappy=3, not_in_creative_inventory=1 ,dig_by_water=1},
sounds = mcl_core.node_sound_leaves_defaults(), sounds = mcl_core.node_sound_leaves_defaults(),
}) })
@ -108,7 +108,7 @@ minetest.register_node("mcl_farming:melontige_linked_r", {
"farming_tige_connnect.png", -- back "farming_tige_connnect.png", -- back
"farming_tige_connnect.png^[transformFX90" --front "farming_tige_connnect.png^[transformFX90" --front
}, },
groups = {snappy=3, flammable=2, not_in_creative_inventory=1 ,dig_by_water=1}, groups = {snappy=3, not_in_creative_inventory=1 ,dig_by_water=1},
sounds = mcl_core.node_sound_leaves_defaults(), sounds = mcl_core.node_sound_leaves_defaults(),
}) })
@ -138,7 +138,7 @@ minetest.register_node("mcl_farming:melontige_linked_l", {
"farming_tige_connnect.png^[transformFX90", -- back "farming_tige_connnect.png^[transformFX90", -- back
"farming_tige_connnect.png" --front "farming_tige_connnect.png" --front
}, },
groups = {snappy=3, flammable=2, not_in_creative_inventory=1 ,dig_by_water=1}, groups = {snappy=3, not_in_creative_inventory=1 ,dig_by_water=1},
sounds = mcl_core.node_sound_leaves_defaults(), sounds = mcl_core.node_sound_leaves_defaults(),
}) })
@ -168,7 +168,7 @@ minetest.register_node("mcl_farming:melontige_linked_t", {
"farming_tige_connnect.png", -- back "farming_tige_connnect.png", -- back
"farming_tige_connnect.png" --front "farming_tige_connnect.png" --front
}, },
groups = {snappy=3, flammable=2, not_in_creative_inventory=1 ,dig_by_water=1}, groups = {snappy=3, not_in_creative_inventory=1 ,dig_by_water=1},
sounds = mcl_core.node_sound_leaves_defaults(), sounds = mcl_core.node_sound_leaves_defaults(),
}) })
@ -198,7 +198,7 @@ minetest.register_node("mcl_farming:melontige_linked_b", {
"farming_tige_connnect.png", -- back "farming_tige_connnect.png", -- back
"farming_tige_connnect.png" --front "farming_tige_connnect.png" --front
}, },
groups = {snappy=3, flammable=2, not_in_creative_inventory=1 ,dig_by_water=1}, groups = {snappy=3, not_in_creative_inventory=1 ,dig_by_water=1},
sounds = mcl_core.node_sound_leaves_defaults(), sounds = mcl_core.node_sound_leaves_defaults(),
}) })

View File

@ -7,7 +7,7 @@ minetest.register_node("mcl_farming:mushroom_brown", {
sunlight_propagates = true, sunlight_propagates = true,
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
groups = {dig_immediate=3,flammable=2,mushroom=1,attached_node=1,dig_by_water=1,deco_block=1}, groups = {dig_immediate=3,mushroom=1,attached_node=1,dig_by_water=1,deco_block=1},
sounds = mcl_core.node_sound_leaves_defaults(), sounds = mcl_core.node_sound_leaves_defaults(),
light_source = 1, light_source = 1,
selection_box = { selection_box = {
@ -25,7 +25,7 @@ minetest.register_node("mcl_farming:mushroom_red", {
sunlight_propagates = true, sunlight_propagates = true,
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
groups = {dig_immediate=3,flammable=2,mushroom=1,attached_node=1,dig_by_water=1,deco_block=1}, groups = {dig_immediate=3,mushroom=1,attached_node=1,dig_by_water=1,deco_block=1},
sounds = mcl_core.node_sound_leaves_defaults(), sounds = mcl_core.node_sound_leaves_defaults(),
selection_box = { selection_box = {
type = "fixed", type = "fixed",

View File

@ -10,7 +10,7 @@ minetest.register_node("mcl_farming:potato_1", {
{-0.5, -0.5, -0.5, 0.5, -0.125, 0.5} {-0.5, -0.5, -0.5, 0.5, -0.125, 0.5}
}, },
}, },
groups = {snappy=3, flammable=2, not_in_creative_inventory=1,dig_by_water=1}, groups = {snappy=3, not_in_creative_inventory=1,dig_by_water=1},
sounds = mcl_core.node_sound_leaves_defaults(), sounds = mcl_core.node_sound_leaves_defaults(),
}) })
@ -26,7 +26,7 @@ minetest.register_node("mcl_farming:potato_2", {
{-0.5, -0.5, -0.5, 0.5, -0.125, 0.5} {-0.5, -0.5, -0.5, 0.5, -0.125, 0.5}
}, },
}, },
groups = {snappy=3, flammable=2, not_in_creative_inventory=1,dig_by_water=1}, groups = {snappy=3, not_in_creative_inventory=1,dig_by_water=1},
sounds = mcl_core.node_sound_leaves_defaults(), sounds = mcl_core.node_sound_leaves_defaults(),
}) })
@ -43,7 +43,7 @@ minetest.register_node("mcl_farming:potato", {
{ items = {'mcl_farming:potato_item 4'}, rarity = 5 } { items = {'mcl_farming:potato_item 4'}, rarity = 5 }
} }
}, },
groups = {snappy=3, flammable=2, not_in_creative_inventory=1,dig_by_water=1}, groups = {snappy=3, not_in_creative_inventory=1,dig_by_water=1},
sounds = mcl_core.node_sound_leaves_defaults(), sounds = mcl_core.node_sound_leaves_defaults(),
}) })

View File

@ -27,7 +27,7 @@ minetest.register_node("mcl_farming:pumpkin_1", {
{-0.5, -0.5, -0.5, 0.5, -0.5+6/16, 0.5} {-0.5, -0.5, -0.5, 0.5, -0.5+6/16, 0.5}
}, },
}, },
groups = {snappy=3, flammable=2, not_in_creative_inventory=1 ,dig_by_water=1}, groups = {snappy=3, not_in_creative_inventory=1 ,dig_by_water=1},
sounds = mcl_core.node_sound_leaves_defaults(), sounds = mcl_core.node_sound_leaves_defaults(),
}) })
@ -44,7 +44,7 @@ minetest.register_node("mcl_farming:pumpkin_2", {
{-0.5, -0.5, -0.5, 0.5, -0.5+9/16, 0.5} {-0.5, -0.5, -0.5, 0.5, -0.5+9/16, 0.5}
}, },
}, },
groups = {snappy=3, flammable=2, not_in_creative_inventory=1 ,dig_by_water=1}, groups = {snappy=3, not_in_creative_inventory=1 ,dig_by_water=1},
sounds = mcl_core.node_sound_leaves_defaults(), sounds = mcl_core.node_sound_leaves_defaults(),
}) })
@ -54,7 +54,7 @@ minetest.register_node("mcl_farming:pumpkin_face", {
stack_max = 64, stack_max = 64,
paramtype2 = "facedir", paramtype2 = "facedir",
tiles = {"farming_pumpkin_top.png", "farming_pumpkin_top.png", "farming_pumpkin_side.png", "farming_pumpkin_side.png", "farming_pumpkin_side.png", "farming_pumpkin_face.png"}, tiles = {"farming_pumpkin_top.png", "farming_pumpkin_top.png", "farming_pumpkin_side.png", "farming_pumpkin_side.png", "farming_pumpkin_side.png", "farming_pumpkin_face.png"},
groups = {choppy=2, oddly_breakable_by_hand=2, flammable=2, building_block=1}, groups = {choppy=2, oddly_breakable_by_hand=2, building_block=1},
after_dig_node = function(pos, oldnode, oldmetadata, user) after_dig_node = function(pos, oldnode, oldmetadata, user)
local have_change = 0 local have_change = 0
for x=-1,1 do for x=-1,1 do
@ -86,7 +86,7 @@ minetest.register_node("mcl_farming:pumpkintige_unconnect", {
drop = "", drop = "",
drawtype = "plantlike", drawtype = "plantlike",
tiles = {"farming_tige_end.png"}, tiles = {"farming_tige_end.png"},
groups = {snappy=3, flammable=2, not_in_creative_inventory=1 ,dig_by_water=1}, groups = {snappy=3, not_in_creative_inventory=1 ,dig_by_water=1},
sounds = mcl_core.node_sound_leaves_defaults(), sounds = mcl_core.node_sound_leaves_defaults(),
}) })
@ -117,7 +117,7 @@ minetest.register_node("mcl_farming:pumpkintige_linked_r", {
"farming_tige_connnect.png", -- back "farming_tige_connnect.png", -- back
"farming_tige_connnect.png^[transformFX90" --front "farming_tige_connnect.png^[transformFX90" --front
}, },
groups = {snappy=3, flammable=2, not_in_creative_inventory=1 ,dig_by_water=1}, groups = {snappy=3, not_in_creative_inventory=1 ,dig_by_water=1},
sounds = mcl_core.node_sound_leaves_defaults(), sounds = mcl_core.node_sound_leaves_defaults(),
}) })
@ -147,7 +147,7 @@ minetest.register_node("mcl_farming:pumpkintige_linked_l", {
"farming_tige_connnect.png^[transformFX90", -- back "farming_tige_connnect.png^[transformFX90", -- back
"farming_tige_connnect.png" --front "farming_tige_connnect.png" --front
}, },
groups = {snappy=3, flammable=2, not_in_creative_inventory=1 ,dig_by_water=1}, groups = {snappy=3, not_in_creative_inventory=1 ,dig_by_water=1},
sounds = mcl_core.node_sound_leaves_defaults(), sounds = mcl_core.node_sound_leaves_defaults(),
}) })
@ -177,7 +177,7 @@ minetest.register_node("mcl_farming:pumpkintige_linked_t", {
"farming_tige_connnect.png", -- back "farming_tige_connnect.png", -- back
"farming_tige_connnect.png" --front "farming_tige_connnect.png" --front
}, },
groups = {snappy=3, flammable=2, not_in_creative_inventory=1 ,dig_by_water=1}, groups = {snappy=3, not_in_creative_inventory=1 ,dig_by_water=1},
sounds = mcl_core.node_sound_leaves_defaults(), sounds = mcl_core.node_sound_leaves_defaults(),
}) })
@ -207,7 +207,7 @@ minetest.register_node("mcl_farming:pumpkintige_linked_b", {
"farming_tige_connnect.png", -- back "farming_tige_connnect.png", -- back
"farming_tige_connnect.png" --front "farming_tige_connnect.png" --front
}, },
groups = {snappy=3, flammable=2, not_in_creative_inventory=1 ,dig_by_water=1}, groups = {snappy=3, not_in_creative_inventory=1 ,dig_by_water=1},
sounds = mcl_core.node_sound_leaves_defaults(), sounds = mcl_core.node_sound_leaves_defaults(),
}) })
@ -272,7 +272,7 @@ minetest.register_node("mcl_farming:pumpkin_face_light", {
paramtype2 = "facedir", paramtype2 = "facedir",
light_source = 14, light_source = 14,
tiles = {"farming_pumpkin_top.png", "farming_pumpkin_top.png", "farming_pumpkin_side.png", "farming_pumpkin_side.png", "farming_pumpkin_side.png", "farming_pumpkin_face_light.png"}, tiles = {"farming_pumpkin_top.png", "farming_pumpkin_top.png", "farming_pumpkin_side.png", "farming_pumpkin_side.png", "farming_pumpkin_side.png", "farming_pumpkin_face_light.png"},
groups = {choppy=2, oddly_breakable_by_hand=2, flammable=2, building_block=1}, groups = {choppy=2, oddly_breakable_by_hand=2, building_block=1},
sounds = mcl_core.node_sound_wood_defaults(), sounds = mcl_core.node_sound_wood_defaults(),
}) })

View File

@ -77,7 +77,7 @@ minetest.register_node("mcl_jukebox:jukebox", {
description = "Jukebox", description = "Jukebox",
tiles = {"mcl_jukebox_top.png", "mcl_jukebox_side.png", "mcl_jukebox_side.png"}, tiles = {"mcl_jukebox_top.png", "mcl_jukebox_side.png", "mcl_jukebox_side.png"},
sounds = mcl_core.node_sound_wood_defaults(), sounds = mcl_core.node_sound_wood_defaults(),
groups = {oddly_breakable_by_hand=1, flammable=1, choppy=3, deco_block=1}, groups = {oddly_breakable_by_hand=1, choppy=3, deco_block=1},
on_construct = function(pos) on_construct = function(pos)
local meta = minetest.get_meta(pos) local meta = minetest.get_meta(pos)
local inv = meta:get_inventory() local inv = meta:get_inventory()

View File

@ -137,7 +137,7 @@ local signs_yard = {
{delta = {x = 0.05, y = 0, z = 0}, yaw = math.pi / 2}, {delta = {x = 0.05, y = 0, z = 0}, yaw = math.pi / 2},
} }
local sign_groups = {choppy=2, dig_immediate=2, deco_block=1} local sign_groups = {choppy=2, flammable=1, dig_immediate=2, deco_block=1}
local construct_sign = function(pos) local construct_sign = function(pos)
local meta = minetest.get_meta(pos) local meta = minetest.get_meta(pos)

View File

@ -19,7 +19,7 @@ minetest.register_node("torches:torch", {
walkable = false, walkable = false,
liquids_pointable = false, liquids_pointable = false,
light_source = 13, light_source = 13,
groups = {choppy=2, dig_immediate=3, flammable=1, attached_node=1, torch=1, dig_by_water=1, deco_block=1}, groups = {choppy=2, dig_immediate=3, attached_node=1, torch=1, dig_by_water=1, deco_block=1},
drop = "torches:torch", drop = "torches:torch",
selection_box = { selection_box = {
type = "wallmounted", type = "wallmounted",
@ -78,7 +78,7 @@ minetest.register_node("torches:torch_wall", {
sunlight_propagates = true, sunlight_propagates = true,
walkable = false, walkable = false,
light_source = 13, light_source = 13,
groups = {choppy=2, dig_immediate=3, flammable=1, not_in_creative_inventory=1, attached_node=1, torch=1, dig_by_water=1}, groups = {choppy=2, dig_immediate=3, not_in_creative_inventory=1, attached_node=1, torch=1, dig_by_water=1},
drop = "torches:torch", drop = "torches:torch",
selection_box = { selection_box = {
type = "wallmounted", type = "wallmounted",