diff options
author | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2018-08-27 19:52:15 -0400 |
---|---|---|
committer | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2018-08-27 19:52:15 -0400 |
commit | 5b1051f8ae7de0c4657d872ab57140ab7aca0552 (patch) | |
tree | cc0a75d4fc9db6d5735e677580fe06aed2fcaaa7 | |
parent | 62806f795e55a1ecaa00c7aee730c95c463b3aa6 (diff) | |
download | unifieddyes-5b1051f8ae7de0c4657d872ab57140ab7aca0552.tar unifieddyes-5b1051f8ae7de0c4657d872ab57140ab7aca0552.tar.gz unifieddyes-5b1051f8ae7de0c4657d872ab57140ab7aca0552.tar.bz2 unifieddyes-5b1051f8ae7de0c4657d872ab57140ab7aca0552.tar.xz unifieddyes-5b1051f8ae7de0c4657d872ab57140ab7aca0552.zip |
show the "your selection" legend in creative mode
(since it now shows the selected color instead of an empty box)
-rw-r--r-- | init.lua | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -984,11 +984,12 @@ function unifieddyes.show_airbrush_form(player) base_form = base_form.. "image[10.3,"..(vps*5+vs)..";"..size.. "unifieddyes_available_overlay.png]".. - "label[11.0,"..(vps*5.1+vs)..";Dyes on hand]".. + "label[11.0,"..(vps*5.1+vs)..";Dyes on hand]" + end + base_form = base_form.. "image[12.5,"..(vps*5+vs)..";"..size.. selindic.. "label[13.2,"..(vps*5.1+vs)..";Your selection]" - end base_form = base_form.. "button_exit[11,8;2,1;cancel;Cancel]".. @@ -1045,7 +1046,6 @@ minetest.register_craft( { }) minetest.register_on_player_receive_fields(function(player, formname, fields) - print(dump(fields)) if formname == "unifieddyes:dye_select_form" then local player_name = player:get_player_name() if fields.quit then |