Commit Graph

124 Commits

Author SHA1 Message Date
Sokomine
f714fd426b moved execution of lua code from fs_edit_general.lua to eval_and_execute_function.lua 2022-09-09 23:29:16 +02:00
Sokomine
97275128d0 added yl_speak_up.log_error_with_position 2022-09-09 23:20:59 +02:00
Sokomine
b7d0f88790 properties starting with "server" can only be changed manually by players with the npc_master priv 2022-08-07 23:18:35 +02:00
Sokomine
4dfa9f2ed3 added new action type "evaluate" similar to preconditions and effects 2022-08-07 20:06:04 +02:00
Sokomine
1e828a1792 minor bugfixes 2022-07-28 03:38:31 +02:00
Sokomine
7deca89a5d finished implementation of effect "evaluate" 2022-07-27 03:32:26 +02:00
Sokomine
073b9d4284 edit and store preconditions of type "evaluate" 2022-07-26 23:43:06 +02:00
Sokomine
f00a7752d8 show the full name of the function description for evaluate preconditions/effects 2022-07-25 19:39:18 +02:00
Sokomine
0d86db2088 fixed unregistered global 2022-07-14 20:01:52 +02:00
Sokomine
9bbd3e943c added some selections for precondition 'evaluate' 2022-06-27 00:00:08 +02:00
Sokomine
722556b37f added yl_speak_up.custom_functions_p_ etc. 2022-06-25 00:56:45 +02:00
Sokomine
adb5c5573f added yl_speak_up.get_fs_operator_based_comparison for operator + value entry for preconditions and effects 2022-06-24 23:26:47 +02:00
Sokomine
187416396b implemented effect 'property' and prepared effect 'evaluate' 2022-06-19 19:32:30 +02:00
Sokomine
4612576cfc implemented precondition 'property' and prepared precondition 'evaluate' 2022-06-19 02:49:25 +02:00
Sokomine
8bfc59a9a2 moved chat command npc_talk_debug into extra file 2022-06-08 22:16:14 +02:00
Sokomine
e803837259 added preconditions true and false 2022-05-06 17:29:28 +02:00
Sokomine
8d65f22bea tell that the npc needs privs as well for some actions 2022-04-17 19:42:42 +02:00
Sokomine
04b89c2e5e added yl_speak_up.custom_server_functions.precondition_descriptions and *.precondition_eval 2022-01-17 03:07:45 +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
3c52cfeae6 implemented deal_with_offered_item effect (only editing, not effect yet) 2022-01-06 02:41:04 +01:00
Sokomine
2c8437f6a4 show precondition player_offered_item 2022-01-05 01:23:42 +01:00
Sokomine
5644ad0cb2 store amount and more/less/equal etc. for precondition player_offered_item 2022-01-05 01:01:23 +01:00
Sokomine
127263813e don't store no group selected for player_offered_item 2022-01-04 23:01:16 +01:00
Sokomine
42233f59a1 implemented saving of player_offered_item precondition 2022-01-04 04:52:24 +01:00
Sokomine
d4e7870c05 added formspec for precondition player_offered_item 2022-01-04 04:00:08 +01:00
Sokomine
e33f713f54 added yl_speak_up.fs_your_inventory_select_item to avoid repetition 2022-01-04 01:30:33 +01:00
Sokomine
6f127bd3b4 bugfix: clear tmp_data_cache properly 2022-01-04 01:24:42 +01:00
Sokomine
c774c542ea moved preivew/background images to less confusing palces 2022-01-02 20:01:24 +01:00
Sokomine
09521172ac fixed typo 2021-12-27 21:12:05 +01:00
Sokomine
f01744aa70 added put_into_block_inv and take_from_block_inv formspec and storing 2021-12-26 22:43:06 +01:00
Sokomine
aae92b7da3 added menu entries for put_into_block_inv, take_from_block_inv 2021-12-26 18:50:04 +01:00
Sokomine
a39d308ebc allow to store preconditions of type block_inv 2021-12-26 02:35:18 +01:00
Sokomine
ad063f2e0a fixed bug with data.what used before data 2021-09-03 21:29:37 +02:00
Sokomine
412ae94c1b moved from numeric inidices to better maintainable strings for data.what in fs_edit_general.lua for easier maitenance 2021-09-03 21:14:47 +02:00
Sokomine
d767c4854e moved function from quest_api.lua into fs_get_list_of_usage_of_variable.lua 2021-07-31 21:55:51 +02:00
Sokomine
4f524f7fc1 empty variables can now be deleted 2021-07-31 19:01:09 +02:00
Sokomine
6fe510026d completed turning dialog into alternate text 2021-07-25 21:55:14 +02:00
Sokomine
d48195cd6a put most handling of alternate dialog texts into fs_alternate_text.lua 2021-07-17 21:28:33 +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
58b5aa2cbb allow to show usage of internal variables again 2021-07-15 04:40:25 +02:00
Sokomine
cbaf8d4640 deleting unused variables is now possible 2021-07-15 04:23:06 +02:00
Sokomine
85a9a50d38 yl_speak_up.get_list_of_usage_of_variable is now sorted by the value the variable is set to 2021-07-15 02:07:17 +02:00
Sokomine
c2402ccaed show variable usage (nicely colored) 2021-07-12 17:52:34 +02:00
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