forked from your-land-mirror/yl_speak_up
moved formspec_helpers.lua into api folder
This commit is contained in:
parent
eb6cf0f031
commit
f224222d7c
@ -37,3 +37,7 @@ because in those cases it was better for readability and context to have them
|
||||
in their respective `fs/fs_edit_<precondition|action|effect>.lua` files.
|
||||
These functions are called in debug mode when excecuting the preconditions,
|
||||
actions and effects as well.
|
||||
|
||||
Another exception is `exec_actions.lua` as the respective `get_fs_*` and
|
||||
`input_*` functions there are only called when an action is executed and not
|
||||
via `show_fs.lua` at all.
|
||||
|
||||
2
init.lua
2
init.lua
@ -181,7 +181,7 @@ yl_speak_up.reload = function(modpath, log_entry)
|
||||
-- some helper functions for formatting text for a formspec talbe
|
||||
dofile(modpath .. "print_as_table.lua")
|
||||
-- create i.e. a dropdown list of player names
|
||||
dofile(modpath .. "formspec_helpers.lua")
|
||||
dofile(modpath .. "api/formspec_helpers.lua")
|
||||
-- handle alternate text for dialogs
|
||||
dofile(modpath .. "api/api_alternate_text.lua")
|
||||
-- helpful for debugging the content of the created dialog structure
|
||||
|
||||
Loading…
Reference in New Issue
Block a user