diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2018-02-13 14:05:34 -0500 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2018-02-13 14:05:34 -0500 |
commit | 335d9a3eddcb590c3ca5de9cba9b152e5e560af1 (patch) | |
tree | 1b95d73b945fbc9924438c28a35d7f1019fa255f /moreblocks/aliases.lua | |
parent | 1d0f113f4c5afcf8479973f2e01786fb9a1fbbb7 (diff) | |
download | dreambuilder_modpack-335d9a3eddcb590c3ca5de9cba9b152e5e560af1.tar dreambuilder_modpack-335d9a3eddcb590c3ca5de9cba9b152e5e560af1.tar.gz dreambuilder_modpack-335d9a3eddcb590c3ca5de9cba9b152e5e560af1.tar.bz2 dreambuilder_modpack-335d9a3eddcb590c3ca5de9cba9b152e5e560af1.tar.xz dreambuilder_modpack-335d9a3eddcb590c3ca5de9cba9b152e5e560af1.zip |
removed boost_cart and carbone_mobs -- too many crashes
updated blox, homedecor, plantlifed, cottages, farming_redo,
framedglass, gloopblocks, mesecons, moreblocks, moretrees,
pipeworks, player_textures, replacer, signs_lib, stained_glass,
technic, travelnet, unified_inventory, unifieddyes, and worldedit.
Diffstat (limited to 'moreblocks/aliases.lua')
-rw-r--r-- | moreblocks/aliases.lua | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/moreblocks/aliases.lua b/moreblocks/aliases.lua index b9b2106..f1dbe84 100644 --- a/moreblocks/aliases.lua +++ b/moreblocks/aliases.lua @@ -19,6 +19,7 @@ minetest.register_alias("moreblocks:stone_bricks", "default:stonebrick") minetest.register_alias("moreblocks:stonebrick", "default:stonebrick") minetest.register_alias("moreblocks:junglewood", "default:junglewood") minetest.register_alias("moreblocks:jungle_wood", "default:junglewood") +minetest.register_alias("moreblocks:fence_junglewood", "default:fence_junglewood") minetest.register_alias("moreblocks:fence_jungle_wood", "default:fence_junglewood") minetest.register_alias("moreblocks:jungle_stick", "default:stick") @@ -31,13 +32,13 @@ minetest.register_alias("moreblocks:horizontaljungletree", "moreblocks:horizonta minetest.register_alias("moreblocks:stonesquare", "moreblocks:stone_tile") minetest.register_alias("moreblocks:circlestonebrick", "moreblocks:circle_stone_bricks") minetest.register_alias("moreblocks:ironstonebrick", "moreblocks:iron_stone_bricks") -minetest.register_alias("moreblocks:fence_junglewood", "moreblocks:fence_jungle_wood") minetest.register_alias("moreblocks:coalstone", "moreblocks:coal_stone") minetest.register_alias("moreblocks:ironstone", "moreblocks:iron_stone") minetest.register_alias("moreblocks:woodtile", "moreblocks:wood_tile") minetest.register_alias("moreblocks:woodtile_full", "moreblocks:wood_tile_full") minetest.register_alias("moreblocks:woodtile_centered", "moreblocks:wood_tile_centered") -minetest.register_alias("moreblocks:woodtile_up", "moreblocks:wood_tile_up") +minetest.register_alias("moreblocks:woodtile_up", "moreblocks:wood_tile_offset") +minetest.register_alias("moreblocks:wood_tile_up", "moreblocks:wood_tile_offset") minetest.register_alias("moreblocks:woodtile_down", "moreblocks:wood_tile_down") minetest.register_alias("moreblocks:woodtile_left", "moreblocks:wood_tile_left") minetest.register_alias("moreblocks:woodtile_right", "moreblocks:wood_tile_right") @@ -56,6 +57,8 @@ minetest.register_alias("moreblocks:emptybookshelf", "moreblocks:empty_bookshelf minetest.register_alias("moreblocks:junglestick", "moreblocks:jungle_stick") minetest.register_alias("moreblocks:splitstonesquare","moreblocks:split_stone_tile") minetest.register_alias("moreblocks:allfacestree","moreblocks:all_faces_tree") +minetest.register_alias("moreblocks:empty_bookshelf","moreblocks:empty_shelf") +minetest.register_alias("moreblocks:split_stone_tile_alt","moreblocks:checker_stone_tile") -- ABM for horizontal trees (fix facedir): local horizontal_tree_convert_facedir = {7, 12, 9, 18} @@ -77,3 +80,26 @@ minetest.register_abm({ }) end, }) + +minetest.register_lbm({ + name = "moreblocks:reduce_wood_tile_redundancy", + nodenames = { + "moreblocks:wood_tile_left", + "moreblocks:wood_tile_down", + "moreblocks:wood_tile_right", + "moreblocks:wood_tile_flipped", + }, + action = function(pos, node) + if node.name:find("left") then + minetest.set_node(pos, {name = "moreblocks:wood_tile_offset", param2=1}) + elseif node.name:find("down") then + minetest.set_node(pos, {name = "moreblocks:wood_tile_offset", param2=2}) + elseif node.name:find("right") then + minetest.set_node(pos, {name = "moreblocks:wood_tile_offset", param2=3}) + else -- wood_tile_flipped + minetest.set_node(pos, {name = "moreblocks:wood_tile", param2=1}) + end + minetest.log('action', "LBM replaced " .. node.name .. + " at " .. minetest.pos_to_string(pos)) + end, +}) |