This commit is contained in:
epCode 2021-02-06 17:40:24 -08:00
commit adbfd6b55d
2 changed files with 7 additions and 3 deletions

View file

@ -334,6 +334,10 @@ ARROW_ENTITY.on_step = function(self, dtime)
minetest.sound_play({name="mcl_bows_hit_other", gain=0.3}, {pos=self.object:get_pos(), max_hear_distance=16}, true)
if mcl_burning.is_burning(self.object) and snode.name == "mcl_tnt:tnt" then
tnt.ignite(self._stuckin)
end
-- Push the button! Push, push, push the button!
if mod_button and minetest.get_item_group(node.name, "button") > 0 and minetest.get_item_group(node.name, "button_push_by_arrow") == 1 then
local bdir = minetest.wallmounted_to_dir(node.param2)

View file

@ -822,7 +822,7 @@ minetest.register_node("mcl_core:ice", {
paramtype = "light",
use_texture_alpha = translucent_ice,
stack_max = 64,
groups = {handy=1,pickaxey=1, slippery=3, building_block=1},
groups = {handy=1,pickaxey=1, slippery=3, building_block=1, ice=1},
drop = "",
sounds = mcl_sounds.node_sound_glass_defaults(),
node_dig_prediction = "mcl_core:water_source",
@ -840,7 +840,7 @@ minetest.register_node("mcl_core:packed_ice", {
tiles = {"mcl_core_ice_packed.png"},
is_ground_content = true,
stack_max = 64,
groups = {handy=1,pickaxey=1, slippery=3, building_block=1},
groups = {handy=1,pickaxey=1, slippery=3, building_block=1, ice=1},
drop = "",
sounds = mcl_sounds.node_sound_glass_defaults(),
_mcl_blast_resistance = 0.5,
@ -888,7 +888,7 @@ for i=0,3 do
paramtype = "light",
use_texture_alpha = translucent_ice,
stack_max = 64,
groups = {handy=1, frosted_ice=1, slippery=3, not_in_creative_inventory=1},
groups = {handy=1, frosted_ice=1, slippery=3, not_in_creative_inventory=1, ice=1},
drop = "",
sounds = mcl_sounds.node_sound_glass_defaults(),
on_construct = function(pos)