diff --git a/fs_talkdialog.lua b/fs_talkdialog.lua index 9028ee1..62da4d3 100644 --- a/fs_talkdialog.lua +++ b/fs_talkdialog.lua @@ -648,12 +648,14 @@ yl_speak_up.get_fs_talkdialog_line_in_edit_mode = function( if(sb_v.o_autoanswer) then table.insert(formspec, "label["..tostring(10.5+offset+0.2)..","..tostring(h+0.5)..";".. - minetest.formspec_escape("[Automaticly selected if preconditions are met]").. + minetest.formspec_escape("[Automaticly selected if preconditions are met] ".. + tostring(sb_v.o_text_when_prerequisites_met)).. "]") elseif(active_dialog.o_random) then table.insert(formspec, "label["..tostring(10.5+offset+0.2)..","..tostring(h+0.5)..";".. - minetest.formspec_escape("[One of these options is randomly selected]").. + minetest.formspec_escape("[One of these options is randomly selected] ".. + tostring(sb_v.o_text_when_prerequisites_met)).. "]") else -- show the actual text for the option