forked from LizzyFleckenstein03/Memeclone
Add blast resistance to a ton of blocks
This commit is contained in:
parent
6be056c0e7
commit
0aeb109c64
|
@ -157,6 +157,7 @@ minetest.register_node("mcl_books:bookshelf", {
|
|||
groups = {choppy=3,oddly_breakable_by_hand=2,flammable=3,building_block=1},
|
||||
drop = "mcl_books:book 3",
|
||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
||||
_mcl_blast_resistance = 7.5,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
|
|
|
@ -51,6 +51,7 @@ minetest.register_node("mcl_cake:cake", {
|
|||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||
|
||||
_food_particles = false,
|
||||
_mcl_blast_resistance = 2.5
|
||||
})
|
||||
minetest.register_node("mcl_cake:cake_5", {
|
||||
description = "Cake (5 Slices Left)",
|
||||
|
@ -99,6 +100,7 @@ minetest.register_node("mcl_cake:cake_4", {
|
|||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||
|
||||
_food_particles = false,
|
||||
_mcl_blast_resistance = 2.5
|
||||
})
|
||||
minetest.register_node("mcl_cake:cake_3", {
|
||||
description = "Cake (3 Slices Left)",
|
||||
|
@ -123,6 +125,7 @@ minetest.register_node("mcl_cake:cake_3", {
|
|||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||
|
||||
_food_particles = false,
|
||||
_mcl_blast_resistance = 2.5
|
||||
})
|
||||
minetest.register_node("mcl_cake:cake_2", {
|
||||
description = "Cake (2 Slices Left)",
|
||||
|
@ -147,6 +150,7 @@ minetest.register_node("mcl_cake:cake_2", {
|
|||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||
|
||||
_food_particles = false,
|
||||
_mcl_blast_resistance = 2.5
|
||||
})
|
||||
minetest.register_node("mcl_cake:cake_1", {
|
||||
description = "Cake (1 Slice Left)",
|
||||
|
@ -171,4 +175,5 @@ minetest.register_node("mcl_cake:cake_1", {
|
|||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||
|
||||
_food_particles = false,
|
||||
_mcl_blast_resistance = 2.5
|
||||
})
|
||||
|
|
|
@ -133,6 +133,7 @@ minetest.register_node("mcl_chests:chest", {
|
|||
minetest.log("action", player:get_player_name()..
|
||||
" takes stuff from chest at "..minetest.pos_to_string(pos))
|
||||
end,
|
||||
_mcl_blast_resistance = 2.5,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_chests:chest_left", {
|
||||
|
@ -192,6 +193,7 @@ minetest.register_node("mcl_chests:chest_left", {
|
|||
minetest.log("action", player:get_player_name()..
|
||||
" takes stuff from chest at "..minetest.pos_to_string(pos))
|
||||
end,
|
||||
_mcl_blast_resistance = 2.5,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_chests:chest_right", {
|
||||
|
@ -251,6 +253,7 @@ minetest.register_node("mcl_chests:chest_right", {
|
|||
minetest.log("action", player:get_player_name()..
|
||||
" takes stuff from chest at "..minetest.pos_to_string(pos))
|
||||
end,
|
||||
_mcl_blast_resistance = 2.5,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
|
@ -295,6 +298,7 @@ minetest.register_node("mcl_chests:ender_chest", {
|
|||
"listring[current_player;enderchest]"..
|
||||
"listring[current_player;main]")
|
||||
end,
|
||||
_mcl_blast_resistance = 3000,
|
||||
})
|
||||
|
||||
minetest.register_on_joinplayer(function(player)
|
||||
|
@ -404,6 +408,7 @@ for color, desc in pairs(boxtypes) do
|
|||
return 0
|
||||
end
|
||||
end,
|
||||
_mcl_blast_resistance = 30,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
|
|
|
@ -110,7 +110,8 @@ local crop_def = {
|
|||
groups = {
|
||||
cocoa=1, choppy=3, oddly_breakable_by_hand=3, not_in_creative_inventory=1, dig_by_water=1,
|
||||
},
|
||||
sounds = mcl_sounds.node_sound_wood_defaults()
|
||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
||||
_mcl_blast_resistance = 15,
|
||||
}
|
||||
|
||||
-- 2nd stage
|
||||
|
|
|
@ -27,6 +27,7 @@ minetest.register_node("mcl_colorblocks:hardened_clay", {
|
|||
stack_max = 64,
|
||||
groups = {cracky=3,hardened_clay=1,building_block=1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
_mcl_blast_resistance = 21,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
|
@ -50,6 +51,7 @@ for _, row in ipairs(block.dyes) do
|
|||
groups = {cracky=3,hardened_clay=1,building_block=1},
|
||||
stack_max = 64,
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
_mcl_blast_resistance = 21,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_colorblocks:concrete_powder_"..name, {
|
||||
|
@ -62,6 +64,7 @@ for _, row in ipairs(block.dyes) do
|
|||
|
||||
-- Specify the node to which this node will convert after getting in contact with water
|
||||
_mcl_colorblocks_harden_to = "mcl_colorblocks:concrete_"..name,
|
||||
_mcl_blast_resistance = 2.5,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_colorblocks:concrete_"..name, {
|
||||
|
@ -71,6 +74,7 @@ for _, row in ipairs(block.dyes) do
|
|||
stack_max = 64,
|
||||
is_ground_content = false,
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
_mcl_blast_resistance = 9,
|
||||
})
|
||||
|
||||
if terracotta then
|
||||
|
@ -84,6 +88,7 @@ for _, row in ipairs(block.dyes) do
|
|||
stack_max = 64,
|
||||
is_ground_content = false,
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
_mcl_blast_resistance = 7,
|
||||
})
|
||||
end
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@ minetest.register_node("mcl_end:end_stone", {
|
|||
stack_max = 64,
|
||||
groups = {cracky=2,building_block=1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
_mcl_blast_resistance = 45,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_end:end_bricks", {
|
||||
|
@ -14,6 +15,7 @@ minetest.register_node("mcl_end:end_bricks", {
|
|||
stack_max = 64,
|
||||
groups = {cracky=3,building_block=1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
_mcl_blast_resistance = 4,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_end:purpur_block", {
|
||||
|
@ -23,6 +25,7 @@ minetest.register_node("mcl_end:purpur_block", {
|
|||
stack_max = 64,
|
||||
groups = {cracky=3,building_block=1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
_mcl_blast_resistance = 30,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_end:purpur_pillar", {
|
||||
|
@ -34,6 +37,7 @@ minetest.register_node("mcl_end:purpur_pillar", {
|
|||
tiles = {"mcl_end_purpur_pillar_top.png", "mcl_end_purpur_pillar_top.png", "mcl_end_purpur_pillar.png"},
|
||||
groups = {cracky=3,building_block=1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
_mcl_blast_resistance = 30,
|
||||
})
|
||||
|
||||
local rod_box = {
|
||||
|
@ -70,6 +74,7 @@ minetest.register_node("mcl_end:end_rod", {
|
|||
-- FIXME: Collision box does not seem to rotate correctly
|
||||
collision_box = rod_box,
|
||||
sounds = mcl_sounds.node_sound_glass_defaults(),
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_end:dragon_egg", {
|
||||
|
@ -105,6 +110,7 @@ minetest.register_node("mcl_end:dragon_egg", {
|
|||
},
|
||||
groups = { oddly_breakable_by_hand = 3, falling_node = 1, deco_block = 1, not_in_creative_inventory = 1 },
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
_mcl_blast_resistance = 45,
|
||||
-- TODO: Make dragon egg teleport on punching
|
||||
})
|
||||
|
||||
|
@ -135,6 +141,7 @@ minetest.register_node("mcl_end:chorus_flower", {
|
|||
selection_box = { type = "regular" },
|
||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
||||
groups = { oddly_breakable_by_hand = 3, choppy = 3, deco_block = 1 },
|
||||
_mcl_blast_resistance = 2,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_end:chorus_flower_dead", {
|
||||
|
@ -154,6 +161,7 @@ minetest.register_node("mcl_end:chorus_flower_dead", {
|
|||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
||||
drop = "mcl_end:chorus_flower",
|
||||
groups = { oddly_breakable_by_hand = 3, choppy = 3, deco_block = 1},
|
||||
_mcl_blast_resistance = 2,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_end:chorus_plant", {
|
||||
|
@ -185,6 +193,7 @@ minetest.register_node("mcl_end:chorus_plant", {
|
|||
-- TODO: Check drop probability
|
||||
drop = { items = { {items = { "mcl_end:chorus_fruit", rarity = 4 } } } },
|
||||
groups = { oddly_breakable_by_hand = 3, choppy = 3, not_in_creative_inventory = 1,},
|
||||
_mcl_blast_resistance = 2,
|
||||
})
|
||||
|
||||
-- Craftitems
|
||||
|
|
|
@ -23,6 +23,7 @@ minetest.register_node("mcl_farming:beetroot_0", {
|
|||
},
|
||||
groups = {dig_immediate=3, not_in_creative_inventory=1,dig_by_water=1},
|
||||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:beetroot_1", {
|
||||
|
@ -40,6 +41,7 @@ minetest.register_node("mcl_farming:beetroot_1", {
|
|||
},
|
||||
groups = {dig_immediate=3, not_in_creative_inventory=1,dig_by_water=1},
|
||||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:beetroot_2", {
|
||||
|
@ -57,6 +59,7 @@ minetest.register_node("mcl_farming:beetroot_2", {
|
|||
},
|
||||
groups = {dig_immediate=3, not_in_creative_inventory=1,dig_by_water=1},
|
||||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:beetroot", {
|
||||
|
@ -82,6 +85,7 @@ minetest.register_node("mcl_farming:beetroot", {
|
|||
},
|
||||
groups = {dig_immediate=3, not_in_creative_inventory=1,dig_by_water=1},
|
||||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
minetest.register_craftitem("mcl_farming:beetroot_item", {
|
||||
|
|
|
@ -13,6 +13,7 @@ minetest.register_node("mcl_farming:carrot_1", {
|
|||
},
|
||||
groups = {dig_immediate=3, not_in_creative_inventory=1,dig_by_water=1},
|
||||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:carrot_2", {
|
||||
|
@ -30,6 +31,7 @@ minetest.register_node("mcl_farming:carrot_2", {
|
|||
},
|
||||
groups = {dig_immediate=3, not_in_creative_inventory=1,dig_by_water=1},
|
||||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:carrot_3", {
|
||||
|
@ -47,6 +49,7 @@ minetest.register_node("mcl_farming:carrot_3", {
|
|||
},
|
||||
groups = {dig_immediate=3, not_in_creative_inventory=1,dig_by_water=1},
|
||||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:carrot", {
|
||||
|
@ -66,6 +69,7 @@ minetest.register_node("mcl_farming:carrot", {
|
|||
},
|
||||
groups = {dig_immediate=3, not_in_creative_inventory=1,dig_by_water=1},
|
||||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
minetest.register_craftitem("mcl_farming:carrot_item", {
|
||||
|
|
|
@ -35,6 +35,7 @@ minetest.register_node("mcl_farming:melon", {
|
|||
end
|
||||
end,
|
||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
||||
_mcl_blast_resistance = 5,
|
||||
})
|
||||
|
||||
local stemdrop = {
|
||||
|
@ -74,6 +75,7 @@ minetest.register_node("mcl_farming:melontige_1", {
|
|||
},
|
||||
groups = {snappy=3, not_in_creative_inventory=1 ,dig_by_water=1},
|
||||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:melontige_2", {
|
||||
|
@ -92,6 +94,7 @@ minetest.register_node("mcl_farming:melontige_2", {
|
|||
},
|
||||
groups = {snappy=3, not_in_creative_inventory=1 ,dig_by_water=1},
|
||||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:melontige_unconnect", {
|
||||
|
@ -104,6 +107,7 @@ minetest.register_node("mcl_farming:melontige_unconnect", {
|
|||
tiles = {"farming_tige_end.png"},
|
||||
groups = {snappy=3, not_in_creative_inventory=1 ,dig_by_water=1},
|
||||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:melontige_linked_r", {
|
||||
|
@ -135,6 +139,7 @@ minetest.register_node("mcl_farming:melontige_linked_r", {
|
|||
},
|
||||
groups = {snappy=3, not_in_creative_inventory=1 ,dig_by_water=1},
|
||||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:melontige_linked_l", {
|
||||
|
@ -166,6 +171,7 @@ minetest.register_node("mcl_farming:melontige_linked_l", {
|
|||
},
|
||||
groups = {snappy=3, not_in_creative_inventory=1 ,dig_by_water=1},
|
||||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:melontige_linked_t", {
|
||||
|
@ -197,6 +203,7 @@ minetest.register_node("mcl_farming:melontige_linked_t", {
|
|||
},
|
||||
groups = {snappy=3, not_in_creative_inventory=1 ,dig_by_water=1},
|
||||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:melontige_linked_b", {
|
||||
|
@ -228,6 +235,7 @@ minetest.register_node("mcl_farming:melontige_linked_b", {
|
|||
},
|
||||
groups = {snappy=3, not_in_creative_inventory=1 ,dig_by_water=1},
|
||||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
minetest.register_craftitem("mcl_farming:melon_seeds", {
|
||||
|
|
|
@ -14,6 +14,7 @@ minetest.register_node("mcl_farming:mushroom_brown", {
|
|||
type = "fixed",
|
||||
fixed = { -0.15, -0.5, -0.15, 0.15, 0.015, 0.15 },
|
||||
},
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:mushroom_red", {
|
||||
|
@ -31,6 +32,7 @@ minetest.register_node("mcl_farming:mushroom_red", {
|
|||
type = "fixed",
|
||||
fixed = { -0.15, -0.5, -0.15, 0.15, 0.015, 0.15 },
|
||||
},
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
minetest.register_craftitem("mcl_farming:mushroom_stew", {
|
||||
|
|
|
@ -13,6 +13,7 @@ minetest.register_node("mcl_farming:potato_1", {
|
|||
},
|
||||
groups = {dig_immediate=3, not_in_creative_inventory=1,dig_by_water=1},
|
||||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:potato_2", {
|
||||
|
@ -30,6 +31,7 @@ minetest.register_node("mcl_farming:potato_2", {
|
|||
},
|
||||
groups = {dig_immediate=3, not_in_creative_inventory=1,dig_by_water=1},
|
||||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:potato", {
|
||||
|
@ -49,6 +51,7 @@ minetest.register_node("mcl_farming:potato", {
|
|||
},
|
||||
groups = {dig_immediate=3, not_in_creative_inventory=1,dig_by_water=1},
|
||||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
minetest.register_craftitem("mcl_farming:potato_item", {
|
||||
|
|
|
@ -45,6 +45,7 @@ minetest.register_node("mcl_farming:pumpkin_1", {
|
|||
},
|
||||
groups = {snappy=3, not_in_creative_inventory=1 ,dig_by_water=1},
|
||||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:pumpkin_2", {
|
||||
|
@ -63,6 +64,7 @@ minetest.register_node("mcl_farming:pumpkin_2", {
|
|||
},
|
||||
groups = {snappy=3, not_in_creative_inventory=1 ,dig_by_water=1},
|
||||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
|
||||
|
@ -94,6 +96,7 @@ minetest.register_node("mcl_farming:pumpkin_face", {
|
|||
end
|
||||
end,
|
||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
||||
_mcl_blast_resistance = 5,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:pumpkintige_unconnect", {
|
||||
|
@ -106,6 +109,7 @@ minetest.register_node("mcl_farming:pumpkintige_unconnect", {
|
|||
tiles = {"farming_tige_end.png"},
|
||||
groups = {snappy=3, not_in_creative_inventory=1 ,dig_by_water=1},
|
||||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
|
||||
|
@ -138,6 +142,7 @@ minetest.register_node("mcl_farming:pumpkintige_linked_r", {
|
|||
},
|
||||
groups = {snappy=3, not_in_creative_inventory=1 ,dig_by_water=1},
|
||||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:pumpkintige_linked_l", {
|
||||
|
@ -169,6 +174,7 @@ minetest.register_node("mcl_farming:pumpkintige_linked_l", {
|
|||
},
|
||||
groups = {snappy=3, not_in_creative_inventory=1 ,dig_by_water=1},
|
||||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:pumpkintige_linked_t", {
|
||||
|
@ -200,6 +206,7 @@ minetest.register_node("mcl_farming:pumpkintige_linked_t", {
|
|||
},
|
||||
groups = {snappy=3, not_in_creative_inventory=1 ,dig_by_water=1},
|
||||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:pumpkintige_linked_b", {
|
||||
|
@ -231,6 +238,7 @@ minetest.register_node("mcl_farming:pumpkintige_linked_b", {
|
|||
},
|
||||
groups = {snappy=3, not_in_creative_inventory=1 ,dig_by_water=1},
|
||||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
mcl_farming:add_plant("mcl_farming:pumpkintige_unconnect", {"mcl_farming:pumpkin_1", "mcl_farming:pumpkin_2"}, 80, 20)
|
||||
|
@ -297,6 +305,7 @@ minetest.register_node("mcl_farming:pumpkin_face_light", {
|
|||
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, building_block=1},
|
||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
||||
_mcl_blast_resistance = 5,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
|
|
|
@ -13,6 +13,7 @@ minetest.register_node("mcl_farming:soil", {
|
|||
},
|
||||
groups = { crumbly=3, not_in_creative_inventory=1, soil=2, soil_sapling=1 },
|
||||
sounds = mcl_sounds.node_sound_dirt_defaults(),
|
||||
_mcl_blast_resistance = 3,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:soil_wet", {
|
||||
|
@ -29,6 +30,7 @@ minetest.register_node("mcl_farming:soil_wet", {
|
|||
},
|
||||
groups = { crumbly=3, not_in_creative_inventory=1, soil=3, soil_sapling=1 },
|
||||
sounds = mcl_sounds.node_sound_dirt_defaults(),
|
||||
_mcl_blast_resistance = 3,
|
||||
})
|
||||
|
||||
minetest.register_abm({
|
||||
|
|
|
@ -33,6 +33,7 @@ minetest.register_node("mcl_farming:wheat_1", {
|
|||
{-0.5, -0.5, -0.25, 0.5, 0.375, -0.25}, -- NodeBox4
|
||||
}
|
||||
},
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:wheat_2", {
|
||||
|
@ -61,6 +62,7 @@ minetest.register_node("mcl_farming:wheat_2", {
|
|||
{-0.5, -0.5, -0.25, 0.5, 0.375, -0.25}, -- NodeBox4
|
||||
}
|
||||
},
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:wheat_3", {
|
||||
|
@ -89,6 +91,7 @@ minetest.register_node("mcl_farming:wheat_3", {
|
|||
{-0.5, -0.5, -0.25, 0.5, 0.375, -0.25}, -- NodeBox4
|
||||
}
|
||||
},
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:wheat", {
|
||||
|
@ -125,6 +128,7 @@ minetest.register_node("mcl_farming:wheat", {
|
|||
{-0.5, -0.5, -0.25, 0.5, 0.375, -0.25}, -- NodeBox4
|
||||
}
|
||||
},
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
mcl_farming:add_plant("mcl_farming:wheat", {"mcl_farming:wheat_1", "mcl_farming:wheat_2", "mcl_farming:wheat_3"}, 50, 20)
|
||||
|
|
|
@ -46,9 +46,7 @@ minetest.register_node("mcl_fire:fire", {
|
|||
on_construct = function(pos)
|
||||
minetest.get_node_timer(pos):start(math.random(30, 60))
|
||||
end,
|
||||
|
||||
on_blast = function() -- Unaffected by explosions
|
||||
end,
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_fire:eternal_fire", {
|
||||
|
@ -76,9 +74,7 @@ minetest.register_node("mcl_fire:eternal_fire", {
|
|||
groups = {igniter = 1, dig_immediate = 3, not_in_creative_inventory = 1},
|
||||
sounds = {},
|
||||
drop = "",
|
||||
|
||||
on_blast = function() -- Unaffected by explosions
|
||||
end,
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
--
|
||||
|
|
|
@ -265,6 +265,7 @@ minetest.register_node("mcl_furnaces:furnace", {
|
|||
allow_metadata_inventory_move = allow_metadata_inventory_move,
|
||||
allow_metadata_inventory_take = allow_metadata_inventory_take,
|
||||
on_receive_fields = craftguide,
|
||||
_mcl_blast_resistance = 17.5,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_furnaces:furnace_active", {
|
||||
|
@ -302,6 +303,7 @@ minetest.register_node("mcl_furnaces:furnace_active", {
|
|||
allow_metadata_inventory_move = allow_metadata_inventory_move,
|
||||
allow_metadata_inventory_take = allow_metadata_inventory_take,
|
||||
on_receive_fields = craftguide,
|
||||
_mcl_blast_resistance = 17.5,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
|
|
|
@ -32,6 +32,7 @@ local function addhead(node, desc)
|
|||
sounds = mcl_sounds.node_sound_defaults({
|
||||
footstep = {name="default_hard_footstep", gain=0.3}
|
||||
}),
|
||||
_mcl_blast_resistance = 5,
|
||||
})
|
||||
end
|
||||
|
||||
|
|
|
@ -111,6 +111,7 @@ minetest.register_node("mcl_hoppers:hopper", {
|
|||
" takes stuff from mcl_hoppers at "..minetest.pos_to_string(pos))
|
||||
end,
|
||||
sounds = mcl_sounds.node_sound_metal_defaults(),
|
||||
_mcl_blast_resistance = 24,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_hoppers:hopper_side", {
|
||||
|
@ -172,6 +173,7 @@ minetest.register_node("mcl_hoppers:hopper_side", {
|
|||
" takes stuff from mcl_hoppers at "..minetest.pos_to_string(pos))
|
||||
end,
|
||||
sounds = mcl_sounds.node_sound_metal_defaults(),
|
||||
_mcl_blast_resistance = 24,
|
||||
})
|
||||
|
||||
-- Make hoppers suck in dropped items
|
||||
|
|
|
@ -145,6 +145,7 @@ minetest.register_node("mcl_jukebox:jukebox", {
|
|||
end
|
||||
meta:from_table(meta2:to_table())
|
||||
end,
|
||||
_mcl_blast_resistance = 30,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
|
|
|
@ -16,6 +16,7 @@ minetest.register_node("mcl_minecarts:rail", {
|
|||
stack_max = 64,
|
||||
groups = {cracky=3,oddly_breakable_by_hand=3,attached_node=1,rail=1,connect_to_raillike=1,dig_by_water=1,transport=1},
|
||||
sounds = mcl_sounds.node_sound_defaults(),
|
||||
_mcl_blast_resistance = 3.5,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
|
@ -61,6 +62,7 @@ minetest.register_node("mcl_minecarts:golden_rail", {
|
|||
end,
|
||||
},
|
||||
},
|
||||
_mcl_blast_resistance = 3.5,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
|
|
|
@ -15,6 +15,7 @@ minetest.register_node("mcl_nether:glowstone", {
|
|||
-- Real light level: 15 (but Minetest caps at 14)
|
||||
light_source = 14,
|
||||
sounds = mcl_sounds.node_sound_glass_defaults(),
|
||||
_mcl_blast_resistance = 1.5,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_nether:quartz_ore", {
|
||||
|
@ -25,6 +26,7 @@ minetest.register_node("mcl_nether:quartz_ore", {
|
|||
groups = {cracky=2,building_block=1},
|
||||
drop = 'mcl_nether:quartz',
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
_mcl_blast_resistance = 15,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_nether:netherrack", {
|
||||
|
@ -34,6 +36,7 @@ minetest.register_node("mcl_nether:netherrack", {
|
|||
is_ground_content = true,
|
||||
groups = {cracky=3,building_block=1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
_mcl_blast_resistance = 2,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_nether:magma", {
|
||||
|
@ -50,6 +53,7 @@ minetest.register_node("mcl_nether:magma", {
|
|||
-- Hurt players standing on top of this block
|
||||
player:set_hp(player:get_hp() - 1)
|
||||
end,
|
||||
_mcl_blast_resistance = 2.5,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_nether:soul_sand", {
|
||||
|
@ -63,6 +67,7 @@ minetest.register_node("mcl_nether:soul_sand", {
|
|||
fixed = { -0.5, -0.5, -0.5, 0.5, 0.5 - 2/16, 0.5 },
|
||||
},
|
||||
sounds = mcl_sounds.node_sound_sand_defaults(),
|
||||
_mcl_blast_resistance = 2.5,
|
||||
-- Movement handling is done in playerplus mod
|
||||
})
|
||||
|
||||
|
@ -74,6 +79,7 @@ minetest.register_node("mcl_nether:nether_brick", {
|
|||
is_ground_content = false,
|
||||
groups = {cracky=2,building_block=1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
_mcl_blast_resistance = 30,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_nether:red_nether_brick", {
|
||||
|
@ -84,6 +90,7 @@ minetest.register_node("mcl_nether:red_nether_brick", {
|
|||
is_ground_content = false,
|
||||
groups = {cracky=2,building_block=1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
_mcl_blast_resistance = 30,
|
||||
})
|
||||
|
||||
|
||||
|
@ -99,6 +106,7 @@ minetest.register_node("mcl_nether:nether_wart_block", {
|
|||
dug={name="default_dirt_footstep", gain=1.5},
|
||||
}
|
||||
),
|
||||
_mcl_blast_resistance = 5,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_nether:quartz_block", {
|
||||
|
@ -108,6 +116,7 @@ minetest.register_node("mcl_nether:quartz_block", {
|
|||
tiles = {"mcl_nether_quartz_block_top.png", "mcl_nether_quartz_block_bottom.png", "mcl_nether_quartz_block_side.png"},
|
||||
groups = {cracky=3,quartz_block=1,building_block=1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
_mcl_blast_resistance = 4,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_nether:quartz_chiseled", {
|
||||
|
@ -117,6 +126,7 @@ minetest.register_node("mcl_nether:quartz_chiseled", {
|
|||
tiles = {"mcl_nether_quartz_chiseled_top.png", "mcl_nether_quartz_chiseled_top.png", "mcl_nether_quartz_chiseled_side.png"},
|
||||
groups = {cracky=3,quartz_block=1,building_block=1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
_mcl_blast_resistance = 4,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_nether:quartz_pillar", {
|
||||
|
@ -128,6 +138,7 @@ minetest.register_node("mcl_nether:quartz_pillar", {
|
|||
tiles = {"mcl_nether_quartz_pillar_top.png", "mcl_nether_quartz_pillar_top.png", "mcl_nether_quartz_pillar_side.png"},
|
||||
groups = {cracky=3,quartz_block=1,building_block=1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
_mcl_blast_resistance = 4,
|
||||
})
|
||||
|
||||
|
||||
|
|
|
@ -17,6 +17,7 @@ minetest.register_node("mcl_ocean:sea_lantern", {
|
|||
tiles = {{name="mcl_ocean_sea_lantern.png", animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=1.25}}},
|
||||
groups = {oddly_breakable_by_hand=3, building_block=1},
|
||||
sounds = mcl_sounds.node_sound_glass_defaults(),
|
||||
_mcl_blast_resistance = 1.5,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_ocean:prismarine", {
|
||||
|
@ -26,6 +27,7 @@ minetest.register_node("mcl_ocean:prismarine", {
|
|||
tiles = {{name="mcl_ocean_prismarine_anim.png", animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=45.0}}},
|
||||
groups = {cracky=3, building_block=1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
_mcl_blast_resistance = 30,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_ocean:prismarine_brick", {
|
||||
|
@ -35,6 +37,7 @@ minetest.register_node("mcl_ocean:prismarine_brick", {
|
|||
tiles = {"mcl_ocean_prismarine_bricks.png"},
|
||||
groups = {cracky=2, building_block=1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
_mcl_blast_resistance = 30,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_ocean:prismarine_dark", {
|
||||
|
@ -44,6 +47,7 @@ minetest.register_node("mcl_ocean:prismarine_dark", {
|
|||
tiles = {"mcl_ocean_prismarine_dark.png"},
|
||||
groups = {cracky=2, building_block=1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
_mcl_blast_resistance = 30,
|
||||
})
|
||||
|
||||
-- Craftitems
|
||||
|
|
|
@ -76,7 +76,8 @@ minetest.register_node("mcl_sponges:sponge", {
|
|||
end
|
||||
return itemstack
|
||||
|
||||
end
|
||||
end,
|
||||
_mcl_blast_resistance = 3,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_sponges:sponge_wet", {
|
||||
|
@ -92,6 +93,7 @@ minetest.register_node("mcl_sponges:sponge_wet", {
|
|||
stack_max = 64,
|
||||
sounds = mcl_sounds.node_sound_dirt_defaults(),
|
||||
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,building_block=1},
|
||||
_mcl_blast_resistance = 3,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
|
|
|
@ -104,6 +104,8 @@ function mcl_walls.register_wall(nodename, description, craft_material, tiles, i
|
|||
main_node_groups = table.copy(base_groups)
|
||||
main_node_groups.deco_block = 1
|
||||
|
||||
-- TODO: Stop hardcoding blast resistance
|
||||
|
||||
if not sounds then
|
||||
sounds = mcl_sounds.node_sound_stone_defaults()
|
||||
end
|
||||
|
@ -151,6 +153,7 @@ function mcl_walls.register_wall(nodename, description, craft_material, tiles, i
|
|||
fixed = take
|
||||
},
|
||||
sounds = sounds,
|
||||
_mcl_blast_resistance = 30,
|
||||
})
|
||||
end
|
||||
|
||||
|
@ -170,6 +173,7 @@ function mcl_walls.register_wall(nodename, description, craft_material, tiles, i
|
|||
fixed = {pillar, full_blocks[1]}
|
||||
},
|
||||
sounds = sounds,
|
||||
_mcl_blast_resistance = 30,
|
||||
})
|
||||
|
||||
minetest.register_node(nodename.."_21", {
|
||||
|
@ -188,6 +192,7 @@ function mcl_walls.register_wall(nodename, description, craft_material, tiles, i
|
|||
fixed = {pillar, full_blocks[2]}
|
||||
},
|
||||
sounds = sounds,
|
||||
_mcl_blast_resistance = 30,
|
||||
})
|
||||
|
||||
-- Inventory item
|
||||
|
@ -211,6 +216,7 @@ function mcl_walls.register_wall(nodename, description, craft_material, tiles, i
|
|||
collisionbox = {-0.2, 0, -0.2, 0.2, 1.4, 0.2},
|
||||
on_construct = update_wall,
|
||||
sounds = sounds,
|
||||
_mcl_blast_resistance = 30,
|
||||
})
|
||||
if craft_material then
|
||||
minetest.register_craft({
|
||||
|
|
|
@ -40,6 +40,7 @@ for _, row in ipairs(wool.dyes) do
|
|||
tiles = {"wool_"..texture..".png"},
|
||||
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,flammable=1,wool=1,building_block=1},
|
||||
sounds = mcl_sounds.node_sound_defaults(),
|
||||
_mcl_blast_resistance = 4,
|
||||
})
|
||||
minetest.register_node("mcl_wool:"..name.."_carpet", {
|
||||
description = desc.." Carpet",
|
||||
|
@ -58,6 +59,7 @@ for _, row in ipairs(wool.dyes) do
|
|||
{-8/16, -8/16, -8/16, 8/16, -7/16, 8/16},
|
||||
},
|
||||
},
|
||||
_mcl_blast_resistance = 0.5,
|
||||
})
|
||||
if craft_color_group then
|
||||
-- Crafting from dye and white wool
|
||||
|
|
Loading…
Reference in New Issue