Default, stairs, doors: Vary wood flammable and choppy group values
authorparamat <mat.gregory@virginmedia.com>
Sat, 27 Aug 2016 01:41:31 +0000 (02:41 +0100)
committerparamat <mat.gregory@virginmedia.com>
Sun, 28 Aug 2016 23:24:30 +0000 (00:24 +0100)
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'.

mods/default/nodes.lua
mods/doors/init.lua
mods/stairs/init.lua

index fe7cbb12a4137b56ac82710e83acb4edd3d61ebe..79aea5bbc26b848fad9e44ac899fd31b19e5ad68 100644 (file)
@@ -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()
 })
 
index 86f5f7e76861d0b1420bb672f4a7d0c17a7408ae..0888077fdfcd8cb61509f33496e3ff5f0fc3bc36 100644 (file)
@@ -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}
 })
index 001640fafff25c935fd40eed47a39512f14db218..78922e4065bb9b538cf16ee105ac144c555a4815 100644 (file)
@@ -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",