Add 'ice' group

This commit is contained in:
Elias Fleckenstein 2021-02-03 17:08:04 +01:00
parent b5d92f3078
commit 18dd3ac9bd

View file

@ -822,7 +822,7 @@ minetest.register_node("mcl_core:ice", {
paramtype = "light", paramtype = "light",
use_texture_alpha = translucent_ice, use_texture_alpha = translucent_ice,
stack_max = 64, 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 = "", drop = "",
sounds = mcl_sounds.node_sound_glass_defaults(), sounds = mcl_sounds.node_sound_glass_defaults(),
node_dig_prediction = "mcl_core:water_source", node_dig_prediction = "mcl_core:water_source",
@ -840,7 +840,7 @@ minetest.register_node("mcl_core:packed_ice", {
tiles = {"mcl_core_ice_packed.png"}, tiles = {"mcl_core_ice_packed.png"},
is_ground_content = true, is_ground_content = true,
stack_max = 64, 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 = "", drop = "",
sounds = mcl_sounds.node_sound_glass_defaults(), sounds = mcl_sounds.node_sound_glass_defaults(),
_mcl_blast_resistance = 0.5, _mcl_blast_resistance = 0.5,
@ -888,7 +888,7 @@ for i=0,3 do
paramtype = "light", paramtype = "light",
use_texture_alpha = translucent_ice, use_texture_alpha = translucent_ice,
stack_max = 64, 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 = "", drop = "",
sounds = mcl_sounds.node_sound_glass_defaults(), sounds = mcl_sounds.node_sound_glass_defaults(),
on_construct = function(pos) on_construct = function(pos)