summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-12-01Add function to get the hex color from a dye nameHEADmastercheapie
(oh, and https://www.youtube.com/watch?v=OEVFbrEv83w too)
2018-11-23change airbrush recipeVanessa Dannenberg
to 1 brass ingot, 2 steel ingots, and 1 plastic sheet
2018-10-19fix crashVanessa Dannenberg
when trying to airbrush unknown nodes or nodes without palettes.
2018-10-12more strict checking of need to reset param2 on placeVanessa Dannenberg
fixes wood (coloredwood mod), stone (blox mod), bricks (unified bricks mod), etc. being rotated wrong
2018-10-05Add VALS_SPLIT for craftJat15
Add faint + light.
2018-09-23add human-readable color names to tooltips and "your selectionVanessa Dannenberg
in airbrush form, plus minor re-arrangements and size adjustment to fit.
2018-09-13check palette filename when airbrushing to determine mode.Vanessa Dannenberg
(relying just on paramtype2 doesn't work :-/ )
2018-09-13turn unavail colors in selector into non-clickable flat imagesVanessa Dannenberg
(instead of making them all buttons)
2018-09-13allow passing an explicitly-available list of colors for airbrushVanessa Dannenberg
2018-09-12get rid of colors.txt, outdatedVanessa Dannenberg
2018-09-12clarify item desc in split palette register nodes helperVanessa Dannenberg
2018-09-12remove debug printsVanessa Dannenberg
2018-09-12allow access to the 0 column in the split palettesVanessa Dannenberg
which now contains a "faint" shade of each color brings the total to 197 colors in split mode.
2018-09-12expand old split-89 palette to 176 colorsVanessa Dannenberg
(by adding more hues, now has all 24 in 7 shades each plus 5 greys)
2018-09-12append `output` given to color craft helper if prefix/suffix are usedVanessa Dannenberg
(if any; allows specifying an item count/yield for the recipe)
2018-09-12add helper function for registering split palette nodesVanessa Dannenberg
2018-09-12make sure group.ud_param2_colorable exists before trying to check its value :PVanessa Dannenberg
2018-09-12use the node's paramtype2 instead of its palette filenameVanessa Dannenberg
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-12add hues+greys tableVanessa Dannenberg
2018-09-08use `"split"` for split-89 palette instead of `true`.Vanessa Dannenberg
2018-09-08drop support for the old 89 color palette - obsoleteVanessa Dannenberg
(the full version)
2018-09-08don't register pink recipe twice for wallmountedVanessa Dannenberg
2018-09-08fix incorrect handling of "azure" re: wallmounted paletteVanessa Dannenberg
(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.
2018-09-08condense legend a bitVanessa Dannenberg
move selected dye label over next to/under "Your selection"
2018-09-08eliminate most egregious string concats in color select formVanessa Dannenberg
build it into a table and return table.concat() instead of using foo = foo..bar or foo = bar..baz..meh everywhere
2018-09-08show in color selector when a dye is on-hand in survival, but unavailableVanessa Dannenberg
(right-clicked node can't use it)
2018-09-08rename "available" overlay to "onhand"Vanessa Dannenberg
2018-09-08show "on hand" indicators in "avail only" screenVanessa Dannenberg
2018-09-08pass inv to colored squared functionVanessa Dannenberg
2018-09-08dim-out the user's color choice in the color selectorVanessa Dannenberg
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. (i.e. only accept what's shown as available to click on)
2018-09-08moved the formspec code for the colored squares to its own functionVanessa Dannenberg
2018-09-08make airbrush show only the colors the right-clicked node can useVanessa Dannenberg
(with button to toggle between that mode and show-all)
2018-08-28fix typoVanessa Dannenberg
2018-08-28handle special case of split palette with full colors in node nameVanessa Dannenberg
also check for ud_param2_colorable before proceeding to airbrush also handle new -> old color names in split palette switching
2018-08-27show the player's current painting-with color,Vanessa Dannenberg
if no color is selected, if any if no painting-with and no selected, shows a "?"
2018-08-27show the "your selection" legend in creative modeVanessa Dannenberg
(since it now shows the selected color instead of an empty box)
2018-08-27better handling of exiting the color selector formVanessa Dannenberg
also prints a warning if the user clicked "Accept" without a color selected
2018-08-27make "Your selection" legend show your selected colorVanessa Dannenberg
or show a "?" when a color hasn't been chosen
2018-08-27update APIVanessa Dannenberg
2018-08-27fix broken re-painting of nodes using the split palettesVanessa Dannenberg
(broken in multiple places....oy.) also, fix wrong light green shade in colorwallmounted palette also, fixed many wrong/missing aliases and translations between old and current colors (i.e. aqua<->spring, skyblue<->azure, redviolet<->rose)
2018-08-27don't try to match last_color to registered_items table, that breaks aliasesVanessa Dannenberg
2018-08-26tweak switching-to msgVanessa Dannenberg
2018-08-26add "***" to all other warning/info msgsVanessa Dannenberg
2018-08-26warn the user to open the color selectorVanessa Dannenberg
instead of crashing if they have no color set :-)
2018-08-26remove "already that color" chat msg (some found it annoying)Vanessa Dannenberg
2018-08-26use right-click (on any random node) to open the color selectorVanessa Dannenberg
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
2018-08-26use shift-right-click for color select formVanessa Dannenberg
(instead of punch or shift-punch) Must be pointing at a node, doesn't matter what it is, but with a range of 12, it's hard not to.
2018-08-26respect protectionVanessa Dannenberg
2018-08-26add recipe for airbrushVanessa Dannenberg
2018-08-26allow shift-punch for airbrush formVanessa Dannenberg