1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2025-07-01 07:40:41 +02:00

better mineclone/mineclonia support

This commit is contained in:
tenplus1
2023-11-25 14:07:05 +00:00
parent 12eb5579a1
commit a0dd3db65f
5 changed files with 35 additions and 15 deletions

View File

@ -135,9 +135,11 @@ end
minetest.register_node("farming:sugar_cube", {
description = S("Sugar Cube"),
tiles = {"farming_sugar_cube.png"},
groups = {crumbly = 2},
groups = {pickaxey = 1, crumbly = 2},
floodable = true,
sounds = farming.sounds.node_sound_gravel_defaults()
sounds = farming.sounds.node_sound_gravel_defaults(),
_mcl_hardness = 0.8,
_mcl_blast_resistance = 1
})
minetest.register_craft({
@ -248,12 +250,14 @@ minetest.register_node("farming:salt_crystal", {
paramtype = "light",
light_source = 1,
tiles = {"farming_salt_crystal.png"},
groups = { dig_immediate = 3, attached_node = 1},
groups = {dig_immediate = 3, attached_node = 1},
sounds = farming.sounds.node_sound_defaults(),
selection_box = {
type = "fixed",
fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25}
}
},
_mcl_hardness = 0.8,
_mcl_blast_resistance = 1
})
minetest.register_craft({