wsor4035
36c8bb5f5b
fix https://github.com/mt-mods/unifieddyes/issues/11#issuecomment-1469934442 - syntac formating for translation files(remove whitespace) - make wuzzy happy
2023-03-15 22:11:08 -07:00
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
OgelGames
2af4f1fb98
Revert "workaround for engine bug in crafting, placing, digging items with a palette index of 0"
...
This reverts commit eb5610fc10
.
2022-05-07 16:50:23 +10:00
unknown
c079888023
workaround patch for https://github.com/minetest-mods/i3/issues/68 closes https://github.com/mt-mods/unifieddyes/issues/7
2022-04-23 22:37:55 -04:00
wsor4035
ed895734f2
fix luacheck error
2022-04-15 17:58:13 -04:00
wsor4035
26994e39f2
fix https://github.com/mt-mods/unifieddyes/issues/6
2022-03-29 23:01:55 -04:00
wsor4035
41dd54d1be
Merge pull request #5 from mt-mods/luacheck
...
make game agnostic, add luacheck, add github actions
2022-02-24 11:19:01 -05:00
unknown
608c80662a
patch broken colors in airbrush and bump min to 5.3.0
2022-02-23 22:37:58 -05:00
unknown
934ac7180b
make it game agnostic
2022-02-22 22:15:16 -05:00
unknown
62526b9a3b
add luacheck
2022-02-22 22:07:53 -05:00
wsor4035
521b73d4ed
update api link
2022-02-22 21:44:39 -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
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