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/init.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/init.lua')
-rw-r--r-- | stairsplus/init.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stairsplus/init.lua b/stairsplus/init.lua index 87a356f..598f21c 100644 --- a/stairsplus/init.lua +++ b/stairsplus/init.lua @@ -12,6 +12,8 @@ local modpath = minetest.get_modpath("moreblocks").. "/stairsplus" stairsplus = {} stairsplus.expect_infinite_stacks = false +stairsplus.shapes_list = {} + if not minetest.get_modpath("unified_inventory") and minetest.setting_getbool("creative_mode") then stairsplus.expect_infinite_stacks = true |