From e9c6cef4dd6090b561c55268114c832cd0ccfe0e Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Thu, 23 Feb 2017 11:12:36 -0500 Subject: build a list of all of the stairsplus slab/stair/etc... shapes (#70) for other mods to reference. --- stairsplus/stairs.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'stairsplus/stairs.lua') diff --git a/stairsplus/stairs.lua b/stairsplus/stairs.lua index 8dd29a0..0291e7d 100644 --- a/stairsplus/stairs.lua +++ b/stairsplus/stairs.lua @@ -105,6 +105,10 @@ local stairs_defs = { }, } +for k,v in pairs(stairs_defs) do + table.insert(stairsplus.shapes_list, { "stair_", k }) +end + function stairsplus:register_stair_alias(modname_old, subname_old, modname_new, subname_new) local defs = stairsplus.copytable(stairs_defs) for alternate, def in pairs(defs) do -- cgit v1.2.3