forked from your-land-mirror/yl_speak_up
adjusted parameters for modified yl_speak_up.create_dropdown_playerlist
This commit is contained in:
parent
4e23d10497
commit
f35387fcd0
@ -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
|
-- offer a dropdown list and a text input field for player names for adding
|
||||||
yl_speak_up.create_dropdown_playerlist(player, pname,
|
yl_speak_up.create_dropdown_playerlist(player, pname,
|
||||||
table_of_names, yl_speak_up.speak_to[pname].tmp_index,
|
table_of_names, yl_speak_up.speak_to[pname].tmp_index,
|
||||||
2.5, 3.9, "list_may_edit",
|
2.5, 3.9, "list_may_edit", "player",
|
||||||
"add_may_edit", "edit your NPC.\n"..
|
"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"..
|
"The player needs at least the npc_talk_owner priv\n"..
|
||||||
"in order to actually edit the NPC.",
|
"in order to actually edit the NPC.",
|
||||||
"delete_may_edit",
|
"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
|
-- save and exit buttons
|
||||||
"button_exit[3.2,5.2;2,0.9;save_initial_config;Save]"..
|
"button_exit[3.2,5.2;2,0.9;save_initial_config;Save]"..
|
||||||
|
Loading…
Reference in New Issue
Block a user