From 6f8dde7e6186bd2a8ccbc29ecd6a71f09d0685c3 Mon Sep 17 00:00:00 2001 From: Sokomine Date: Sat, 7 Oct 2023 13:50:43 +0200 Subject: [PATCH] #17 made buttons for owner colored diffrently --- fs_decorated.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fs_decorated.lua b/fs_decorated.lua index c7cd289..cae0619 100644 --- a/fs_decorated.lua +++ b/fs_decorated.lua @@ -265,6 +265,12 @@ yl_speak_up.show_fs_decorated = function(pname, edit_mode, h, if(fs_version > 2) then table.insert(formspec, "style_type[button;bgcolor=#a37e45]") table.insert(formspec, "style_type[button_exit;bgcolor=#a37e45]") -- Dialog + table.insert(formspec, "style[button_start_edit_mode,show_log,add_option,".. + "delete_this_empty_dialog,show_what_points_to_this_dialog,".. + "make_first_option,turn_into_a_start_dialog,mute_npc,".. + "un_mute_npc,button_end_edit_mode,show_inventory,order_follow,".. + "order_stand,order_wander,order_custom;".. + "bgcolor=#FF4444;textcolor=white]") -- table.insert(formspec, "background[-1,-1;22,25;yl_speak_up_bg_dialog2.png;false]") -- table.insert(formspec, "background[-1,23;58,10;yl_speak_up_bg_dialog2.png;false]") -- table.insert(formspec, "style_type[button;bgcolor=#a37e45]")