S-S-X / metatool

Metatool API with few useful tools: Tube tool, Lua tool, Container tool, Magic pen, Sharetool, Digtron tool
MIT License
2 stars 1 forks source link

Configurable tool controls #96

Open S-S-X opened 3 years ago

S-S-X commented 3 years ago

Allow per player configuration for tool controls.

Formspec that can be used to set combination of:

If right click is set for tools then use tool function always and prevent any actual right click actions.

If allowing right click (on_place and on_secondary_use) gets too complicated then leave it out for now, using right click will anyway reduce functionality a lot and therefore probably not that important feature.

Consider allowing similar configuration for individual tools (configuration stored in tool meta). Configuration will get cleared with tool reset crafting recipe.