diff --git a/functions.lua b/functions.lua index e5941fc..35bb3b3 100644 --- a/functions.lua +++ b/functions.lua @@ -2662,8 +2662,8 @@ minetest.register_on_player_receive_fields( -- create a new dialog f.d_id = yl_speak_up.text_new_dialog_id -- ...with this text - f.d_text = "Hi. I am "..tostring(fields.n_npc)..". I don't know much yet.\n".. - "Hopefully "..tostring(pname).." will teach me to talk soon." + f.d_text = "$GOOD_DAY$ $PLAYER_NAME$,\nI am $NPC_NAME$. I don't know much yet.\n".. + "Hopefully $OWNER_NAME$ will teach me to talk soon." -- it is the first, initial dialog f.d_sort = "0" f.n_npc = fields.n_npc