Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-09-08 | show in color selector when a dye is on-hand in survival, but unavailable | Vanessa Dannenberg | |
(right-clicked node can't use it) | |||
2018-09-08 | rename "available" overlay to "onhand" | Vanessa Dannenberg | |
2018-09-08 | show "on hand" indicators in "avail only" screen | Vanessa Dannenberg | |
2018-09-08 | pass inv to colored squared function | Vanessa Dannenberg | |
2018-09-08 | dim-out the user's color choice in the color selector | Vanessa 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-08 | moved the formspec code for the colored squares to its own function | Vanessa Dannenberg | |
2018-09-08 | make airbrush show only the colors the right-clicked node can use | Vanessa Dannenberg | |
(with button to toggle between that mode and show-all) | |||
2018-08-28 | fix typo | Vanessa Dannenberg | |
2018-08-28 | handle special case of split palette with full colors in node name | Vanessa Dannenberg | |
also check for ud_param2_colorable before proceeding to airbrush also handle new -> old color names in split palette switching | |||
2018-08-27 | show 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-27 | show the "your selection" legend in creative mode | Vanessa Dannenberg | |
(since it now shows the selected color instead of an empty box) | |||
2018-08-27 | better handling of exiting the color selector form | Vanessa Dannenberg | |
also prints a warning if the user clicked "Accept" without a color selected | |||
2018-08-27 | make "Your selection" legend show your selected color | Vanessa Dannenberg | |
or show a "?" when a color hasn't been chosen | |||
2018-08-27 | fix broken re-painting of nodes using the split palettes | Vanessa 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-27 | don't try to match last_color to registered_items table, that breaks aliases | Vanessa Dannenberg | |
2018-08-26 | tweak switching-to msg | Vanessa Dannenberg | |
2018-08-26 | add "***" to all other warning/info msgs | Vanessa Dannenberg | |
2018-08-26 | warn the user to open the color selector | Vanessa Dannenberg | |
instead of crashing if they have no color set :-) | |||
2018-08-26 | remove "already that color" chat msg (some found it annoying) | Vanessa Dannenberg | |
2018-08-26 | use right-click (on any random node) to open the color selector | Vanessa 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-26 | use shift-right-click for color select form | Vanessa 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-26 | respect protection | Vanessa Dannenberg | |
2018-08-26 | add recipe for airbrush | Vanessa Dannenberg | |
2018-08-26 | allow shift-punch for airbrush form | Vanessa Dannenberg | |
2018-08-26 | allow replacement nodes during airbrushing | Vanessa Dannenberg | |
2018-08-26 | new punch-to-colorize scheme | Vanessa Dannenberg | |
using a tool, the airbrush, for the job point at air/nothing and punch while wielding the airbrush to open the color selection form. | |||
2018-08-26 | better handling of the register_on_placenode rotation fix | Vanessa Dannenberg | |
2018-08-25 | minor changes to colorwallmounted palette | Vanessa Dannenberg | |
got rid of the separate brown swatch in the colorwallmounted palette, as it was being bypassed by the brown-> medium orange translation -- replaced it with light green. fixed missing colorwallmounted light blue/azure check-and-return in get_paletteidx() | |||
2018-08-25 | fix some broken aliases, | Vanessa Dannenberg | |
add some corresponding ones (unifieddyes:* vs. dye:*) | |||
2018-08-24 | workaround for placing nodes with no color info in itemstack | Vanessa Dannenberg | |
2018-08-24 | remove the old obsolete on_use stuff | Vanessa Dannenberg | |
(was applied to dye items, obsolete now) | |||
2018-08-22 | remove debug prints | Vanessa Dannenberg | |
2018-08-22 | forgot to add pink to craft helper | Vanessa Dannenberg | |
2018-08-22 | proper handling of 89-color "split" palette in craft helper | Vanessa Dannenberg | |
2018-08-22 | preserve color bits in rotation fixup calls | Vanessa Dannenberg | |
2018-08-22 | remove debug prints | Vanessa Dannenberg | |
2018-08-22 | fix hue table type for wallmounted in craft helper | Vanessa Dannenberg | |
2018-08-21 | further refine how colored itemstacks work | Vanessa Dannenberg | |
2017-06-20 | separate the make-colored-itemstack code into its own function | Vanessa Ezekowitz | |
2017-06-20 | disable old after_dig_node() callbacks | Vanessa Ezekowitz | |
(don't split a digged node into neutral+dye) | |||
2017-06-20 | disable auto-coloring code entirely | Vanessa Ezekowitz | |
2017-06-20 | add helper function for crafting param2-colorized items | Vanessa Ezekowitz | |
One call registers the full set of 32, 89, or 256 colors. Pass it a recipe of the following general form ```lua unifieddyes.register_color_craft({ output = "mymod:colorized_node", type = <nil or "shapeless"> palette = <see below>, neutral_node = "some_mod:neutral_node", recipe = { <see below> } }) ``` palette may be either "wallmounted" (32 colors), false or omitted entirely (89 colors), or "extended" (256 colors). The recipe section is either a shapeless list, or a standard three-line shaped recipe, same as the regular register_craft() function. The key difference is two placeholder keys that are now supported: * if an item in the recipe is "MAIN_DYE", then Unified Dyes will, with each pass of its registration loop, substitute the actual "dye:foo" craft item in its place which corresponds with the current loop's color. * if an item in the recipe list is "NEUTRAL_NODE", then the value of the "neutral_node" field will be substituted in its place. The expectation here is that the modder probably has some base recipe in mind that, given no dyes, would result in a neutral, uncolored node. This call creates all the recipes that would be needed to craft colored versions of that neutral node either using that base recipe with dye added, or by crafting the neutral node with some dye after the fact. | |||
2017-06-20 | remove a few redundant aliases | Vanessa Ezekowitz | |
2017-06-20 | add alternate recipe for dark orange | Vanessa Ezekowitz | |
2017-06-20 | clean-up of dark/medium orange and light/red | Vanessa Ezekowitz | |
(fixes #13) | |||
2017-06-04 | rotation fixes for compat with minetest 0.4.16 | Vanessa Ezekowitz | |
2017-05-18 | Merge pull request #9 from AntumDeluge/settings | Vanessa Ezekowitz | |
Replace deprecated 'setting_getbool' with 'settings:get_bool' | |||
2017-05-13 | Replace deprecated 'setting_getbool' with 'settings:get_bool' | AntumDeluge | |
2017-05-03 | Replace deprecated call to 'get_look_yaw' with 'get_look_horizontal' | AntumDeluge | |
2017-03-18 | allow shift-punching on a colorable node, to cancel auto-coloring | Vanessa Ezekowitz | |
also add a message in the chat when auto-color is activated, and with what. |