diff options
author | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2019-03-06 17:01:02 -0500 |
---|---|---|
committer | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2019-03-06 17:01:02 -0500 |
commit | b21c3d368077aa3a1c42ff1582cda6263c018585 (patch) | |
tree | 4053ef589ef5c5b99f0a87b567207e8c52cf4c76 /moreblocks/stairsplus/custom.lua | |
parent | ec25fd83415d0ecb49f41295af3dc30f14850b2f (diff) | |
download | dreambuilder_modpack-b21c3d368077aa3a1c42ff1582cda6263c018585.tar dreambuilder_modpack-b21c3d368077aa3a1c42ff1582cda6263c018585.tar.gz dreambuilder_modpack-b21c3d368077aa3a1c42ff1582cda6263c018585.tar.bz2 dreambuilder_modpack-b21c3d368077aa3a1c42ff1582cda6263c018585.tar.xz dreambuilder_modpack-b21c3d368077aa3a1c42ff1582cda6263c018585.zip |
updated cottages, areasprotector, bees, biome_lib, technic, facade,
farming redo, homedecor, maptools, mesecons, moreblocks, moreores,
pipeworks, quartz, travelnet, unified_inventory, unifieddyes, xban2
delete the playeranim mod, not 5.0.0 compatible.
Diffstat (limited to 'moreblocks/stairsplus/custom.lua')
-rw-r--r-- | moreblocks/stairsplus/custom.lua | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/moreblocks/stairsplus/custom.lua b/moreblocks/stairsplus/custom.lua index e456f7c..ad67009 100644 --- a/moreblocks/stairsplus/custom.lua +++ b/moreblocks/stairsplus/custom.lua @@ -1,12 +1,10 @@ --[[ More Blocks: microblock definitions -Copyright (c) 2011-2018 Hugo Locurcio and contributors. +Copyright © 2011-2019 Hugo Locurcio and contributors. Licensed under the zlib license. See LICENSE.md for more information. --]] -local S = moreblocks.intllib - --[[ Subset table should have the following format: (You can remove entries as needed.) @@ -75,22 +73,22 @@ function register_custom_subset(subset, modname, subname, recipeitem, groups, im end function stairsplus:register_custom_subset_alias(subset, modname_old, subname_old, modname_new, subname_new) - local subset = table.copy(subset) - for k, v in pairs(subset) do + local subset_copy = table.copy(subset) + for k, v in pairs(subset_copy) do minetest.register_alias(modname_old .. ":" .. v[1] .. "_" .. subname_old .. v[2], modname_new .. ":" .. v[1] .. "_" .. subname_new .. v[2]) end end function stairsplus:register_custom_subset_alias_force(subset, modname_old, subname_old, modname_new, subname_new) - local subset = table.copy(subset) - for k, v in pairs(subset) do + local subset_copy = table.copy(subset) + for k, v in pairs(subset_copy) do minetest.register_alias_force(modname_old .. ":" .. v[1] .. "_" .. subname_old .. v[2], modname_new .. ":" .. v[1] .. "_" .. subname_new .. v[2]) end end function stairsplus:register_custom_subset(subset, modname, subname, recipeitem, fields) - local subset = table.copy(subset) - for k, v in pairs(subset) do + local subset_copy = table.copy(subset) + for k, v in pairs(subset_copy) do stairsplus.register_single(v[1], v[2], stairsplus.defs[v[1]][v[2]], modname, subname, recipeitem, fields) end |