diff --git a/mods/blocks/biota/init.lua b/mods/blocks/biota/init.lua new file mode 100644 index 000000000..e4096c162 --- /dev/null +++ b/mods/blocks/biota/init.lua @@ -0,0 +1 @@ +voxelibre.load_mod_files() diff --git a/mods/blocks/biota/mod.conf b/mods/blocks/biota/mod.conf new file mode 100644 index 000000000..d451bced0 --- /dev/null +++ b/mods/blocks/biota/mod.conf @@ -0,0 +1,2 @@ +name = biota +depends = mcl_sounds, voxelibre diff --git a/mods/blocks/biota/wood_hypha.lua b/mods/blocks/biota/wood_hypha.lua new file mode 100644 index 000000000..80a95cc2d --- /dev/null +++ b/mods/blocks/biota/wood_hypha.lua @@ -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 diff --git a/textures/biota/biota_acacia_log.png b/textures/biota/biota_acacia_log.png new file mode 100644 index 000000000..fbe0b3f2c Binary files /dev/null and b/textures/biota/biota_acacia_log.png differ diff --git a/textures/biota/biota_acacia_log_top.png b/textures/biota/biota_acacia_log_top.png new file mode 100644 index 000000000..2e407454c Binary files /dev/null and b/textures/biota/biota_acacia_log_top.png differ diff --git a/textures/biota/biota_birch_log.png b/textures/biota/biota_birch_log.png new file mode 100644 index 000000000..561e8b9b8 Binary files /dev/null and b/textures/biota/biota_birch_log.png differ diff --git a/textures/biota/biota_birch_log_top.png b/textures/biota/biota_birch_log_top.png new file mode 100644 index 000000000..3cc33bff7 Binary files /dev/null and b/textures/biota/biota_birch_log_top.png differ diff --git a/textures/biota/biota_cherry_log.png b/textures/biota/biota_cherry_log.png new file mode 100644 index 000000000..dfe83495c Binary files /dev/null and b/textures/biota/biota_cherry_log.png differ diff --git a/textures/biota/biota_cherry_log_top.png b/textures/biota/biota_cherry_log_top.png new file mode 100644 index 000000000..8049d0e5d Binary files /dev/null and b/textures/biota/biota_cherry_log_top.png differ diff --git a/textures/biota/biota_dark_oak_log.png b/textures/biota/biota_dark_oak_log.png new file mode 100644 index 000000000..91ec0f84e Binary files /dev/null and b/textures/biota/biota_dark_oak_log.png differ diff --git a/textures/biota/biota_dark_oak_log_top.png b/textures/biota/biota_dark_oak_log_top.png new file mode 100644 index 000000000..bb1c0cba0 Binary files /dev/null and b/textures/biota/biota_dark_oak_log_top.png differ diff --git a/textures/biota/biota_jungle_log.png b/textures/biota/biota_jungle_log.png new file mode 100644 index 000000000..3544c9f39 Binary files /dev/null and b/textures/biota/biota_jungle_log.png differ diff --git a/textures/biota/biota_jungle_log_top.png b/textures/biota/biota_jungle_log_top.png new file mode 100644 index 000000000..ef392dd4d Binary files /dev/null and b/textures/biota/biota_jungle_log_top.png differ diff --git a/textures/biota/biota_stripped_acacia_log.png b/textures/biota/biota_stripped_acacia_log.png new file mode 100644 index 000000000..cf1a094c8 Binary files /dev/null and b/textures/biota/biota_stripped_acacia_log.png differ diff --git a/textures/biota/biota_stripped_acacia_log_top.png b/textures/biota/biota_stripped_acacia_log_top.png new file mode 100644 index 000000000..ad76b63b0 Binary files /dev/null and b/textures/biota/biota_stripped_acacia_log_top.png differ diff --git a/textures/biota/biota_stripped_bamboo_block.png b/textures/biota/biota_stripped_bamboo_block.png new file mode 100644 index 000000000..164d3fdc4 Binary files /dev/null and b/textures/biota/biota_stripped_bamboo_block.png differ diff --git a/textures/biota/biota_stripped_bamboo_block_top.png b/textures/biota/biota_stripped_bamboo_block_top.png new file mode 100644 index 000000000..a2501eb87 Binary files /dev/null and b/textures/biota/biota_stripped_bamboo_block_top.png differ diff --git a/textures/biota/biota_stripped_birch_log.png b/textures/biota/biota_stripped_birch_log.png new file mode 100644 index 000000000..d552527d4 Binary files /dev/null and b/textures/biota/biota_stripped_birch_log.png differ diff --git a/textures/biota/biota_stripped_birch_log_top.png b/textures/biota/biota_stripped_birch_log_top.png new file mode 100644 index 000000000..7da0731b8 Binary files /dev/null and b/textures/biota/biota_stripped_birch_log_top.png differ diff --git a/textures/biota/biota_stripped_cherry_log.png b/textures/biota/biota_stripped_cherry_log.png new file mode 100644 index 000000000..415cea931 Binary files /dev/null and b/textures/biota/biota_stripped_cherry_log.png differ diff --git a/textures/biota/biota_stripped_cherry_log_top.png b/textures/biota/biota_stripped_cherry_log_top.png new file mode 100644 index 000000000..d54003e0c Binary files /dev/null and b/textures/biota/biota_stripped_cherry_log_top.png differ diff --git a/textures/biota/biota_stripped_crimson_stem.png b/textures/biota/biota_stripped_crimson_stem.png new file mode 100644 index 000000000..5a5862df4 Binary files /dev/null and b/textures/biota/biota_stripped_crimson_stem.png differ diff --git a/textures/biota/biota_stripped_crimson_stem_top.png b/textures/biota/biota_stripped_crimson_stem_top.png new file mode 100644 index 000000000..717a3ca31 Binary files /dev/null and b/textures/biota/biota_stripped_crimson_stem_top.png differ diff --git a/textures/biota/biota_stripped_dark_oak_log.png b/textures/biota/biota_stripped_dark_oak_log.png new file mode 100644 index 000000000..75134d8fa Binary files /dev/null and b/textures/biota/biota_stripped_dark_oak_log.png differ diff --git a/textures/biota/biota_stripped_dark_oak_log_top.png b/textures/biota/biota_stripped_dark_oak_log_top.png new file mode 100644 index 000000000..ec123d6b5 Binary files /dev/null and b/textures/biota/biota_stripped_dark_oak_log_top.png differ diff --git a/textures/biota/biota_stripped_jungle_log.png b/textures/biota/biota_stripped_jungle_log.png new file mode 100644 index 000000000..45f8c33dd Binary files /dev/null and b/textures/biota/biota_stripped_jungle_log.png differ diff --git a/textures/biota/biota_stripped_jungle_log_top.png b/textures/biota/biota_stripped_jungle_log_top.png new file mode 100644 index 000000000..4fe1c322a Binary files /dev/null and b/textures/biota/biota_stripped_jungle_log_top.png differ diff --git a/textures/biota/biota_stripped_mangrove_log.png b/textures/biota/biota_stripped_mangrove_log.png new file mode 100644 index 000000000..4c0f47f00 Binary files /dev/null and b/textures/biota/biota_stripped_mangrove_log.png differ diff --git a/textures/biota/biota_stripped_mangrove_log_top.png b/textures/biota/biota_stripped_mangrove_log_top.png new file mode 100644 index 000000000..dc0f452f4 Binary files /dev/null and b/textures/biota/biota_stripped_mangrove_log_top.png differ diff --git a/textures/biota/biota_stripped_oak_log.png b/textures/biota/biota_stripped_oak_log.png new file mode 100644 index 000000000..4f004e007 Binary files /dev/null and b/textures/biota/biota_stripped_oak_log.png differ diff --git a/textures/biota/biota_stripped_oak_log_top.png b/textures/biota/biota_stripped_oak_log_top.png new file mode 100644 index 000000000..f5c2447db Binary files /dev/null and b/textures/biota/biota_stripped_oak_log_top.png differ diff --git a/textures/biota/biota_stripped_spruce_log.png b/textures/biota/biota_stripped_spruce_log.png new file mode 100644 index 000000000..466db5beb Binary files /dev/null and b/textures/biota/biota_stripped_spruce_log.png differ diff --git a/textures/biota/biota_stripped_spruce_log_top.png b/textures/biota/biota_stripped_spruce_log_top.png new file mode 100644 index 000000000..89fa6cbe8 Binary files /dev/null and b/textures/biota/biota_stripped_spruce_log_top.png differ diff --git a/textures/biota/biota_stripped_warped_stem.png b/textures/biota/biota_stripped_warped_stem.png new file mode 100644 index 000000000..88a7a8d33 Binary files /dev/null and b/textures/biota/biota_stripped_warped_stem.png differ diff --git a/textures/biota/biota_stripped_warped_stem_top.png b/textures/biota/biota_stripped_warped_stem_top.png new file mode 100644 index 000000000..2e2c35b7c Binary files /dev/null and b/textures/biota/biota_stripped_warped_stem_top.png differ