Commit Graph

442 Commits

Author SHA1 Message Date
Sokomine
52267f0b2b make npc_gives/npc_wants work again 2021-07-03 21:59:13 +02:00
Sokomine
5cf3e412c5 quest api variables are now properly saved and restored 2021-07-03 21:25:38 +02:00
Sokomine
522179cf28 check for missing item in player_inv/npc_inv 2021-07-02 21:25:41 +02:00
Sokomine
c44ee99fbc looks like much, but only extracted yl_speak_up.save_element_p_or_a_or_e from yl_speak_up.input_fs_edit_option_related and adjusted identation 2021-07-02 20:58:35 +02:00
Sokomine
b03ab2e6b5 added helper function yl_speak_up.handle_edit_actions_alternate_text 2021-07-02 19:36:50 +02:00
Sokomine
6e40dbc388 created yl_speak_up.delete_element_p_or_a_or_e 2021-07-02 18:58:37 +02:00
Sokomine
4d0e9ba116 completed get_fs_edit_option_related (works again after refactoring) 2021-07-02 17:48:54 +02:00
Sokomine
f4d348b1f1 completed get_fs_edit_option_action_text_input and get_fs_edit_option_all_custom 2021-07-02 17:45:21 +02:00
Sokomine
6775a3b567 completed get_fs_edit_option_action_npc_wants 2021-07-02 17:42:08 +02:00
Sokomine
c67e36abc7 completed get_fs_edit_option_action_npc_gives 2021-07-02 17:41:13 +02:00
Sokomine
d74ab72ca7 completed get_fs_edit_option_action_trade 2021-07-02 17:38:52 +02:00
Sokomine
26d05f3262 completed get_fs_edit_option_effect_chat_all 2021-07-02 17:36:36 +02:00
Sokomine
166499c753 completed get_fs_edit_option_effect_on_failure 2021-07-02 17:35:14 +02:00
Sokomine
bf0138cbc1 completed get_fs_edit_option_effect_craft 2021-07-02 17:33:04 +02:00
Sokomine
cc1c1854d6 completed get_fs_edit_option_p_and_e_function 2021-07-02 17:30:57 +02:00
Sokomine
a7ba7f8e85 completed get_fs_edit_option_effect_move 2021-07-02 17:29:25 +02:00
Sokomine
7f6453ce8c completed get_fs_edit_option_effect_give_item_or_take_item 2021-07-02 17:26:18 +02:00
Sokomine
b70f9bdafe completed get_fs_edit_option_precondition_inv 2021-07-02 17:17:33 +02:00
Sokomine
a4a292f7b2 completed get_fs_edit_option_precondition_trade 2021-07-02 17:14:34 +02:00
Sokomine
2fbb0384cb completed get_fs_edit_option_p_and_e_block 2021-07-02 17:08:51 +02:00
Sokomine
1d00232341 completed get_fs_edit_option_p_and_e_state 2021-07-02 17:00:36 +02:00
Sokomine
e693af302c looks more, but almost only identation in the new functions was corrected 2021-07-02 03:34:18 +02:00
Sokomine
506db0ea67 moved variable presets into individual functions 2021-07-02 03:24:45 +02:00
Sokomine
73ac297b98 proceeded with refactoring; functions are now functions again 2021-07-02 02:50:56 +02:00
Sokomine
f2bba9b270 removed surplus checks for empty data 2021-07-02 02:35:22 +02:00
Sokomine
0b9b7d6287 begin of refactoring of fs_edit_option_related into formspecs for types of preconditions, actions and effects 2021-07-02 02:33:33 +02:00
Sokomine
9d3a08e854 fixed bug with npc_gives and npc_wants not showing correct formspec after saving 2021-07-02 01:23:32 +02:00
Sokomine
b8615fd2ce fixed bugs with undeclared variables 2021-07-02 01:13:50 +02:00
Sokomine
1717ad442b added explanations to the alternate_text edit window 2021-07-01 23:42:43 +02:00
Sokomine
577ea356aa actually apply alternate_text texts 2021-07-01 23:14:33 +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
97384d7772 fixed display bug in effect on_failure 2021-06-30 23:30:22 +02:00
Sokomine
ea5bbb0e7a added yl_speak_up.show_colored_dialog_text for edit menus 2021-06-30 23:12:39 +02:00
Sokomine
edee560b56 better describe which precondition, action or effect is beeing edited 2021-06-30 04:23:55 +02:00
Sokomine
d7e06b662e colorize background for on_failure dialogs in edit general 2021-06-30 01:46:37 +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
86eaaae3ea allowed nil as return value for aborting actions 2021-06-29 04:51:39 +02:00
Sokomine
01af5d1365 added custrom_functions_you_can_override.lua 2021-06-29 00:44:00 +02:00
Sokomine
cef75205f5 added custom precondition and effect 2021-06-29 00:15:36 +02:00
Sokomine
3a66d6b4ce allowed to edit and create preconditions and effects of type function for players with npc_master priv 2021-06-28 23:35:45 +02:00
Sokomine
e199257fb6 added support for editing effect of type move 2021-06-28 23:05:23 +02:00
Sokomine
e47680fd7d added give_item and take_item (editable with npc_master) 2021-06-28 18:24:07 +02:00
Sokomine
71873b7a52 remove name in front of variables for the player's own variables 2021-06-28 02:14:56 +02:00
Sokomine
66477c494f fixed bug with variable name showing 2021-06-28 01:46:38 +02:00
Sokomine
703770794e added added save button to main dialog 2021-06-28 01:27:50 +02:00
Sokomine
4a4ffefb85 fixed bug with saving when quitting 2021-06-28 00:38:12 +02:00