Add a command to display the circular saw GUI in creative mode
I enabled Stairs+ nodes in creative inventory by default with https://github.com/minetest-mods/moreblocks/commit/774c4043aae4979a69f31f914a3760cb9877f2de. However, this makes it difficult to browse the creative inventory and slows down loading, so I think I'll disable it by default.
As an alternative, I thought of adding a /saw command that would display the circular saw GUI (only available in creative mode or for players with the circular_saw privilege). This way, players won't have to craft/place/use a circular saw to access Stairs+ nodes and the creative inventory will remain easy to browse.
Bonus feature for quicker usage: /saw [node name] would pre-fill the input material slot with 65535 nodes of the specified type, as long as it's not in the not_in_creative_inventory group (unless the player has the give privilege, which would let them bypass this restriction).
Maybe get this into an sfinv page?
@Linuxdirk That can be done optionally, but I'd like to have the base feature available without requiring any specific inventory mods.
sfinv is part of default Minetest. It is not additional. But yes, being completely independent is always good.
The /saw and circular_saw-priv are really good ideas :smile:
see https://github.com/minetest-mirrors/invsaw for a current implementation. i like this proposal, but don't feel it should be added to the logic of this mod unless the feature is gated behind a specific privilege. some servers allow both creative and survival building, and this sort of feature should be restricted to a privilege, so as to permit server owners the choice of whether to gate it to a privilege, or allow anyone w/ interact to use it.