moreblocks icon indicating copy to clipboard operation
moreblocks copied to clipboard

Add a command to display the circular saw GUI in creative mode

Open Calinou opened this issue 6 years ago • 5 comments

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).

Calinou avatar Apr 25 '19 18:04 Calinou

Maybe get this into an sfinv page?

ghost avatar May 24 '19 09:05 ghost

@Linuxdirk That can be done optionally, but I'd like to have the base feature available without requiring any specific inventory mods.

Calinou avatar May 24 '19 09:05 Calinou

sfinv is part of default Minetest. It is not additional. But yes, being completely independent is always good.

ghost avatar May 24 '19 12:05 ghost

The /saw and circular_saw-priv are really good ideas :smile:

thomasrudin avatar Jun 20 '19 09:06 thomasrudin

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.

fluxionary avatar Jun 15 '22 04:06 fluxionary