Biota blocks migration start
|
@ -0,0 +1 @@
|
||||||
|
voxelibre.load_mod_files()
|
|
@ -0,0 +1,2 @@
|
||||||
|
name = biota
|
||||||
|
depends = mcl_sounds, voxelibre
|
|
@ -0,0 +1,40 @@
|
||||||
|
local common_defs = {
|
||||||
|
all = {
|
||||||
|
_mcl_blast_resistance = 2,
|
||||||
|
_mcl_hardness = 2,
|
||||||
|
groups = {axey = 1, building_blocks = 1, handy = 1, logs = 1},
|
||||||
|
on_place = minetest.rotate_node,
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
sounds = mcl_sounds.node_sound_wood_defaults()
|
||||||
|
},
|
||||||
|
wood = {
|
||||||
|
groups = {fire_encouragement = 5, fire_flammability = 5, fuel = 15}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
local wood_blocks = {
|
||||||
|
["acacia_log"] = {
|
||||||
|
_mcl_stripped_variant = true,
|
||||||
|
groups = {acacia_logs = 1},
|
||||||
|
tiles = {type = "loglike"}
|
||||||
|
},
|
||||||
|
["acacia_wood"] = {
|
||||||
|
_mcl_stripped_variant = true,
|
||||||
|
groups = {acacia_logs = 1},
|
||||||
|
tiles = {"biota_acacia_log.png"}
|
||||||
|
},
|
||||||
|
["birch_log"] = {
|
||||||
|
_mcl_stripped_variant = true,
|
||||||
|
groups = {birch_logs = 1},
|
||||||
|
tiles = {type = "loglike"}
|
||||||
|
},
|
||||||
|
["birch_wood"] = {
|
||||||
|
_mcl_stripped_variant = true,
|
||||||
|
groups = {birch_logs = 1},
|
||||||
|
tiles = {"biota_birch_log.png"}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
for identifier, definitions in pairs(wood_blocks) do
|
||||||
|
voxelibre.register_block(identifier, table.merge(common_defs.all, common_defs.wood, definitions))
|
||||||
|
end
|
After Width: | Height: | Size: 359 B |
After Width: | Height: | Size: 6.3 KiB |
After Width: | Height: | Size: 340 B |
After Width: | Height: | Size: 369 B |
After Width: | Height: | Size: 6.0 KiB |
After Width: | Height: | Size: 6.5 KiB |
After Width: | Height: | Size: 6.1 KiB |
After Width: | Height: | Size: 6.1 KiB |
After Width: | Height: | Size: 335 B |
After Width: | Height: | Size: 355 B |
After Width: | Height: | Size: 6.1 KiB |
After Width: | Height: | Size: 6.1 KiB |
After Width: | Height: | Size: 7.3 KiB |
After Width: | Height: | Size: 5.9 KiB |
After Width: | Height: | Size: 358 B |
After Width: | Height: | Size: 359 B |
After Width: | Height: | Size: 6.1 KiB |
After Width: | Height: | Size: 6.6 KiB |
After Width: | Height: | Size: 6.4 KiB |
After Width: | Height: | Size: 6.8 KiB |
After Width: | Height: | Size: 6.1 KiB |
After Width: | Height: | Size: 6.0 KiB |
After Width: | Height: | Size: 342 B |
After Width: | Height: | Size: 369 B |
After Width: | Height: | Size: 6.7 KiB |
After Width: | Height: | Size: 6.3 KiB |
After Width: | Height: | Size: 323 B |
After Width: | Height: | Size: 356 B |
After Width: | Height: | Size: 5.9 KiB |
After Width: | Height: | Size: 6.1 KiB |
After Width: | Height: | Size: 6.4 KiB |
After Width: | Height: | Size: 6.9 KiB |