forked from VoxeLibre/VoxeLibre
More blocks migration and changes on carpets
This commit is contained in:
parent
66992e5c2e
commit
b5bbfb5477
|
@ -1,3 +1,46 @@
|
||||||
|
local common_defs = {
|
||||||
|
quartz = {
|
||||||
|
_mcl_blast_resistance = 0.8,
|
||||||
|
_mcl_hardness = 0.8,
|
||||||
|
groups = {building_blocks = 1, pickaxey = 1},
|
||||||
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
local quartz_blocks = {
|
||||||
|
["chiseled_quartz_block"] = {
|
||||||
|
groups = {stonecuttable = 1},
|
||||||
|
on_place = minetest.rotate_node,
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
tiles = {type = "loglike"}
|
||||||
|
},
|
||||||
|
["quartz_block"] = {
|
||||||
|
description = "Block of Quartz",
|
||||||
|
groups = {stonecuttable = 1},
|
||||||
|
tiles = {
|
||||||
|
"building_quartz_block_top.png",
|
||||||
|
"building_quartz_block_bottom.png",
|
||||||
|
"building_quartz_block_side.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
["quartz_bricks"] = {},
|
||||||
|
["quartz_pillar"] = {
|
||||||
|
groups = {stonecuttable = 1},
|
||||||
|
on_place = minetest.rotate_node,
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
tiles = {type = "loglike"}
|
||||||
|
},
|
||||||
|
["smooth_quartz_block"] = {
|
||||||
|
_mcl_blast_resistance = 6,
|
||||||
|
_mcl_hardness = 2,
|
||||||
|
groups = {stonecuttable = 1},
|
||||||
|
tiles = {"building_quartz_block_bottom.png"}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
for identifier, definitions in pairs(quartz_blocks) do
|
||||||
|
voxelibre.register_block(identifier, table.merge(common_defs.quartz, definitions))
|
||||||
|
end
|
||||||
|
|
||||||
local blocks = {
|
local blocks = {
|
||||||
["amethyst_block"] = {
|
["amethyst_block"] = {
|
||||||
|
@ -41,6 +84,41 @@ local blocks = {
|
||||||
description = "Block of Iron",
|
description = "Block of Iron",
|
||||||
groups = {beacon_base_blocks = 1, building_blocks = 1, pickaxey = 3},
|
groups = {beacon_base_blocks = 1, building_blocks = 1, pickaxey = 3},
|
||||||
sounds = mcl_sounds.node_sound_metal_defaults()
|
sounds = mcl_sounds.node_sound_metal_defaults()
|
||||||
|
},
|
||||||
|
["lapis_block"] = {
|
||||||
|
_mcl_blast_resistance = 3,
|
||||||
|
_mcl_hardness = 3,
|
||||||
|
description = "Block of Lapis Lazuli",
|
||||||
|
groups = {building_blocks = 1, pickaxey = 3},
|
||||||
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
||||||
|
},
|
||||||
|
["netherite_block"] = {
|
||||||
|
_mcl_blast_resistance = 1200,
|
||||||
|
_mcl_hardness = 50,
|
||||||
|
description = "Block of Netherite",
|
||||||
|
groups = {beacon_base_blocks = 1, building_blocks = 1, pickaxey = 5},
|
||||||
|
sounds = mcl_sounds.node_sound_metal_defaults()
|
||||||
|
},
|
||||||
|
["raw_copper_block"] = {
|
||||||
|
_mcl_blast_resistance = 6,
|
||||||
|
_mcl_hardness = 5,
|
||||||
|
description = "Block of Raw Copper",
|
||||||
|
groups = {building_blocks = 1, pickaxey = 3},
|
||||||
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
||||||
|
},
|
||||||
|
["raw_gold_block"] = {
|
||||||
|
_mcl_blast_resistance = 6,
|
||||||
|
_mcl_hardness = 5,
|
||||||
|
description = "Block of Raw Gold",
|
||||||
|
groups = {building_blocks = 1, pickaxey = 4},
|
||||||
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
||||||
|
},
|
||||||
|
["raw_iron_block"] = {
|
||||||
|
_mcl_blast_resistance = 6,
|
||||||
|
_mcl_hardness = 5,
|
||||||
|
description = "Block of Raw Iron",
|
||||||
|
groups = {building_blocks = 1, pickaxey = 3},
|
||||||
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,6 @@ for _, color in pairs(voxelibre.colors) do
|
||||||
local identifier = color.."_carpet"
|
local identifier = color.."_carpet"
|
||||||
local image_name = "building_"..color.."_wool.png"
|
local image_name = "building_"..color.."_wool.png"
|
||||||
|
|
||||||
common_defs.carpet.inventory_image = image_name
|
|
||||||
common_defs.carpet.tiles = {image_name}
|
common_defs.carpet.tiles = {image_name}
|
||||||
common_defs.carpet.wield_image = image_name
|
common_defs.carpet.wield_image = image_name
|
||||||
|
|
||||||
|
|
|
@ -177,6 +177,12 @@ local blocks = {
|
||||||
groups = {building_blocks = 1, pickaxey = 1, stonecuttable = 1},
|
groups = {building_blocks = 1, pickaxey = 1, stonecuttable = 1},
|
||||||
sounds = mcl_sounds.node_sound_stone_defaults()
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
||||||
},
|
},
|
||||||
|
["packed_mud"] = {
|
||||||
|
_mcl_blast_resistance = 3,
|
||||||
|
_mcl_hardness = 1,
|
||||||
|
groups = {building_blocks = 1, handy = 1, pickaxey = 1},
|
||||||
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
||||||
|
},
|
||||||
["polished_andesite"] = {
|
["polished_andesite"] = {
|
||||||
_mcl_blast_resistance = 6,
|
_mcl_blast_resistance = 6,
|
||||||
_mcl_hardness = 1.5,
|
_mcl_hardness = 1.5,
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 6.6 KiB |
Binary file not shown.
After Width: | Height: | Size: 6.8 KiB |
Binary file not shown.
After Width: | Height: | Size: 7.0 KiB |
Binary file not shown.
After Width: | Height: | Size: 6.7 KiB |
Loading…
Reference in New Issue