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
Vanessa Dannenberg
6873ad372a
Merge branch 'translatable-color-string' into 'master'
...
Fix translatability of colornames
See merge request VanessaE/unifieddyes!9
2021-01-13 09:40:16 +00:00
Robert Timm
71a35d4d87
Fix translatability of colornames
2021-01-13 09:40:16 +00:00
Vanessa Dannenberg
f298584761
Merge branch 'more-translation-german' into 'master'
...
Add more german translation
See merge request VanessaE/unifieddyes!8
2021-01-13 09:35:43 +00:00
Robert Timm
ba7fa97af1
add more german translation
2021-01-13 08:34:16 +01:00
VanessaE
eb5610fc10
workaround for engine bug in crafting, placing, digging
...
items with a palette index of 0
(see https://github.com/minetest/minetest/issues/10687 )
2020-12-02 09:42:33 -05:00
Vanessa Dannenberg
30c55bec6d
Merge branch 'airbrush_on_place' into 'master'
...
Allows the airbrush to be placed into itemframes from homedecor
See merge request VanessaE/unifieddyes!7
2020-08-21 01:36:51 +00:00
Louis Royer
e2c35e6694
Allows the airbrush to be placed into itemframes from homedecor
2020-08-21 03:27:13 +02:00
Vanessa Dannenberg
c91c68e0f5
Merge branch '6-move_item_crash' into 'master'
...
fix(bug):fix for a rare crash due to on_dig callback by non-player.
Closes #6
See merge request VanessaE/unifieddyes!6
2020-07-09 16:19:35 +00:00
za267
09f95729c5
fix(bug):fix for a rare crash due to on_dig callback by non-player.
2020-07-09 12:05:10 -04:00
VanessaE
71d7e3c954
add minimum minetest version key for contentdb
2020-06-03 13:00:38 -04:00
VanessaE
17e87a8162
add sanity checks for when what should be a player/digger is nil
2020-05-10 18:41:17 -04:00
Vanessa Dannenberg
b55c87411d
Merge branch 'mt5-locales' into 'master'
...
Use mt5 translation api
See merge request VanessaE/unifieddyes!5
2020-02-14 02:24:50 +00:00
Louis Royer
2d13513de0
Use mt5 translation api
...
This allow client side translation.
I also enabled translation on Dye Airbrush interface and added
`basic_materials` to `depends` since it is used for Dye Airbrush craft
(but, it could be moved to `optional_depends` if we check mod is loaded
to register craft).
2020-02-13 19:57:05 +01:00
Vanessa Dannenberg
c6883a8300
Merge branch 'fix_drop_fix' into 'master'
...
prevent crash when dropping item
See merge request VanessaE/unifieddyes!3
2019-09-23 01:49:50 +00:00
flux
22dc40cacc
prevent crash when dropping item
2019-09-23 01:49:50 +00:00
Vanessa Dannenberg
9271f07f12
fix incorrect drop behavior when stipping bogus color
...
in the case of full inv.
Should be the same as normal Minetest behavior now:
In survival mode, the node is deleted, then:
* If there is room in your inv, you get whatever the node
would normally give you.
* If there's no room, the node drops to the ground as an item
entity.
In creative mode, the node is deleted, then:
* If you don't already have one of the item, you get one.
* If you already have one, or if there's no room in your
inventory, "you'll get nothing and LIKE it!" :-)
Also: made sure to check for creative priv as well as proper
creative mode.
2019-09-15 23:57:58 -04:00
Vanessa Dannenberg
0082b1513a
remove an obsolete function reference
2019-07-20 04:29:31 -04:00
Vanessa Dannenberg
d59ccd3298
document the new on_dig function
2019-07-20 04:28:53 -04:00
Vanessa Dannenberg
9ff40a7fe6
Add a helper function to reset a node's/item's color info
...
if a neutral node somehow ends up with different itemstack
meta when placed and then later dug. Prevents look-alike stacks.
2019-07-18 02:00:56 -04:00
Vanessa Dannenberg
e048da9c3c
remove mentions of on_construct
...
(outdated, no longer valid or necessary)
2019-07-07 15:53:03 -04:00
Izzle
6c8a0b2387
Add Russian translations
2019-06-26 10:27:48 -04:00
Vanessa Dannenberg
10ab87bf65
prevent crash in setting sky color
...
if get color from name return nil
2019-05-25 04:14:12 -04:00
Vanessa Dannenberg
f59c8affc1
Merge branch 'master' into 'master'
...
Fixed yield for crafted dyes.
See merge request VanessaE/unifieddyes!2
2019-02-07 15:19:47 +00:00
Michal Cieslakiewicz
667bce80b9
Fixed yield for crafted dyes.
...
Fix a bug that caused multiple inconsistent recipes to appear
(identical dye resources gave different dye output quantity).
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2019-02-07 10:08:04 +01:00
Vanessa Dannenberg
5039a8ce07
Merge branch 'patch-1' into 'master'
...
Fix numbers relating to greys
See merge request VanessaE/unifieddyes!1
2018-12-16 00:09:21 +00:00
Alexand(er|ra) Yst
13a8cbb38f
Some of the numbers relating to greys are used inconsistently, making three of the palette colours unreachable. This bug patch fixes the numbers and restores full usability of the palette.
2018-12-15 10:53:35 +00:00
cheapie
58dd71e561
Add function to get the hex color from a dye name
...
(oh, and https://www.youtube.com/watch?v=OEVFbrEv83w too)
2018-12-01 17:59:00 -06:00
Vanessa Dannenberg
1fd850d37c
change airbrush recipe
...
to 1 brass ingot, 2 steel ingots, and 1 plastic sheet
2018-11-23 10:38:05 -05:00
Vanessa Dannenberg
334de564fd
fix crash
...
when trying to airbrush unknown nodes or nodes without palettes.
2018-10-19 16:00:05 -04:00
Vanessa Dannenberg
545968517b
more strict checking of need to reset param2 on place
...
fixes wood (coloredwood mod), stone (blox mod), bricks (unified
bricks mod), etc. being rotated wrong
2018-10-12 07:55:09 -04:00
Jat15
368205d3b8
Add VALS_SPLIT for craft
...
Add faint + light.
2018-10-05 05:23:02 +02:00
Vanessa Dannenberg
feed6d5aae
add human-readable color names to tooltips and "your selection
...
in airbrush form, plus minor re-arrangements and size adjustment to fit.
2018-09-23 18:11:07 -04:00
Vanessa Dannenberg
4811847655
check palette filename when airbrushing to determine mode.
...
(relying just on paramtype2 doesn't work :-/ )
2018-09-13 22:32:12 -04:00
Vanessa Dannenberg
44629935d2
turn unavail colors in selector into non-clickable flat images
...
(instead of making them all buttons)
2018-09-13 00:17:13 -04:00
Vanessa Dannenberg
ccbedcd3d6
allow passing an explicitly-available list of colors for airbrush
2018-09-13 00:03:59 -04:00
Vanessa Dannenberg
622d09a243
get rid of colors.txt, outdated
2018-09-12 23:08:17 -04:00
Vanessa Dannenberg
27fe090395
clarify item desc in split palette register nodes helper
2018-09-12 22:44:24 -04:00
Vanessa Dannenberg
230ac1342a
remove debug prints
2018-09-12 22:39:44 -04:00
Vanessa Dannenberg
e921095006
allow access to the 0 column in the split palettes
...
which now contains a "faint" shade of each color
brings the total to 197 colors in split mode.
2018-09-12 22:37:52 -04:00
Vanessa Dannenberg
3eb3a9a330
expand old split-89 palette to 176 colors
...
(by adding more hues, now has all 24 in 7 shades each
plus 5 greys)
2018-09-12 22:29:57 -04:00
Vanessa Dannenberg
078a998d29
append output
given to color craft helper if prefix/suffix are used
...
(if any; allows specifying an item count/yield for the recipe)
2018-09-12 20:34:28 -04:00
Vanessa Dannenberg
4b88997360
add helper function for registering split palette nodes
2018-09-12 20:19:07 -04:00
Vanessa Dannenberg
ef7d357e0b
make sure group.ud_param2_colorable exists before trying to check its value :P
2018-09-12 19:40:22 -04:00
Vanessa Dannenberg
66774213e2
use the node's paramtype2 instead of its palette filename
...
to decide what the airbrush should do with it.
(that plus a few related changes allows coloredwood mod to make
the airbrush work on stairsplus cut plain wood slabs/slopes/et. al)
2018-09-12 18:32:04 -04:00
Vanessa Dannenberg
ad21862eee
add hues+greys table
2018-09-12 16:38:42 -04:00
Vanessa Dannenberg
ad12387432
use "split"
for split-89 palette instead of true
.
2018-09-08 12:09:25 -04:00
Vanessa Dannenberg
7b18314235
drop support for the old 89 color palette - obsolete
...
(the full version)
2018-09-08 11:49:20 -04:00
Vanessa Dannenberg
73a062f026
don't register pink recipe twice for wallmounted
2018-09-08 11:30:14 -04:00