Skip to content

Commit 9952567

Browse files
committedAug 28, 2016
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'.
1 parent 471d1cf commit 9952567

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed
 

‎mods/default/nodes.lua

+11-11
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ minetest.register_node("default:wood", {
486486
place_param2 = 0,
487487
tiles = {"default_wood.png"},
488488
is_ground_content = false,
489-
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
489+
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1},
490490
sounds = default.node_sound_wood_defaults(),
491491
})
492492

@@ -602,7 +602,7 @@ minetest.register_node("default:junglewood", {
602602
place_param2 = 0,
603603
tiles = {"default_junglewood.png"},
604604
is_ground_content = false,
605-
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
605+
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1},
606606
sounds = default.node_sound_wood_defaults(),
607607
})
608608

@@ -672,7 +672,7 @@ minetest.register_node("default:pine_tree", {
672672
"default_pine_tree.png"},
673673
paramtype2 = "facedir",
674674
is_ground_content = false,
675-
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
675+
groups = {tree = 1, choppy = 3, oddly_breakable_by_hand = 1, flammable = 3},
676676
sounds = default.node_sound_wood_defaults(),
677677

678678
on_place = minetest.rotate_node
@@ -684,7 +684,7 @@ minetest.register_node("default:pine_wood", {
684684
place_param2 = 0,
685685
tiles = {"default_pine_wood.png"},
686686
is_ground_content = false,
687-
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
687+
groups = {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
688688
sounds = default.node_sound_wood_defaults(),
689689
})
690690

@@ -724,7 +724,7 @@ minetest.register_node("default:pine_sapling", {
724724
type = "fixed",
725725
fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3}
726726
},
727-
groups = {snappy = 2, dig_immediate = 3, flammable = 2,
727+
groups = {snappy = 2, dig_immediate = 3, flammable = 3,
728728
attached_node = 1, sapling = 1},
729729
sounds = default.node_sound_leaves_defaults(),
730730

@@ -765,7 +765,7 @@ minetest.register_node("default:acacia_wood", {
765765
place_param2 = 0,
766766
tiles = {"default_acacia_wood.png"},
767767
is_ground_content = false,
768-
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
768+
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1},
769769
sounds = default.node_sound_wood_defaults(),
770770
})
771771

@@ -833,7 +833,7 @@ minetest.register_node("default:aspen_tree", {
833833
"default_aspen_tree.png"},
834834
paramtype2 = "facedir",
835835
is_ground_content = false,
836-
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
836+
groups = {tree = 1, choppy = 3, oddly_breakable_by_hand = 1, flammable = 3},
837837
sounds = default.node_sound_wood_defaults(),
838838

839839
on_place = minetest.rotate_node
@@ -845,7 +845,7 @@ minetest.register_node("default:aspen_wood", {
845845
place_param2 = 0,
846846
tiles = {"default_aspen_wood.png"},
847847
is_ground_content = false,
848-
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
848+
groups = {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
849849
sounds = default.node_sound_wood_defaults(),
850850
})
851851

@@ -885,7 +885,7 @@ minetest.register_node("default:aspen_sapling", {
885885
type = "fixed",
886886
fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3}
887887
},
888-
groups = {snappy = 2, dig_immediate = 3, flammable = 2,
888+
groups = {snappy = 2, dig_immediate = 3, flammable = 3,
889889
attached_node = 1, sapling = 1},
890890
sounds = default.node_sound_leaves_defaults(),
891891

@@ -1890,7 +1890,7 @@ default.register_fence("default:fence_pine_wood", {
18901890
inventory_image = "default_fence_overlay.png^default_pine_wood.png^default_fence_overlay.png^[makealpha:255,126,126",
18911891
wield_image = "default_fence_overlay.png^default_pine_wood.png^default_fence_overlay.png^[makealpha:255,126,126",
18921892
material = "default:pine_wood",
1893-
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
1893+
groups = {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
18941894
sounds = default.node_sound_wood_defaults()
18951895
})
18961896

@@ -1900,7 +1900,7 @@ default.register_fence("default:fence_aspen_wood", {
19001900
inventory_image = "default_fence_overlay.png^default_aspen_wood.png^default_fence_overlay.png^[makealpha:255,126,126",
19011901
wield_image = "default_fence_overlay.png^default_aspen_wood.png^default_fence_overlay.png^[makealpha:255,126,126",
19021902
material = "default:aspen_wood",
1903-
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
1903+
groups = {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
19041904
sounds = default.node_sound_wood_defaults()
19051905
})
19061906

‎mods/doors/init.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -744,12 +744,12 @@ doors.register_fencegate("doors:gate_pine_wood", {
744744
description = "Pine Fence Gate",
745745
texture = "default_pine_wood.png",
746746
material = "default:pine_wood",
747-
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2}
747+
groups = {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3}
748748
})
749749

750750
doors.register_fencegate("doors:gate_aspen_wood", {
751751
description = "Aspen Fence Gate",
752752
texture = "default_aspen_wood.png",
753753
material = "default:aspen_wood",
754-
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2}
754+
groups = {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3}
755755
})

‎mods/stairs/init.lua

+5-5
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ end
269269
stairs.register_stair_and_slab(
270270
"wood",
271271
"default:wood",
272-
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
272+
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
273273
{"default_wood.png"},
274274
"Wooden Stair",
275275
"Wooden Slab",
@@ -279,7 +279,7 @@ stairs.register_stair_and_slab(
279279
stairs.register_stair_and_slab(
280280
"junglewood",
281281
"default:junglewood",
282-
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
282+
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
283283
{"default_junglewood.png"},
284284
"Jungle Wood Stair",
285285
"Jungle Wood Slab",
@@ -289,7 +289,7 @@ stairs.register_stair_and_slab(
289289
stairs.register_stair_and_slab(
290290
"pine_wood",
291291
"default:pine_wood",
292-
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
292+
{choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
293293
{"default_pine_wood.png"},
294294
"Pine Wood Stair",
295295
"Pine Wood Slab",
@@ -299,7 +299,7 @@ stairs.register_stair_and_slab(
299299
stairs.register_stair_and_slab(
300300
"acacia_wood",
301301
"default:acacia_wood",
302-
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
302+
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
303303
{"default_acacia_wood.png"},
304304
"Acacia Wood Stair",
305305
"Acacia Wood Slab",
@@ -309,7 +309,7 @@ stairs.register_stair_and_slab(
309309
stairs.register_stair_and_slab(
310310
"aspen_wood",
311311
"default:aspen_wood",
312-
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
312+
{choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
313313
{"default_aspen_wood.png"},
314314
"Aspen Wood Stair",
315315
"Aspen Wood Slab",

0 commit comments

Comments
 (0)
Please sign in to comment.