diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-02-23 11:12:36 -0500 |
---|---|---|
committer | Hugo Locurcio <hugo.l@openmailbox.org> | 2017-02-23 17:12:36 +0100 |
commit | e9c6cef4dd6090b561c55268114c832cd0ccfe0e (patch) | |
tree | f3b26bf17cc9b7017e83c58b00821d5698ff0ed8 /stairsplus/microblocks.lua | |
parent | 5f35766ed06ed464c5f609cdb9d08fc564f92fe9 (diff) |
build a list of all of the stairsplus slab/stair/etc... shapes (#70)
for other mods to reference.
Diffstat (limited to 'stairsplus/microblocks.lua')
-rw-r--r-- | stairsplus/microblocks.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/stairsplus/microblocks.lua b/stairsplus/microblocks.lua index 727278e..50d8487 100644 --- a/stairsplus/microblocks.lua +++ b/stairsplus/microblocks.lua @@ -65,6 +65,10 @@ local microblocks_defs = { } } +for k,v in pairs(microblocks_defs) do + table.insert(stairsplus.shapes_list, { "micro_", k }) +end + function stairsplus:register_micro_alias(modname_old, subname_old, modname_new, subname_new) local defs = stairsplus.copytable(microblocks_defs) for alternate, def in pairs(defs) do |