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/slabs.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/slabs.lua')
-rw-r--r-- | stairsplus/slabs.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/stairsplus/slabs.lua b/stairsplus/slabs.lua index 5d9a434..ea9dbc5 100644 --- a/stairsplus/slabs.lua +++ b/stairsplus/slabs.lua @@ -44,6 +44,10 @@ local slabs_defs = { } } +for k,v in pairs(slabs_defs) do + table.insert(stairsplus.shapes_list, { "slab_", k }) +end + function stairsplus:register_slab_alias(modname_old, subname_old, modname_new, subname_new) local defs = stairsplus.copytable(slabs_defs) for alternate, def in pairs(defs) do |