mirror of
https://gitea.your-land.de/Sokomine/yl_speak_up.git
synced 2025-06-17 22:28:06 +02:00
renamed input_routing_show_a_quest_step function to handle_input_routing_show_a_quest_step
This commit is contained in:
parent
f224222d7c
commit
8110442b2a
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user