smart_sfinv_creative: move hardcoded stairs and slabs to the stairs group
This commit is contained in:
parent
e46cf78a30
commit
8341b56288
@ -40,6 +40,13 @@ end
|
|||||||
-- Get group assignment for item
|
-- Get group assignment for item
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
local function get_group_assingment(def)
|
local function get_group_assingment(def)
|
||||||
|
|
||||||
|
-- Order all stairs and slabs to the stairs group
|
||||||
|
if def.groups.stair or def.groups.slab then
|
||||||
|
return "stairs"
|
||||||
|
end
|
||||||
|
|
||||||
|
-- Group by mod origin by default
|
||||||
return def.mod_origin
|
return def.mod_origin
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user