adjusted parameters for modified yl_speak_up.create_dropdown_playerlist

This commit is contained in:
Sokomine 2021-07-26 19:53:21 +02:00
parent 4e23d10497
commit f35387fcd0

View File

@ -254,12 +254,15 @@ yl_speak_up.get_fs_initial_config = function(player, n_id, d_id, is_initial_conf
-- offer a dropdown list and a text input field for player names for adding
yl_speak_up.create_dropdown_playerlist(player, pname,
table_of_names, yl_speak_up.speak_to[pname].tmp_index,
2.5, 3.9, "list_may_edit",
"add_may_edit", "edit your NPC.\n"..
2.5, 3.9, "list_may_edit", "player",
"add_may_edit",
"Enter the name of the player whom you\n"..
"want to grant the right to edit your NPC.\n"..
"The player needs at least the npc_talk_owner priv\n"..
"in order to actually edit the NPC.",
"delete_may_edit",
"edit your NPC."
"If you click here, the player will no\n"..
"longer be able to edit your NPC."
)..
-- save and exit buttons
"button_exit[3.2,5.2;2,0.9;save_initial_config;Save]"..