#17 made buttons for owner colored diffrently

This commit is contained in:
Sokomine 2023-10-07 13:50:43 +02:00
parent 3c4f5bd3ea
commit 6f8dde7e61

View File

@ -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]")