Commit Graph

71 Commits

Author SHA1 Message Date
Sokomine
7905d9937f allow to name and rename dialogs 2024-03-09 19:25:51 +01:00
Sokomine
a8b92a754f options can now be marked as Done when having been visited once 2024-02-29 16:10:58 +01:00
Sokomine
189165dd22 count visits to options 2024-02-29 12:40:59 +01:00
Sokomine
6381ea59b9 count visits to dialogs 2024-02-29 12:18:23 +01:00
Sokomine
5c7ffe3739 added limited export to ink language 2024-02-23 03:23:46 +01:00
Sokomine
2329724ef2 do not count d_dynamic when counting amount of dialogs for initial setup or dialog deletion 2024-02-17 04:13:09 +01:00
Sokomine
d58789e703 only load detached npc inventories when they are really needed - either by the npc dialog or in edit_mode 2024-02-15 22:19:08 +01:00
Sokomine
691301019b created yl_speak_up.generate_next_dynamic_dialog_simple 2024-02-14 05:26:18 +01:00
Sokomine
774b076f3b first implementation of actual d_dynamic execution 2024-02-14 04:10:08 +01:00
Sokomine
eaf84cfd31 handle simple_dialogs export when no dialogs are available 2024-02-13 05:41:01 +01:00
Sokomine
d52aa2e5cb allowed export/import without editor/ 2024-02-13 03:04:57 +01:00
Sokomine
6de16720e0 added missing _wrapper postfix in fs_trade_limit 2024-02-12 12:35:21 +01:00
Sokomine
35fa4e9774 broke long formspec strings into table.concat lists 2024-02-12 12:33:58 +01:00
Sokomine
b93186d3c2 allow to edit name, description and owner even without editor installed 2024-02-12 02:10:46 +01:00
Sokomine
b04d37c963 made initial_config work better in edit_mode 2024-02-11 13:26:44 +01:00
Sokomine
e2722d7c60 created initial_config.lua so that overriding start dialogs becomes easier 2024-02-10 22:33:00 +01:00
Sokomine
f70bc72f85 prepared initial_config fs for working without api/formspec_helpers.lua 2024-02-10 22:03:52 +01:00
Sokomine
1748a3308b fixed typo in fs_trade_via_buy_button 2024-02-10 18:55:11 +01:00
Sokomine
dfc88b4895 fixed some typos in function names 2024-02-10 00:53:25 +01:00
Sokomine
b1f5a3ee9e adding missing postfix for _wrapper in show_log 2024-02-10 00:33:48 +01:00
Sokomine
cb0869f53c moved formspecs out of exec_actions.lua and into fs/fs_action_*.lua 2024-02-10 00:23:35 +01:00
Sokomine
4e5e3d9093 show_fs: initial_config 2024-02-09 23:35:23 +01:00
Sokomine
db2f401322 show_fs: talk 2024-02-09 21:59:41 +01:00
Sokomine
d7440369b5 show_fs: player_offers_item 2024-02-09 21:47:11 +01:00
Sokomine
77e6906f0e show_fs: trade_via_buy_button 2024-02-09 21:45:17 +01:00
Sokomine
9f44bb1961 show_fs: add/do_trade_simple 2024-02-09 21:43:48 +01:00
Sokomine
e27809d4d7 show_fs: npc_list 2024-02-09 21:31:30 +01:00
Sokomine
b2fb83d046 show_fs: trade_list 2024-02-09 21:29:24 +01:00
Sokomine
0490f8183c fixed get_fs_show_log wrapper parameter 2024-02-09 21:10:24 +01:00
Sokomine
d6338abeca show_fs: edit_trade_limit 2024-02-09 21:03:22 +01:00
Sokomine
82616c85b1 show_fs: trade_limit 2024-02-09 21:01:00 +01:00
Sokomine
2a8b621606 show_fs: show_log 2024-02-09 20:56:26 +01:00
Sokomine
7cbc610866 show_fs: inventory 2024-02-09 20:53:33 +01:00
Sokomine
1cc4f2e742 log add_trade_simple in npc_was_changed as an exception without having to resort to edit_mode directly 2024-02-09 06:20:18 +01:00
Sokomine
0f6962e0a8 split fs_add_trade_simple into editor/ and rest 2024-02-09 06:09:40 +01:00
Sokomine
d10b394204 adjusted fs_do_trade_simple so that it works with edit_mode beeing only in editor/ 2024-02-07 23:36:12 +01:00
Sokomine
21005455ab added some missing local variables in fs/fs_talkdialog.lua 2024-02-07 22:18:15 +01:00
Sokomine
8dbaaf21d5 moved etitor parts into edtior/ folder 2024-02-07 18:34:33 +01:00
Sokomine
abf063975e fixed exit button not working in initial config 2024-02-05 23:28:02 +01:00
Sokomine
630287d99a split up input function of fs/fs_talkdialog.lua 2024-02-05 06:37:00 +01:00
Sokomine
682cc3bccd finished get_fs_talkdialog split into normal and edit mode 2024-02-04 01:38:44 +01:00
Sokomine
89bd9ea546 renamed add_buttons function to get_fs_talkdialog_add_edit_and_command_buttons and placed commands like walk/follow/stand/inventory there 2024-02-02 21:19:43 +01:00
Sokomine
8b3fb10faf moved yl_speak_up.get_fs_talkdialog_add_edit_buttons to edit_mode.lua 2024-02-02 20:57:23 +01:00
Sokomine
4d2da67f9d turned yl_speak_up.get_fs_talkdialog_add_player_offers_item into extra function 2024-02-02 19:44:51 +01:00
Sokomine
3dab37dae7 moved yl_speak_up.get_fs_talkdialog_line_in_edit_mode to edit_mode.lua and shortened to get_fs_talkdialog_line 2024-02-02 19:27:16 +01:00
Sokomine
24a6edcd53 moved get_fs_talkdialog_main_text_in_edit_mode to edit_mode.lua and renamed to get_fs_talkdialog_main_text 2024-02-02 19:11:13 +01:00
Sokomine
4cfab4c1d8 created yl_speak_up.apply_autoanswer_and_random_and_d_got_item and adjusted yl_speak_up.calculate_displayable_options; created edit_mode.lua for overrides 2024-02-02 18:58:03 +01:00
Sokomine
79aae18038 added back item to error message when npc refuses an item 2024-02-02 18:25:29 +01:00
Sokomine
936cb08e71 added missing fs_inventory.lua file 2024-01-20 22:01:21 +01:00
Sokomine
964fce04e3 fixed bug in local function 2023-12-19 03:21:06 +01:00