Add fire metadata to many nodes (unused for now)

This commit is contained in:
Wuzzy 2020-04-18 23:24:42 +02:00
parent 6a77a54034
commit e268370452
24 changed files with 51 additions and 42 deletions

@ -36,7 +36,11 @@ Please read <http://minecraft.gamepedia.com/Breaking> to learn how digging times
* `dig_by_piston=1`: Blocks which will drop as an item when pushed by a piston. They also cannot be pulled by sticky pistons * `dig_by_piston=1`: Blocks which will drop as an item when pushed by a piston. They also cannot be pulled by sticky pistons
* `cultivatable=2`: Block will be turned into Farmland by using a hoe on it * `cultivatable=2`: Block will be turned into Farmland by using a hoe on it
* `cultivatable=1`: Block will be turned into Dirt by using a hoe on it * `cultivatable=1`: Block will be turned into Dirt by using a hoe on it
* `flammable`: Block helps spreading fire and gets destroyed by nearby fire (rating doesn't matter) * `flammable`: Block spreads fire
* `flammable>0`: Gets destroyed by fire
* `flammable=-1` Does not get destroyed by fire
* `fire_encouragement`: How quickly this block catches fire
* `fire_flammability`: How fast the block will burn away
* `spreading_dirt_type=1`: A dirt-type block with a cover (e.g. grass) which may spread to neighbor dirt blocks * `spreading_dirt_type=1`: A dirt-type block with a cover (e.g. grass) which may spread to neighbor dirt blocks
* `dirtifies_below_solid=1`: This node turns into dirt immediately when a solid or dirtifier node is placed on top * `dirtifies_below_solid=1`: This node turns into dirt immediately when a solid or dirtifier node is placed on top
* `dirtifier=1`: This node turns nodes the above group into dirt when placed above * `dirtifier=1`: This node turns nodes the above group into dirt when placed above

@ -25,7 +25,7 @@ S("• Anything else: Piano").."\n\n"..
S("The note block will only play a note when it is below air, otherwise, it stays silent."), S("The note block will only play a note when it is below air, otherwise, it stays silent."),
tiles = {"mesecons_noteblock.png"}, tiles = {"mesecons_noteblock.png"},
groups = {handy=1,axey=1, material_wood=1}, groups = {handy=1,axey=1, material_wood=1, flammable=-1},
is_ground_content = false, is_ground_content = false,
place_param2 = 0, place_param2 = 0,
on_rightclick = function (pos, node, clicker) -- change sound when rightclicked on_rightclick = function (pos, node, clicker) -- change sound when rightclicked

@ -21,7 +21,7 @@ minetest.register_node("mesecons_solarpanel:solar_panel_on", {
}, },
drop = "mesecons_solarpanel:solar_panel_off", drop = "mesecons_solarpanel:solar_panel_off",
_doc_items_create_entry = false, _doc_items_create_entry = false,
groups = {handy=1,axey=1, not_in_creative_inventory = 1, material_wood=1}, groups = {handy=1,axey=1, not_in_creative_inventory = 1, material_wood=1, flammable=-1},
sounds = mcl_sounds.node_sound_glass_defaults(), sounds = mcl_sounds.node_sound_glass_defaults(),
mesecons = {receptor = { mesecons = {receptor = {
state = mesecon.state.on, state = mesecon.state.on,

@ -219,7 +219,7 @@ S("You can copy the pattern of a banner by placing two banners of the same color
wield_image = "mcl_banners_item_base.png", wield_image = "mcl_banners_item_base.png",
selection_box = {type = "fixed", fixed= {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3} }, selection_box = {type = "fixed", fixed= {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3} },
groups = {axey=1,handy=1, attached_node = 1, not_in_creative_inventory = 1, not_in_craft_guide = 1, material_wood=1, dig_by_piston=1 }, groups = {axey=1,handy=1, attached_node = 1, not_in_creative_inventory = 1, not_in_craft_guide = 1, material_wood=1, dig_by_piston=1, flammable=-1 },
stack_max = 16, stack_max = 16,
sounds = node_sounds, sounds = node_sounds,
drop = "", -- Item drops are handled in entity code drop = "", -- Item drops are handled in entity code
@ -263,7 +263,7 @@ minetest.register_node("mcl_banners:hanging_banner", {
wall_bottom = { -0.49, -0.49, -0.49, -0.41, -0.41, 0.49 }, wall_bottom = { -0.49, -0.49, -0.49, -0.41, -0.41, 0.49 },
}, },
selection_box = {type = "wallmounted", wall_side = {-0.5, -0.5, -0.5, -4/16, 0.5, 0.5} }, selection_box = {type = "wallmounted", wall_side = {-0.5, -0.5, -0.5, -4/16, 0.5, 0.5} },
groups = {axey=1,handy=1, attached_node = 1, not_in_creative_inventory = 1, not_in_craft_guide = 1, material_wood=1 }, groups = {axey=1,handy=1, attached_node = 1, not_in_creative_inventory = 1, not_in_craft_guide = 1, material_wood=1, flammable=-1 },
stack_max = 16, stack_max = 16,
sounds = node_sounds, sounds = node_sounds,
drop = "", -- Item drops are handled in entity code drop = "", -- Item drops are handled in entity code
@ -326,7 +326,7 @@ for colorid, colortab in pairs(mcl_banners.colors) do
wield_image = inv, wield_image = inv,
-- Banner group groups together the banner items, but not the nodes. -- Banner group groups together the banner items, but not the nodes.
-- Used for crafting. -- Used for crafting.
groups = { banner = 1, deco_block = 1, }, groups = { banner = 1, deco_block = 1, flammable = -1 },
stack_max = 16, stack_max = 16,
on_place = function(itemstack, placer, pointed_thing) on_place = function(itemstack, placer, pointed_thing)

@ -79,7 +79,7 @@ function mcl_beds.register_bed(name, def)
paramtype2 = "facedir", paramtype2 = "facedir",
is_ground_content = false, is_ground_content = false,
stack_max = 1, stack_max = 1,
groups = {handy=1, flammable = 3, bed = 1, dig_by_piston=1, bouncy=66, fall_damage_add_percent=-50, deco_block = 1}, groups = {handy=1, flammable = 3, bed = 1, dig_by_piston=1, bouncy=66, fall_damage_add_percent=-50, deco_block = 1, flammable=-1},
_mcl_hardness = 0.2, _mcl_hardness = 0.2,
_mcl_blast_resistance = 1, _mcl_blast_resistance = 1,
sounds = def.sounds or default_sounds, sounds = def.sounds or default_sounds,

@ -339,7 +339,7 @@ minetest.register_node("mcl_books:bookshelf", {
tiles = {"mcl_books_bookshelf_top.png", "mcl_books_bookshelf_top.png", "default_bookshelf.png"}, tiles = {"mcl_books_bookshelf_top.png", "mcl_books_bookshelf_top.png", "default_bookshelf.png"},
stack_max = 64, stack_max = 64,
is_ground_content = false, is_ground_content = false,
groups = {handy=1,axey=1, flammable=3,building_block=1, material_wood=1}, groups = {handy=1,axey=1, flammable=3,building_block=1, material_wood=1, fire_encouragement=30, fire_flammability=20},
drop = "mcl_books:book 3", drop = "mcl_books:book 3",
sounds = wood_sound, sounds = wood_sound,
_mcl_blast_resistance = 7.5, _mcl_blast_resistance = 7.5,

@ -134,7 +134,7 @@ minetest.register_node("mcl_chests:"..basename, {
paramtype2 = "facedir", paramtype2 = "facedir",
stack_max = 64, stack_max = 64,
drop = drop, drop = drop,
groups = {handy=1,axey=1, container=2, deco_block=1, material_wood=1}, groups = {handy=1,axey=1, container=2, deco_block=1, material_wood=1,flammable=-1},
is_ground_content = false, is_ground_content = false,
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
on_construct = function(pos) on_construct = function(pos)
@ -246,7 +246,7 @@ minetest.register_node("mcl_chests:"..basename.."_left", {
tiles = tiles_table.left, tiles = tiles_table.left,
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
groups = {handy=1,axey=1, container=5,not_in_creative_inventory=1, material_wood=1}, groups = {handy=1,axey=1, container=5,not_in_creative_inventory=1, material_wood=1,flammable=-1},
drop = drop, drop = drop,
is_ground_content = false, is_ground_content = false,
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
@ -381,7 +381,7 @@ minetest.register_node("mcl_chests:"..basename.."_right", {
tiles = tiles_table.right, tiles = tiles_table.right,
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
groups = {handy=1,axey=1, container=6,not_in_creative_inventory=1, material_wood=1}, groups = {handy=1,axey=1, container=6,not_in_creative_inventory=1, material_wood=1,flammable=-1},
drop = drop, drop = drop,
is_ground_content = false, is_ground_content = false,
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),

@ -680,7 +680,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 = {pickaxey=1, flammable=1, building_block=1, material_stone=1}, groups = {pickaxey=1, flammable=1, building_block=1, material_stone=1, fire_encouragement=5, fire_flammability=5},
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 30, _mcl_blast_resistance = 30,
_mcl_hardness = 5, _mcl_hardness = 5,

@ -104,7 +104,7 @@ minetest.register_node("mcl_core:vine", {
type = "wallmounted", type = "wallmounted",
}, },
stack_max = 64, stack_max = 64,
groups = {handy=1,axey=1,shearsy=1,swordy=1, flammable=2,deco_block=1,destroy_by_lava_flow=1,dig_by_piston=1}, groups = {handy=1,axey=1,shearsy=1,swordy=1, flammable=2,deco_block=1,destroy_by_lava_flow=1,dig_by_piston=1, fire_encouragement=15, fire_flammability=100},
sounds = mcl_sounds.node_sound_leaves_defaults(), sounds = mcl_sounds.node_sound_leaves_defaults(),
drop = "", drop = "",
_mcl_shears_drop = true, _mcl_shears_drop = true,

@ -96,7 +96,7 @@ minetest.register_node("mcl_core:deadbush", {
walkable = false, walkable = false,
stack_max = 64, stack_max = 64,
buildable_to = true, buildable_to = true,
groups = {handy=1,shearsy=1, flammable=3,attached_node=1,plant=1,non_mycelium_plant=1,dig_by_water=1,destroy_by_lava_flow=1,deco_block=1}, groups = {handy=1,shearsy=1, flammable=3,attached_node=1,plant=1,non_mycelium_plant=1,dig_by_water=1,destroy_by_lava_flow=1,deco_block=1, fire_encouragement=60, fire_flammability=100},
drop = { drop = {
max_items = 1, max_items = 1,
items = { items = {

@ -17,7 +17,7 @@ local register_tree_trunk = function(subname, description_trunk, description_bar
paramtype2 = "facedir", paramtype2 = "facedir",
on_place = mcl_util.rotate_axis, on_place = mcl_util.rotate_axis,
stack_max = 64, stack_max = 64,
groups = {handy=1,axey=1, tree=1, flammable=2, building_block=1, material_wood=1}, groups = {handy=1,axey=1, tree=1, flammable=2, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
on_rotate = on_rotate, on_rotate = on_rotate,
_mcl_blast_resistance = 10, _mcl_blast_resistance = 10,
@ -31,7 +31,7 @@ local register_tree_trunk = function(subname, description_trunk, description_bar
paramtype2 = "facedir", paramtype2 = "facedir",
on_place = mcl_util.rotate_axis, on_place = mcl_util.rotate_axis,
stack_max = 64, stack_max = 64,
groups = {handy=1,axey=1, bark=1, flammable=2, building_block=1, material_wood=1}, groups = {handy=1,axey=1, bark=1, flammable=2, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
is_ground_content = false, is_ground_content = false,
on_rotate = on_rotate, on_rotate = on_rotate,
@ -56,7 +56,7 @@ local register_wooden_planks = function(subname, description, tiles)
tiles = tiles, tiles = tiles,
stack_max = 64, stack_max = 64,
is_ground_content = false, is_ground_content = false,
groups = {handy=1,axey=1, flammable=3,wood=1,building_block=1, material_wood=1}, groups = {handy=1,axey=1, flammable=3,wood=1,building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=20},
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
_mcl_blast_resistance = 15, _mcl_blast_resistance = 15,
_mcl_hardness = 2, _mcl_hardness = 2,
@ -104,7 +104,7 @@ local register_leaves = function(subname, description, longdesc, tiles, drop1, d
tiles = tiles, tiles = tiles,
paramtype = "light", paramtype = "light",
stack_max = 64, stack_max = 64,
groups = {handy=1,shearsy=1,swordy=1, leafdecay=leafdecay_distance, flammable=2, leaves=1, deco_block=1, dig_by_piston=1}, groups = {handy=1,shearsy=1,swordy=1, leafdecay=leafdecay_distance, flammable=2, leaves=1, deco_block=1, dig_by_piston=1, fire_encouragement=30, fire_flammability=60},
drop = drop, drop = drop,
_mcl_shears_drop = true, _mcl_shears_drop = true,
sounds = mcl_sounds.node_sound_leaves_defaults(), sounds = mcl_sounds.node_sound_leaves_defaults(),

@ -10,7 +10,7 @@ minetest.register_node("mcl_crafting_table:crafting_table", {
tiles = {"crafting_workbench_top.png", "default_wood.png", "crafting_workbench_side.png", tiles = {"crafting_workbench_top.png", "default_wood.png", "crafting_workbench_side.png",
"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",
groups = {handy=1,axey=1, deco_block=1, material_wood=1}, groups = {handy=1,axey=1, deco_block=1, material_wood=1,flammable=-1},
on_rightclick = function(pos, node, player, itemstack) on_rightclick = function(pos, node, player, itemstack)
player:get_inventory():set_width("craft", 3) player:get_inventory():set_width("craft", 3)
player:get_inventory():set_size("craft", 9) player:get_inventory():set_size("craft", 9)

@ -94,6 +94,11 @@ function mcl_doors:register_door(name, def)
end end
end end
local craftitem_groups = { mesecon_conductor_craftable = 1, deco_block = 1 }
if def.groups and def.groups.flammable then
craftitem_groups.flammable = def.groups.flammable
end
minetest.register_craftitem(name, { minetest.register_craftitem(name, {
description = def.description, description = def.description,
_tt_help = tt_help, _tt_help = tt_help,
@ -101,7 +106,7 @@ function mcl_doors:register_door(name, def)
_doc_items_usagehelp = usagehelp, _doc_items_usagehelp = usagehelp,
inventory_image = def.inventory_image, inventory_image = def.inventory_image,
stack_max = 64, stack_max = 64,
groups = { mesecon_conductor_craftable = 1, deco_block = 1 }, groups = craftitem_groups,
on_place = function(itemstack, placer, pointed_thing) on_place = function(itemstack, placer, pointed_thing)
if not pointed_thing.type == "node" or not placer or not placer:is_player() then if not pointed_thing.type == "node" or not placer or not placer:is_player() then
return itemstack return itemstack

@ -11,7 +11,7 @@ mcl_doors:register_door("mcl_doors:wooden_door", {
_doc_items_longdesc = wood_longdesc, _doc_items_longdesc = wood_longdesc,
_doc_items_usagehelp = wood_usagehelp, _doc_items_usagehelp = wood_usagehelp,
inventory_image = "doors_item_wood.png", inventory_image = "doors_item_wood.png",
groups = {handy=1,axey=1, material_wood=1}, groups = {handy=1,axey=1, material_wood=1, flammable=-1},
_mcl_hardness = 3, _mcl_hardness = 3,
_mcl_blast_resistance = 15, _mcl_blast_resistance = 15,
tiles_bottom = {"mcl_doors_door_wood_lower.png", "mcl_doors_door_wood_side_lower.png"}, tiles_bottom = {"mcl_doors_door_wood_lower.png", "mcl_doors_door_wood_side_lower.png"},
@ -34,7 +34,7 @@ mcl_doors:register_door("mcl_doors:acacia_door", {
_doc_items_longdesc = wood_longdesc, _doc_items_longdesc = wood_longdesc,
_doc_items_usagehelp = wood_usagehelp, _doc_items_usagehelp = wood_usagehelp,
inventory_image = "mcl_doors_door_acacia.png", inventory_image = "mcl_doors_door_acacia.png",
groups = {handy=1,axey=1, material_wood=1}, groups = {handy=1,axey=1, material_wood=1, flammable=-1},
_mcl_hardness = 3, _mcl_hardness = 3,
_mcl_blast_resistance = 15, _mcl_blast_resistance = 15,
tiles_bottom = {"mcl_doors_door_acacia_lower.png", "mcl_doors_door_acacia_side_lower.png"}, tiles_bottom = {"mcl_doors_door_acacia_lower.png", "mcl_doors_door_acacia_side_lower.png"},
@ -57,7 +57,7 @@ mcl_doors:register_door("mcl_doors:birch_door", {
_doc_items_longdesc = wood_longdesc, _doc_items_longdesc = wood_longdesc,
_doc_items_usagehelp = wood_usagehelp, _doc_items_usagehelp = wood_usagehelp,
inventory_image = "mcl_doors_door_birch.png", inventory_image = "mcl_doors_door_birch.png",
groups = {handy=1,axey=1, material_wood=1}, groups = {handy=1,axey=1, material_wood=1, flammable=-1},
_mcl_hardness = 3, _mcl_hardness = 3,
_mcl_blast_resistance = 15, _mcl_blast_resistance = 15,
tiles_bottom = {"mcl_doors_door_birch_lower.png", "mcl_doors_door_birch_side_lower.png"}, tiles_bottom = {"mcl_doors_door_birch_lower.png", "mcl_doors_door_birch_side_lower.png"},
@ -80,7 +80,7 @@ mcl_doors:register_door("mcl_doors:dark_oak_door", {
_doc_items_longdesc = wood_longdesc, _doc_items_longdesc = wood_longdesc,
_doc_items_usagehelp = wood_usagehelp, _doc_items_usagehelp = wood_usagehelp,
inventory_image = "mcl_doors_door_dark_oak.png", inventory_image = "mcl_doors_door_dark_oak.png",
groups = {handy=1,axey=1, material_wood=1}, groups = {handy=1,axey=1, material_wood=1, flammable=-1},
_mcl_hardness = 3, _mcl_hardness = 3,
_mcl_blast_resistance = 15, _mcl_blast_resistance = 15,
tiles_bottom = {"mcl_doors_door_dark_oak_lower.png", "mcl_doors_door_dark_oak_side_lower.png"}, tiles_bottom = {"mcl_doors_door_dark_oak_lower.png", "mcl_doors_door_dark_oak_side_lower.png"},
@ -103,7 +103,7 @@ mcl_doors:register_door("mcl_doors:jungle_door", {
_doc_items_longdesc = wood_longdesc, _doc_items_longdesc = wood_longdesc,
_doc_items_usagehelp = wood_usagehelp, _doc_items_usagehelp = wood_usagehelp,
inventory_image = "mcl_doors_door_jungle.png", inventory_image = "mcl_doors_door_jungle.png",
groups = {handy=1,axey=1, material_wood=1}, groups = {handy=1,axey=1, material_wood=1, flammable=-1},
_mcl_hardness = 3, _mcl_hardness = 3,
_mcl_blast_resistance = 15, _mcl_blast_resistance = 15,
tiles_bottom = {"mcl_doors_door_jungle_lower.png", "mcl_doors_door_jungle_side_lower.png"}, tiles_bottom = {"mcl_doors_door_jungle_lower.png", "mcl_doors_door_jungle_side_lower.png"},
@ -126,7 +126,7 @@ mcl_doors:register_door("mcl_doors:spruce_door", {
_doc_items_longdesc = wood_longdesc, _doc_items_longdesc = wood_longdesc,
_doc_items_usagehelp = wood_usagehelp, _doc_items_usagehelp = wood_usagehelp,
inventory_image = "mcl_doors_door_spruce.png", inventory_image = "mcl_doors_door_spruce.png",
groups = {handy=1,axey=1, material_wood=1}, groups = {handy=1,axey=1, material_wood=1, flammable=-1},
_mcl_hardness = 3, _mcl_hardness = 3,
_mcl_blast_resistance = 15, _mcl_blast_resistance = 15,
tiles_bottom = {"mcl_doors_door_spruce_lower.png", "mcl_doors_door_spruce_side_lower.png"}, tiles_bottom = {"mcl_doors_door_spruce_lower.png", "mcl_doors_door_spruce_side_lower.png"},
@ -222,7 +222,7 @@ for w=1, #woods do
tile_front = woods[w][3], tile_front = woods[w][3],
tile_side = woods[w][4], tile_side = woods[w][4],
wield_image = woods[w][3], wield_image = woods[w][3],
groups = {handy=1,axey=1, mesecon_effector_on=1, material_wood=1}, groups = {handy=1,axey=1, mesecon_effector_on=1, material_wood=1, flammable=-1},
_mcl_hardness = 3, _mcl_hardness = 3,
_mcl_blast_resistance = 15, _mcl_blast_resistance = 15,
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),

@ -146,7 +146,7 @@ minetest.register_node("mcl_farming:hay_block", {
paramtype2 = "facedir", paramtype2 = "facedir",
is_ground_content = false, is_ground_content = false,
on_place = mcl_util.rotate_axis, on_place = mcl_util.rotate_axis,
groups = {handy=1, flammable=2, building_block=1, fall_damage_add_percent=-80}, groups = {handy=1, flammable=2, fire_encouragement=60, fire_flammability=20, building_block=1, fall_damage_add_percent=-80},
sounds = mcl_sounds.node_sound_leaves_defaults(), sounds = mcl_sounds.node_sound_leaves_defaults(),
on_rotate = on_rotate, on_rotate = on_rotate,
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 2.5,

@ -246,7 +246,7 @@ mcl_fences.register_fence_and_fence_gate = function(id, fence_name, fence_gate_n
return fence_id, gate_id, open_gate_id return fence_id, gate_id, open_gate_id
end end
local wood_groups = {handy=1,axey=1, flammable=2,fence_wood=1} local wood_groups = {handy=1,axey=1, flammable=2,fence_wood=1, fire_encouragement=5, fire_flammability=20}
local wood_connect = {"group:fence_wood"} local wood_connect = {"group:fence_wood"}
local wood_sounds = mcl_sounds.node_sound_wood_defaults() local wood_sounds = mcl_sounds.node_sound_wood_defaults()

@ -65,7 +65,7 @@ local function add_simple_flower(name, desc, image, simple_selection_box)
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
stack_max = 64, stack_max = 64,
groups = {dig_immediate=3,flammable=2,plant=1,flower=1,place_flowerlike=1,non_mycelium_plant=1,attached_node=1,dig_by_water=1,destroy_by_lava_flow=1,dig_by_piston=1,enderman_takable=1,deco_block=1}, groups = {dig_immediate=3,flammable=2,fire_encouragement=60,fire_flammability=100,plant=1,flower=1,place_flowerlike=1,non_mycelium_plant=1,attached_node=1,dig_by_water=1,destroy_by_lava_flow=1,dig_by_piston=1,enderman_takable=1,deco_block=1},
sounds = mcl_sounds.node_sound_leaves_defaults(), sounds = mcl_sounds.node_sound_leaves_defaults(),
node_placement_prediction = "", node_placement_prediction = "",
on_place = on_place_flower, on_place = on_place_flower,
@ -122,7 +122,7 @@ local def_tallgrass = {
walkable = false, walkable = false,
buildable_to = true, buildable_to = true,
is_ground_content = true, is_ground_content = true,
groups = {handy=1,shearsy=1, flammable=3,attached_node=1,plant=1,place_flowerlike=2,non_mycelium_plant=1,dig_by_water=1,destroy_by_lava_flow=1,deco_block=1}, groups = {handy=1,shearsy=1, flammable=3,fire_encouragement=60,fire_flammability=100,attached_node=1,plant=1,place_flowerlike=2,non_mycelium_plant=1,dig_by_water=1,destroy_by_lava_flow=1,deco_block=1},
sounds = mcl_sounds.node_sound_leaves_defaults(), sounds = mcl_sounds.node_sound_leaves_defaults(),
drop = wheat_seed_drop, drop = wheat_seed_drop,
_mcl_shears_drop = true, _mcl_shears_drop = true,
@ -157,7 +157,7 @@ local function add_large_plant(name, desc, longdesc, bottom_img, top_img, inv_im
is_flower = true is_flower = true
end end
local bottom_groups = {flammable=2,non_mycelium_plant=1,attached_node=1, dig_by_water=1,destroy_by_lava_flow=1,dig_by_piston=1, plant=1,double_plant=1,deco_block=1,not_in_creative_inventory=noncreative} local bottom_groups = {flammable=2,fire_encouragement=60,fire_flammability=100, non_mycelium_plant=1,attached_node=1, dig_by_water=1,destroy_by_lava_flow=1,dig_by_piston=1, plant=1,double_plant=1,deco_block=1,not_in_creative_inventory=noncreative}
if is_flower then if is_flower then
bottom_groups.flower = 1 bottom_groups.flower = 1
bottom_groups.place_flowerlike = 1 bottom_groups.place_flowerlike = 1

@ -132,7 +132,7 @@ minetest.register_node("mcl_jukebox:jukebox", {
_doc_items_usagehelp = S("Place a music disc into an empty jukebox to insert the music disc and play music. If the jukebox already has a music disc, you will retrieve this music disc first. The music can only be heard by you, not by other players."), _doc_items_usagehelp = S("Place a music disc into an empty jukebox to insert the music disc and play music. If the jukebox already has a music disc, you will retrieve this music disc first. The music can only be heard by you, not by other players."),
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_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
groups = {handy=1,axey=1, container=7, deco_block=1, material_wood=1}, groups = {handy=1,axey=1, container=7, deco_block=1, material_wood=1, flammable=-1},
is_ground_content = false, is_ground_content = false,
on_construct = function(pos) on_construct = function(pos)
local meta = minetest.get_meta(pos) local meta = minetest.get_meta(pos)

@ -1,7 +1,7 @@
local S = minetest.get_translator("mcl_mushrooms") local S = minetest.get_translator("mcl_mushrooms")
local template = { local template = {
groups = {handy=1,axey=1, building_block = 1, material_wood = 1 }, groups = {handy=1,axey=1, building_block = 1, material_wood = 1, flammable = -1 },
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
is_ground_content = true, is_ground_content = true,
_mcl_blast_resistance = 1, _mcl_blast_resistance = 1,

@ -235,7 +235,7 @@ minetest.register_node("mcl_ocean:dried_kelp_block", {
description = S("Dried Kelp Block"), description = S("Dried Kelp Block"),
_doc_items_longdesc = S("A decorative block that serves as a great furnace fuel."), _doc_items_longdesc = S("A decorative block that serves as a great furnace fuel."),
tiles = { "mcl_ocean_dried_kelp_top.png", "mcl_ocean_dried_kelp_bottom.png", "mcl_ocean_dried_kelp_side.png" }, tiles = { "mcl_ocean_dried_kelp_top.png", "mcl_ocean_dried_kelp_bottom.png", "mcl_ocean_dried_kelp_side.png" },
groups = { handy = 1, building_block = 1, flammable = 2 }, groups = { handy = 1, building_block = 1, flammable = 2, fire_encouragement = 30, fire_flammability = 60 },
sounds = mcl_sounds.node_sound_leaves_defaults(), sounds = mcl_sounds.node_sound_leaves_defaults(),
paramtype2 = "facedir", paramtype2 = "facedir",
on_place = mcl_util.rotate_axis, on_place = mcl_util.rotate_axis,

@ -185,7 +185,7 @@ local function get_wall_signtext_info(param2, nodename)
end end
end end
local sign_groups = {handy=1,axey=1, flammable=1, deco_block=1, material_wood=1, attached_node=1, dig_by_piston=1} local sign_groups = {handy=1,axey=1, flammable=1, deco_block=1, material_wood=1, attached_node=1, dig_by_piston=1, flammable=-1}
local destruct_sign = function(pos) local destruct_sign = function(pos)
local objects = minetest.get_objects_inside_radius(pos, 0.5) local objects = minetest.get_objects_inside_radius(pos, 0.5)

@ -17,14 +17,14 @@ local woods = {
for w=1, #woods do for w=1, #woods do
local wood = woods[w] local wood = woods[w]
mcl_stairs.register_stair(wood[1], "mcl_core:"..wood[1], mcl_stairs.register_stair(wood[1], "mcl_core:"..wood[1],
{handy=1,axey=1, flammable=3,wood_stairs=1, material_wood=1}, {handy=1,axey=1, flammable=3,wood_stairs=1, material_wood=1, fire_encouragement=5, fire_flammability=20},
{wood[2]}, {wood[2]},
wood[3], wood[3],
mcl_sounds.node_sound_wood_defaults(), mcl_sounds.node_sound_wood_defaults(),
2, 2,
"woodlike") "woodlike")
mcl_stairs.register_slab(wood[1], "mcl_core:"..wood[1], mcl_stairs.register_slab(wood[1], "mcl_core:"..wood[1],
{handy=1,axey=1, flammable=3,wood_slab=1, material_wood=1}, {handy=1,axey=1, flammable=3,wood_slab=1, material_wood=1, fire_encouragement=5, fire_flammability=20},
{wood[2]}, {wood[2]},
wood[4], wood[4],
mcl_sounds.node_sound_wood_defaults(), mcl_sounds.node_sound_wood_defaults(),

@ -60,7 +60,7 @@ for _, row in ipairs(wool.dyes) do
stack_max = 64, stack_max = 64,
is_ground_content = false, is_ground_content = false,
tiles = {texture..".png"}, tiles = {texture..".png"},
groups = {handy=1,shearsy_wool=1, flammable=1,wool=1,building_block=1,[color_group]=1}, groups = {handy=1,shearsy_wool=1, flammable=1,fire_encouragement=30, fire_flammability=60, wool=1,building_block=1,[color_group]=1},
sounds = mcl_sounds.node_sound_wool_defaults(), sounds = mcl_sounds.node_sound_wool_defaults(),
_mcl_hardness = 0.8, _mcl_hardness = 0.8,
_mcl_blast_resistance = 4, _mcl_blast_resistance = 4,
@ -76,7 +76,7 @@ for _, row in ipairs(wool.dyes) do
tiles = {texture..".png"}, tiles = {texture..".png"},
wield_image = texture..".png", wield_image = texture..".png",
wield_scale = { x=1, y=1, z=0.5 }, wield_scale = { x=1, y=1, z=0.5 },
groups = {handy=1, carpet=1,attached_node=1,flammable=1,dig_by_water=1,deco_block=1,[color_group]=1}, groups = {handy=1, carpet=1,attached_node=1,flammable=1,fire_encouragement=60, fire_flammability=20, dig_by_water=1,deco_block=1,[color_group]=1},
sounds = mcl_sounds.node_sound_wool_defaults(), sounds = mcl_sounds.node_sound_wool_defaults(),
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,

@ -19,14 +19,14 @@ for b=1, #barks do
id = "mcl_core:"..bark[1].."tree" id = "mcl_core:"..bark[1].."tree"
end end
mcl_stairs.register_stair(sub, id, mcl_stairs.register_stair(sub, id,
{handy=1,axey=1, flammable=3, bark_stairs=1, material_wood=1}, {handy=1,axey=1, flammable=3, bark_stairs=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
{minetest.registered_nodes[id].tiles[3]}, {minetest.registered_nodes[id].tiles[3]},
bark[2], bark[2],
mcl_sounds.node_sound_wood_defaults(), mcl_sounds.node_sound_wood_defaults(),
2, 2,
"woodlike") "woodlike")
mcl_stairs.register_slab(sub, id, mcl_stairs.register_slab(sub, id,
{handy=1,axey=1, flammable=3, bark_slab=1, material_wood=1}, {handy=1,axey=1, flammable=3, bark_slab=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
{minetest.registered_nodes[id].tiles[3]}, {minetest.registered_nodes[id].tiles[3]},
bark[3], bark[3],
mcl_sounds.node_sound_wood_defaults(), mcl_sounds.node_sound_wood_defaults(),