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;
|
-- some lists are offered in diffrent formspecs for selection;
|
||||||
-- this function will display the right quest step if possible
|
-- this function will display the right quest step if possible
|
||||||
-- res needs to be yl_speak_up.player_is_working_on_quest(player)
|
-- 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
|
if(not(player) or not(fields) or (fields and fields.back) or not(res)) then
|
||||||
return false
|
return false
|
||||||
end
|
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)
|
local res = yl_speak_up.player_is_working_on_quest(player)
|
||||||
|
|
||||||
-- show a particular quest step?
|
-- 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
|
return
|
||||||
end
|
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)
|
local res = yl_speak_up.player_is_working_on_quest(player)
|
||||||
if(yl_speak_up.speak_to[pname]
|
if(yl_speak_up.speak_to[pname]
|
||||||
and yl_speak_up.speak_to[pname].q_id
|
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
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user