Commit Graph

7 Commits

Author SHA1 Message Date
Thomas--S 96a939c069
Airbrush: Fix dye selection by not relying on internal behaviour of minetest.serialize (#10) 2022-09-11 11:49:23 +02:00
unknown 878377301f respect the shift click convention and fix unreachable if else(if) tree 2022-05-29 10:29:47 -04:00
unknown 608c80662a patch broken colors in airbrush and bump min to 5.3.0 2022-02-23 22:37:58 -05:00
unknown 62526b9a3b add luacheck 2022-02-22 22:07:53 -05:00
Vanessa Dannenberg ff3b2d30fa Fix right-click crash on unknown nodes 2021-04-20 12:30:39 -04:00
Vanessa Dannenberg 7de142dd34 fix airbrush not showing color picker dialog
when doing sneak + right-click on a node which has a formspec
in its metadata.

Right-clicking any node without a formspec in its meta will
trigger the color picker as usual, without holding sneak.

This also makes the "use this thing's color" feature use aux1
+ right-click on most nodes, when it was sneak + right-click
before.

On a node with a formspec in its meta, the engine will
intercept the right-click before UD can see it, but then drop
back to UD if the user is holding sneak, so to pick the color
of one of these nodes, use sneak + aux1 + right-click.

(on my setup, sneak is bound to "Shift", aux1 is "E").
2021-03-26 03:27:36 -04:00
Vanessa Dannenberg 734d411e7a split init.lua into multiple files by category 2021-03-26 03:18:39 -04:00