groups: add support for customnode groups
This commit is contained in:
parent
139d5f3dc7
commit
db1fd078a2
@ -57,7 +57,8 @@ filter.register_filter({
|
||||
k:sub(1, 7) == "excolor" or
|
||||
k:sub(1, 5) == "color" or
|
||||
k:sub(1, 8) == "unicolor" or
|
||||
k:sub(1, 4) == "food" then
|
||||
k:sub(1, 4) == "food" or
|
||||
k:sub(1, 10) == "customnode" then
|
||||
mk = string.gsub(k, "_", ":")
|
||||
else
|
||||
mk = k
|
||||
|
@ -71,6 +71,9 @@ return {
|
||||
["group:micro"] = {label = "Mikro"},
|
||||
["group:panel"] = {label = "Paneel"},
|
||||
["group:slope"] = {label = "Neigung"},
|
||||
["group:customnode"] = {label = "Dekorativer Block"},
|
||||
["group:customnode:default"] = {label = false},
|
||||
|
||||
|
||||
["type:tool"] = { label = "Werkzeuge" },
|
||||
["type:node"] = { label = "Blöcke" },
|
||||
|
@ -71,6 +71,8 @@ return {
|
||||
["group:micro"] = {label = "Micro"},
|
||||
["group:panel"] = {label = "Panel"},
|
||||
["group:slope"] = {label = "Slope"},
|
||||
["group:customnode"] = {label = "Decorative node"},
|
||||
["group:customnode:default"] = {label = false},
|
||||
|
||||
["type:tool"] = { label = "Tools" },
|
||||
["type:node"] = { label = "Nodes" },
|
||||
|
Loading…
x
Reference in New Issue
Block a user