Commit Graph

46 Commits

Author SHA1 Message Date
Sokomine
a334a2b989 added way to assign quest steps to dialog options 2023-08-05 21:29:46 +02:00
Sokomine
5fd501187d added special d_trade dialog; efects based on preconditions can now be executed before showing the trade_list 2022-10-28 13:30:19 +02:00
Sokomine
b7c2354cd9 put yl_speak_up.get_list_of_effects_and_target_dialog_and_effect into extra function so that it can be used in fs_edit_trade_limit.lua as well 2022-10-17 19:05:58 +02:00
Sokomine
90dc2d34d5 added random option for dialogs 2022-09-23 23:10:53 +02:00
Sokomine
7f60031ab1 do not add dialogs to d_end 2022-09-15 23:56:10 +02:00
Sokomine
608935277f hide autoanswer options if their preconditions are not fulfilled 2022-09-15 23:21:10 +02:00
Sokomine
6b3e4f8fd8 catch bug when an added option is discarded 2022-07-25 18:40:14 +02:00
Sokomine
80ce8d4892 implemented d_end 2022-07-11 19:48:50 +02:00
Sokomine
9260989bed minor bugfixes 2022-05-04 14:13:18 +02:00
Sokomine
a1b92b7dca #11 fix crash regarding missing n_dialog 2022-04-13 23:09:34 +02:00
Sokomine
28106daa7b fixed crash attempt to index field 'd_options' #13 v2 2022-01-18 22:48:37 +01:00
Sokomine
212809d380 fixed crash attempt to index field 'd_options' #13 2022-01-18 22:40:58 +01:00
Sokomine
5204c5c8ee deal with formspec_version lower than 3 and display formspec where possible 2022-01-16 21:49:52 +01:00
Sokomine
a1cae79266 added d_got_item dialog for accepting items given from player to npc 2022-01-01 21:47:11 +01:00
Sokomine
788960ca0a added autoanswer/autoselect function (without loop detection) 2021-12-29 04:10:41 +01:00
Sokomine
632d7d6895 make editing alternate_text for timer/limitation failure possible 2021-08-05 20:32:38 +02:00
Sokomine
0629d6ba2c added new tabs 'Limit guessing:' and 'Limit repeating:' to edit options menu 2021-08-04 04:15:45 +02:00
Sokomine
53fd0d1827 allow to turn alternate text into a new dialog 2021-07-17 16:23:06 +02:00
Sokomine
fb2217d8cc handled alternate texts centralized in yl_speak_up.input_edit_option_dialog 2021-07-16 22:15:53 +02:00
Sokomine
5cf3e412c5 quest api variables are now properly saved and restored 2021-07-03 21:25:38 +02:00
Sokomine
1717ad442b added explanations to the alternate_text edit window 2021-07-01 23:42:43 +02:00
Sokomine
3d4141e786 allow to edit and store alternate texts for dialogs when comming from a particular option/failed effect 2021-07-01 22:33:19 +02:00
Sokomine
ff2ba081a9 added edit button to colored dialog text 2021-07-01 17:24:24 +02:00
Sokomine
2071a45f3d made use of tabheader and container as formspec elements 2021-07-01 05:24:25 +02:00
Sokomine
17544df2a1 added new function yl_speak_up.prepare_new_dialog_for_option so that the dialog result/effect is present when first editing a new dialog 2021-07-01 03:24:52 +02:00
Sokomine
ea5bbb0e7a added yl_speak_up.show_colored_dialog_text for edit menus 2021-06-30 23:12:39 +02:00
Sokomine
a43cef9290 allow to toggle between successful and unsuccessful action in edit options menu 2021-06-29 23:21:48 +02:00
Sokomine
61bd16f3f2 made edit option menu slightly nicer 2021-06-29 20:26:25 +02:00
Sokomine
cb49d9cfe2 better handling of esc in edit options dialog 2021-06-25 19:28:53 +02:00
Sokomine
d3a9d20d43 edit options dialog now stores o_id instead of passing it on as a hidden parameter 2021-06-25 19:23:35 +02:00
Sokomine
e4a7bdc233 added save button to edit options dialog (not yet functional) 2021-06-25 19:12:58 +02:00
Sokomine
d71e5e1d10 made the back to edit dialog option button more comprehensible 2021-06-21 18:43:58 +02:00
Sokomine
30420a6b42 trade is now an action; removed from edit options dialog 2021-06-19 03:22:47 +02:00
Sokomine
2290f9d463 removed obsolete code 2021-06-16 03:08:55 +02:00
Sokomine
7fe9f18791 removed obsolete code 2021-06-16 01:43:47 +02:00
Sokomine
ed333192cb implemented storing action npc_gives 2021-06-14 23:44:28 +02:00
Sokomine
5d82cbc32d added fs_edit_actions.lua and necessary sourroundings 2021-06-12 21:17:58 +02:00
Sokomine
fab84ca4a0 added get list of writable variables, some documentation and yl_speak_up.show_effect to fs_edit_effects.lua 2021-06-09 00:43:37 +02:00
Sokomine
ba31a932ad added tooltips for precondition and effect list 2021-06-07 04:28:15 +02:00
Sokomine
0bea918686 limited number of preconditions and options per dialog 2021-06-07 04:19:10 +02:00
Sokomine
8157512e6b human readable texts for the preconditions 2021-06-07 04:00:06 +02:00
Sokomine
d916178ca0 added fs_edit_preconditions.lua and fs_edit_effects.lua 2021-06-03 21:12:58 +02:00
Sokomine
a0f338c965 prepared adding of precondition and effect edit 2021-06-03 18:08:05 +02:00
Sokomine
bd89ba9d56 introduced action to fs_edit_options_dialog.lua 2021-06-03 03:41:17 +02:00
Sokomine
f199a9d04c don't show add button in edit options menu if already max number of options 2021-06-03 01:08:21 +02:00
Sokomine
5c9b633546 moved fs_edit_options_dialog.lua functions into extra file 2021-06-02 19:19:57 +02:00