mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2025-07-03 00:20:43 +02:00
build a list of all of the stairsplus slab/stair/etc... shapes (#70)
for other mods to reference.
This commit is contained in:
committed by
Hugo Locurcio
parent
5f35766ed0
commit
e9c6cef4dd
@ -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
|
||||
|
Reference in New Issue
Block a user