From: paramat Date: Sat, 27 Aug 2016 01:41:31 +0000 (+0100) Subject: Default, stairs, doors: Vary wood flammable and choppy group values X-Git-Tag: 0.4.15~103 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=995256744ad8c7ec396b3efd8f88a5a563b4886c;p=oweals%2Fminetest_game.git Default, stairs, doors: Vary wood flammable and choppy group values Make the softer woods, pine and aspen, 'flammable = 3'. Correct inconsistent flammability of wood and stairs in relation to all other solid wood nodes in MTGame. Make the the softer woods, pine and aspen, 'choppy = 3'. --- diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua index fe7cbb12..79aea5bb 100644 --- a/mods/default/nodes.lua +++ b/mods/default/nodes.lua @@ -486,7 +486,7 @@ minetest.register_node("default:wood", { place_param2 = 0, tiles = {"default_wood.png"}, is_ground_content = false, - groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, + groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1}, sounds = default.node_sound_wood_defaults(), }) @@ -602,7 +602,7 @@ minetest.register_node("default:junglewood", { place_param2 = 0, tiles = {"default_junglewood.png"}, is_ground_content = false, - groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, + groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1}, sounds = default.node_sound_wood_defaults(), }) @@ -672,7 +672,7 @@ minetest.register_node("default:pine_tree", { "default_pine_tree.png"}, paramtype2 = "facedir", is_ground_content = false, - groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2}, + groups = {tree = 1, choppy = 3, oddly_breakable_by_hand = 1, flammable = 3}, sounds = default.node_sound_wood_defaults(), on_place = minetest.rotate_node @@ -684,7 +684,7 @@ minetest.register_node("default:pine_wood", { place_param2 = 0, tiles = {"default_pine_wood.png"}, is_ground_content = false, - groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, + groups = {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, sounds = default.node_sound_wood_defaults(), }) @@ -724,7 +724,7 @@ minetest.register_node("default:pine_sapling", { type = "fixed", fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3} }, - groups = {snappy = 2, dig_immediate = 3, flammable = 2, + groups = {snappy = 2, dig_immediate = 3, flammable = 3, attached_node = 1, sapling = 1}, sounds = default.node_sound_leaves_defaults(), @@ -765,7 +765,7 @@ minetest.register_node("default:acacia_wood", { place_param2 = 0, tiles = {"default_acacia_wood.png"}, is_ground_content = false, - groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, + groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1}, sounds = default.node_sound_wood_defaults(), }) @@ -833,7 +833,7 @@ minetest.register_node("default:aspen_tree", { "default_aspen_tree.png"}, paramtype2 = "facedir", is_ground_content = false, - groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2}, + groups = {tree = 1, choppy = 3, oddly_breakable_by_hand = 1, flammable = 3}, sounds = default.node_sound_wood_defaults(), on_place = minetest.rotate_node @@ -845,7 +845,7 @@ minetest.register_node("default:aspen_wood", { place_param2 = 0, tiles = {"default_aspen_wood.png"}, is_ground_content = false, - groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, + groups = {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, sounds = default.node_sound_wood_defaults(), }) @@ -885,7 +885,7 @@ minetest.register_node("default:aspen_sapling", { type = "fixed", fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3} }, - groups = {snappy = 2, dig_immediate = 3, flammable = 2, + groups = {snappy = 2, dig_immediate = 3, flammable = 3, attached_node = 1, sapling = 1}, sounds = default.node_sound_leaves_defaults(), @@ -1890,7 +1890,7 @@ default.register_fence("default:fence_pine_wood", { inventory_image = "default_fence_overlay.png^default_pine_wood.png^default_fence_overlay.png^[makealpha:255,126,126", wield_image = "default_fence_overlay.png^default_pine_wood.png^default_fence_overlay.png^[makealpha:255,126,126", material = "default:pine_wood", - groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2}, + groups = {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3}, sounds = default.node_sound_wood_defaults() }) @@ -1900,7 +1900,7 @@ default.register_fence("default:fence_aspen_wood", { inventory_image = "default_fence_overlay.png^default_aspen_wood.png^default_fence_overlay.png^[makealpha:255,126,126", wield_image = "default_fence_overlay.png^default_aspen_wood.png^default_fence_overlay.png^[makealpha:255,126,126", material = "default:aspen_wood", - groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2}, + groups = {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3}, sounds = default.node_sound_wood_defaults() }) diff --git a/mods/doors/init.lua b/mods/doors/init.lua index 86f5f7e7..0888077f 100644 --- a/mods/doors/init.lua +++ b/mods/doors/init.lua @@ -744,12 +744,12 @@ doors.register_fencegate("doors:gate_pine_wood", { description = "Pine Fence Gate", texture = "default_pine_wood.png", material = "default:pine_wood", - groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2} + groups = {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3} }) doors.register_fencegate("doors:gate_aspen_wood", { description = "Aspen Fence Gate", texture = "default_aspen_wood.png", material = "default:aspen_wood", - groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2} + groups = {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3} }) diff --git a/mods/stairs/init.lua b/mods/stairs/init.lua index 001640fa..78922e40 100644 --- a/mods/stairs/init.lua +++ b/mods/stairs/init.lua @@ -269,7 +269,7 @@ end stairs.register_stair_and_slab( "wood", "default:wood", - {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3}, + {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2}, {"default_wood.png"}, "Wooden Stair", "Wooden Slab", @@ -279,7 +279,7 @@ stairs.register_stair_and_slab( stairs.register_stair_and_slab( "junglewood", "default:junglewood", - {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3}, + {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2}, {"default_junglewood.png"}, "Jungle Wood Stair", "Jungle Wood Slab", @@ -289,7 +289,7 @@ stairs.register_stair_and_slab( stairs.register_stair_and_slab( "pine_wood", "default:pine_wood", - {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3}, + {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3}, {"default_pine_wood.png"}, "Pine Wood Stair", "Pine Wood Slab", @@ -299,7 +299,7 @@ stairs.register_stair_and_slab( stairs.register_stair_and_slab( "acacia_wood", "default:acacia_wood", - {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3}, + {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2}, {"default_acacia_wood.png"}, "Acacia Wood Stair", "Acacia Wood Slab", @@ -309,7 +309,7 @@ stairs.register_stair_and_slab( stairs.register_stair_and_slab( "aspen_wood", "default:aspen_wood", - {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3}, + {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3}, {"default_aspen_wood.png"}, "Aspen Wood Stair", "Aspen Wood Slab",