• Dirk's avatar
    implement node filtering · 3095475a
    Dirk authored
    the API function `get_nodes()` returns a list of all supported and
    pre-filtered nodes. In addition to that the API table `nodes` has this
    nodes already pre-loaded for use in other mods.
    
    The function takes a parameter for allowing ad-hoc whitelisting of nodes
    from the pre-filtered nodes list. The syntax is identical to the
    filterstrings implemented with the nodes whitelist and blacklist
    functionality and is described there. The optional parameter has to be
    a table of filterstrings. The built-in furniture uses the API table.
    3095475a
get_nodes.lua 4.78 KB