Commit Graph

80 Commits

Author SHA1 Message Date
Sokomine
bcc171dff2 allowed to refer to other options' preconditions as a new precondition 2021-07-12 00:22:49 +02:00
Sokomine
7a0c442508 added missing effects for variable states 2021-07-10 17:51:50 +02:00
Sokomine
bea29aed26 added show var usage (partially) 2021-07-08 23:33:27 +02:00
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
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
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
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
885c19831e allow to use $ in quest items 2021-06-27 18:54:54 +02:00
Sokomine
5edb0da5a7 translate item precondition to player_inv precondition when editing 2021-06-27 17:52:06 +02:00
Sokomine
46f5232d49 dialog effects cannot be deleted or edited anymore 2021-06-27 17:43:14 +02:00
Sokomine
c24cce74b1 allow to use item slot to describe stack for preconditions 2021-06-21 20:43:13 +02:00
Sokomine
711cbe69d5 handle enter key in fs_edit_general.lua 2021-06-21 19:38:25 +02:00
Sokomine
d71e5e1d10 made the back to edit dialog option button more comprehensible 2021-06-21 18:43:58 +02:00