diff --git a/init.lua b/init.lua index c024c29..d4d152d 100644 --- a/init.lua +++ b/init.lua @@ -158,10 +158,6 @@ yl_speak_up.reload = function(modpath, log_entry) -- the formspec and input handling for the main dialog dofile(modpath .. "api/api_talk.lua") dofile(modpath .. "fs/fs_talkdialog.lua") --- -- ask if the player wants to save, discard or go back in edit mode --- TODO dofile(modpath .. "fs/fs_save_or_discard_or_back.lua") - -- the player wants to change something regarding the dialog --- TODO dofile(modpath .. "edit_mode_apply_changes.lua") -- As the name says: a collection of custom functions that you can -- override on your server or in your game to suit your needs; @@ -172,9 +168,6 @@ yl_speak_up.reload = function(modpath, log_entry) -- file "local_server_do_on_reload.lua"! dofile(modpath .. "api/custom_functions_you_can_override.lua") --- -- assign a quest step to a dialog option/answer --- TODO dofile(modpath .. "fs/fs_assign_quest_step.lua") - -- execute preconditions, actions and effects dofile(modpath .. "exec_eval_preconditions.lua") dofile(modpath .. "exec_actions.lua") @@ -185,28 +178,9 @@ yl_speak_up.reload = function(modpath, log_entry) dofile(modpath .. "fs/fs_action_evaluate.lua") -- execute and apply effects: dofile(modpath .. "exec_apply_effects.lua") - -- some helper functions for formatting text for a formspec talbe --- TODO dofile(modpath .. "print_as_table.lua") --- -- create i.e. a dropdown list of player names --- TODO dofile(modpath .. "api/formspec_helpers.lua") --- -- handle alternate text for dialogs --- TODO dofile(modpath .. "api/api_alternate_text.lua") --- -- helpful for debugging the content of the created dialog structure --- TODO dofile(modpath .. "fs/fs_show_what_points_to_this_dialog.lua") - -- debugging - extended information about what (your own) NPC does dofile(modpath .. "npc_talk_debug.lua") -- execute lua code directly (preconditions and effects) - requires priv dofile(modpath .. "eval_and_execute_function.lua") --- -- common functions for editing preconditions and effects --- TODO dofile(modpath .. "api/fs_edit_general.lua") - -- edit preconditions (can be reached through edit options dialog) --- TODO dofile(modpath .. "fs/fs_edit_preconditions.lua") - -- edit actions (can be reached through edit options dialog) --- TODO dofile(modpath .. "fs/fs_edit_actions.lua") - -- edit effects (can be reached through edit options dialog) --- TODO dofile(modpath .. "fs/fs_edit_effects.lua") - -- edit options dialog (detailed configuration of options in edit mode) --- TODO dofile(modpath .. "fs/fs_edit_options_dialog.lua") -- provide the NPC with an initial (example) dialog and store name, descr and owner: dofile(modpath .. "initial_config.lua") -- set name, description and owner (owner only with npc_talk_master priv) @@ -228,39 +202,17 @@ yl_speak_up.reload = function(modpath, log_entry) dofile(modpath .. "fs/fs_trade_via_buy_button.lua") -- easily accessible list of all trades the NPC offers dofile(modpath .. "fs/fs_trade_list.lua") --- -- as the name says: list which npc acesses a variable how and in which context --- TODO dofile(modpath .. "fs/fs_get_list_of_usage_of_variable.lua") --- -- show which values are stored for which player in a quest variable --- TODO dofile(modpath .. "fs/fs_show_all_var_values.lua") --- -- manage quest variables: add, delete, manage access rights etc. --- TODO dofile(modpath .. "fs/fs_manage_variables.lua") -- handle variables for quests for player-owned NPC dofile(modpath .. "quest_api.lua") --- -- GUI for adding/editing quests --- TODO dofile(modpath .. "fs/fs_manage_quests.lua") --- -- GUI for adding/editing quest steps for the quests --- TODO dofile(modpath .. "api/api_quest_steps.lua") --- TODO dofile(modpath .. "fs/fs_manage_quest_steps.lua") --- -- used by the above --- TODO dofile(modpath .. "fs/fs_add_quest_steps.lua") -- setting skin, wielded item etc. dofile(modpath .. "api/api_fashion.lua") --- TODO dofile(modpath .. "fs/fs_fashion.lua") --- TODO dofile(modpath .. "fs/fs_fashion_extended.lua") -- properties for NPC without specific dialogs that want to make use of -- some generic dialogs dofile(modpath .. "api/api_properties.lua") --- TODO dofile(modpath .. "fs/fs_properties.lua") -- the main functionality of the mod dofile(modpath .. "functions.lua") -- implementation of the chat commands registered in register_once.lua: dofile(modpath .. "chat_commands.lua") --- -- creating and maintaining quests --- TODO dofile(modpath .. "fs/fs_quest_gui.lua") --- -- export dialog for cut&paste in .json format --- TODO dofile(modpath .. "fs/fs_export.lua") --- -- take notes regarding what the NPC is for --- TODO dofile(modpath .. "fs/fs_notes.lua") -- show a list of all NPC the player can edit dofile(modpath .. "api/api_npc_list.lua")