renamed input_routing_show_a_quest_step function to handle_input_routing_show_a_quest_step

This commit is contained in:
Sokomine 2023-12-18 06:04:30 +01:00
parent f224222d7c
commit 8110442b2a
3 changed files with 3 additions and 3 deletions

View File

@ -109,7 +109,7 @@ end
-- some lists are offered in diffrent formspecs for selection;
-- this function will display the right quest step if possible
-- res needs to be yl_speak_up.player_is_working_on_quest(player)
yl_speak_up.input_routing_show_a_quest_step = function(player, formname, fields, back_field_name, res)
yl_speak_up.handle_input_routing_show_a_quest_step = function(player, formname, fields, back_field_name, res)
if(not(player) or not(fields) or (fields and fields.back) or not(res)) then
return false
end

View File

@ -85,7 +85,7 @@ yl_speak_up.input_fs_manage_quest_steps = function(player, formname, fields)
local res = yl_speak_up.player_is_working_on_quest(player)
-- show a particular quest step?
if(yl_speak_up.input_routing_show_a_quest_step(player, formname, fields, "back_from_error_msg", res)) then
if(yl_speak_up.handle_input_routing_show_a_quest_step(player, formname, fields, "back_from_error_msg", res)) then
return
end

View File

@ -61,7 +61,7 @@ yl_speak_up.input_fs_manage_quests = function(player, formname, fields)
local res = yl_speak_up.player_is_working_on_quest(player)
if(yl_speak_up.speak_to[pname]
and yl_speak_up.speak_to[pname].q_id
and yl_speak_up.input_routing_show_a_quest_step(player, formname, fields, "back", res)) then
and yl_speak_up.handle_input_routing_show_a_quest_step(player, formname, fields, "back", res)) then
return
end