build a list of all of the stairsplus slab/stair/etc... shapes (#70)

for other mods to reference.
This commit is contained in:
Vanessa Ezekowitz
2017-02-23 11:12:36 -05:00
committed by Hugo Locurcio
parent 5f35766ed0
commit e9c6cef4dd
6 changed files with 22 additions and 0 deletions

View File

@ -65,6 +65,10 @@ local panels_defs = {
}
}
for k,v in pairs(panels_defs) do
table.insert(stairsplus.shapes_list, { "panel_", k })
end
function stairsplus:register_panel_alias(modname_old, subname_old, modname_new, subname_new)
local defs = stairsplus.copytable(panels_defs)
for alternate, def in pairs(defs) do