7de142dd34fix airbrush not showing color picker dialog when doing sneak + right-click on a node which has a formspec in its metadata.
Vanessa Dannenberg
2021-03-26 03:20:19 -04:00
734d411e7asplit init.lua into multiple files by category
Vanessa Dannenberg
2021-03-26 03:07:13 -04:00
6873ad372aMerge branch 'translatable-color-string' into 'master'
Vanessa Dannenberg
2021-01-13 09:40:16 +00:00
71a35d4d87Fix translatability of colornames
Robert Timm
2021-01-13 09:40:16 +00:00
f298584761Merge branch 'more-translation-german' into 'master'
Vanessa Dannenberg
2021-01-13 09:35:43 +00:00
ba7fa97af1add more german translation
Robert Timm
2021-01-13 08:27:32 +01:00
eb5610fc10workaround for engine bug in crafting, placing, digging items with a palette index of 0
VanessaE
2020-12-02 09:17:55 -05:00
30c55bec6dMerge branch 'airbrush_on_place' into 'master'
Vanessa Dannenberg
2020-08-21 01:36:51 +00:00
e2c35e6694Allows the airbrush to be placed into itemframes from homedecor
Louis Royer
2020-08-21 03:26:09 +02:00
c91c68e0f5Merge branch '6-move_item_crash' into 'master'
Vanessa Dannenberg
2020-07-09 16:19:35 +00:00
09f95729c5fix(bug):fix for a rare crash due to on_dig callback by non-player.
za267
2020-07-09 12:05:10 -04:00
71d7e3c954add minimum minetest version key for contentdb
VanessaE
2020-06-03 13:00:38 -04:00
17e87a8162add sanity checks for when what should be a player/digger is nil
VanessaE
2020-05-10 18:41:17 -04:00
b55c87411dMerge branch 'mt5-locales' into 'master'
Vanessa Dannenberg
2020-02-14 02:24:50 +00:00
2d13513de0Use mt5 translation api
Louis Royer
2020-02-13 19:11:40 +01:00
c6883a8300Merge branch 'fix_drop_fix' into 'master'
Vanessa Dannenberg
2019-09-23 01:49:50 +00:00
22dc40caccprevent crash when dropping item
flux
2019-09-23 01:49:50 +00:00
9271f07f12fix incorrect drop behavior when stipping bogus color in the case of full inv.
Vanessa Dannenberg
2019-09-15 23:36:49 -04:00
0082b1513aremove an obsolete function reference
Vanessa Dannenberg
2019-07-20 04:29:31 -04:00
d59ccd3298document the new on_dig function
Vanessa Dannenberg
2019-07-20 04:25:21 -04:00
9ff40a7fe6Add 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.
Vanessa Dannenberg
2019-07-18 02:00:56 -04:00
e048da9c3cremove mentions of on_construct (outdated, no longer valid or necessary)
Vanessa Dannenberg
2019-07-07 15:53:03 -04:00
10ab87bf65prevent crash in setting sky color if get color from name return nil
Vanessa Dannenberg
2019-05-25 04:14:12 -04:00
f59c8affc1Merge branch 'master' into 'master'
Vanessa Dannenberg
2019-02-07 15:19:47 +00:00
667bce80b9Fixed yield for crafted dyes.
Michal Cieslakiewicz
2019-02-07 10:08:04 +01:00
5039a8ce07Merge branch 'patch-1' into 'master'
Vanessa Dannenberg
2018-12-16 00:09:21 +00:00
13a8cbb38fSome 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.
Alexand(er|ra) Yst
2018-12-15 10:53:35 +00:00
58dd71e561Add function to get the hex color from a dye name
cheapie
2018-12-01 17:59:00 -06:00
1fd850d37cchange airbrush recipe to 1 brass ingot, 2 steel ingots, and 1 plastic sheet
Vanessa Dannenberg
2018-11-23 10:38:05 -05:00
545968517bmore strict checking of need to reset param2 on place
Vanessa Dannenberg
2018-10-12 07:55:09 -04:00
368205d3b8Add VALS_SPLIT for craft
Jat15
2018-10-05 05:23:02 +02:00
feed6d5aaeadd human-readable color names to tooltips and "your selection in airbrush form, plus minor re-arrangements and size adjustment to fit.
Vanessa Dannenberg
2018-09-23 18:11:07 -04:00
4811847655check palette filename when airbrushing to determine mode. (relying just on paramtype2 doesn't work :-/ )
Vanessa Dannenberg
2018-09-13 22:16:47 -04:00
44629935d2turn unavail colors in selector into non-clickable flat images (instead of making them all buttons)
Vanessa Dannenberg
2018-09-13 00:17:13 -04:00
ccbedcd3d6allow passing an explicitly-available list of colors for airbrush
Vanessa Dannenberg
2018-09-13 00:03:59 -04:00
622d09a243get rid of colors.txt, outdated
Vanessa Dannenberg
2018-09-12 23:08:17 -04:00
230ac1342aremove debug prints
Vanessa Dannenberg
2018-09-12 22:39:44 -04:00
e921095006allow 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.
Vanessa Dannenberg
2018-09-12 22:37:52 -04:00
3eb3a9a330expand old split-89 palette to 176 colors (by adding more hues, now has all 24 in 7 shades each plus 5 greys)
Vanessa Dannenberg
2018-09-12 22:29:57 -04:00
078a998d29append output given to color craft helper if prefix/suffix are used (if any; allows specifying an item count/yield for the recipe)
Vanessa Dannenberg
2018-09-12 20:26:23 -04:00
4b88997360add helper function for registering split palette nodes
Vanessa Dannenberg
2018-09-12 18:32:38 -04:00
ef7d357e0bmake sure group.ud_param2_colorable exists before trying to check its value :P
Vanessa Dannenberg
2018-09-12 19:39:40 -04:00
66774213e2use the node's paramtype2 instead of its palette filename to decide what the airbrush should do with it.
Vanessa Dannenberg
2018-09-12 17:57:43 -04:00
0413f23df1fix incorrect handling of "azure" re: wallmounted palette (it doesn't exist there :P replaced with light blue) also fixed missing craft helper recipe for same and fixed missing light_red in color<->palette table.
Vanessa Dannenberg
2018-09-08 11:21:00 -04:00
8fbd9cd23bcondense legend a bit move selected dye label over next to/under "Your selection"
Vanessa Dannenberg
2018-09-08 11:08:37 -04:00
997d703b94eliminate most egregious string concats in color select form
Vanessa Dannenberg
2018-09-08 10:50:04 -04:00
95f009a282show in color selector when a dye is on-hand in survival, but unavailable (right-clicked node can't use it)
Vanessa Dannenberg
2018-09-08 10:24:08 -04:00
fb2c14b4a8rename "available" overlay to "onhand"
Vanessa Dannenberg
2018-09-08 10:15:51 -04:00
3cbb25d92apass inv to colored squared function
Vanessa Dannenberg
2018-09-08 10:09:42 -04:00
0589d8f02edim-out the user's color choice in the color selector and reject it on clicking "Accept", if they went to "Show All" to select a color, but then went back to "Show Avail" before clicking Accept.
Vanessa Dannenberg
2018-09-08 10:05:13 -04:00
fc199cced4moved the formspec code for the colored squares to its own function
Vanessa Dannenberg
2018-09-08 09:47:31 -04:00
da9ab7215cmake airbrush show only the colors the right-clicked node can use (with button to toggle between that mode and show-all)
Vanessa Dannenberg
2018-09-08 09:09:13 -04:00
c3036aba00handle special case of split palette with full colors in node name also check for ud_param2_colorable before proceeding to airbrush also handle new -> old color names in split palette switching
Vanessa Dannenberg
2018-08-28 22:39:09 -04:00
d53fb146ddshow the player's current painting-with color, if no color is selected, if any
Vanessa Dannenberg
2018-08-27 20:01:15 -04:00
5b1051f8aeshow the "your selection" legend in creative mode (since it now shows the selected color instead of an empty box)
Vanessa Dannenberg
2018-08-27 19:52:15 -04:00
62806f795ebetter handling of exiting the color selector form also prints a warning if the user clicked "Accept" without a color selected
Vanessa Dannenberg
2018-08-27 19:45:34 -04:00
057baacf2dmake "Your selection" legend show your selected color or show a "?" when a color hasn't been chosen
Vanessa Dannenberg
2018-08-27 19:30:36 -04:00
f7cc4be2c3update API
Vanessa Dannenberg
2018-08-27 02:25:06 -04:00
4dc4b0e08afix broken re-painting of nodes using the split palettes (broken in multiple places....oy.)
Vanessa Dannenberg
2018-08-26 23:06:57 -04:00
3898337fc3don't try to match last_color to registered_items table, that breaks aliases
Vanessa Dannenberg
2018-08-26 23:50:00 -04:00
2e4c2e2667add "***" to all other warning/info msgs
Vanessa Dannenberg
2018-08-26 22:28:48 -04:00
6ecb115465warn the user to open the color selector instead of crashing if they have no color set :-)
Vanessa Dannenberg
2018-08-26 22:27:43 -04:00
4dde37c191remove "already that color" chat msg (some found it annoying)
Vanessa Dannenberg
2018-08-26 22:16:28 -04:00
c9d7733d87use right-click (on any random node) to open the color selector experimental code to read the param2 of a node and make a dye out of it used by airbrush, shift-right-click to change to that color
Vanessa Dannenberg
2018-08-26 22:09:44 -04:00
0a589e7529use shift-right-click for color select form (instead of punch or shift-punch)
Vanessa Dannenberg
2018-08-26 19:34:01 -04:00