show_fs: show_what_points_to_this_dialog
This commit is contained in:
parent
928675a3c1
commit
f6bcb2e6c6
@ -246,3 +246,11 @@ yl_speak_up.show_what_points_to_this_dialog = function(player, this_dialog)
|
||||
end
|
||||
return table.concat(formspec, "\n")
|
||||
end
|
||||
|
||||
|
||||
yl_speak_up.register_fs("show_what_points_to_this_dialog",
|
||||
yl_speak_up.input_show_what_points_to_this_dialog,
|
||||
yl_speak_up.get_fs_show_what_points_to_this_dialog,
|
||||
-- no special formspec required:
|
||||
nil
|
||||
)
|
||||
|
@ -110,10 +110,6 @@ yl_speak_up.input_handler = function(player, formname, fields)
|
||||
elseif formname == "yl_speak_up:manage_quest_steps" then
|
||||
yl_speak_up.input_fs_manage_quest_steps(player, formname, fields)
|
||||
return true
|
||||
-- handled in fs_alternate_text.lua
|
||||
elseif formname == "yl_speak_up:show_what_points_to_this_dialog" then
|
||||
yl_speak_up.input_fs_show_what_points_to_this_dialog(player, formname, fields)
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
||||
@ -385,10 +381,6 @@ yl_speak_up.show_fs = function(player, fs_name, param)
|
||||
yl_speak_up.show_fs_ver(pname, "yl_speak_up:manage_quest_steps",
|
||||
yl_speak_up.get_fs_manage_quest_steps(player, param))
|
||||
|
||||
elseif(fs_name == "show_what_points_to_this_dialog") then
|
||||
yl_speak_up.show_fs_ver(pname, "yl_speak_up:show_what_points_to_this_dialog",
|
||||
yl_speak_up.show_what_points_to_this_dialog(player, param))
|
||||
|
||||
-- fallback in case of wrong call
|
||||
else
|
||||
minetest.chat_send_player(pname, "Error: Trying to show wrong "..
|
||||
|
Loading…
Reference in New Issue
Block a user