Commit Graph

263 Commits

Author SHA1 Message Date
Sokomine
967e7c6eb4 created fs_edit_general.lua with common functions for preconditions and effects 2021-06-08 23:56:55 +02:00
Sokomine
8a3daab3c0 added quest_api.lua; added variable handling in fs_edit_preconditions.lua 2021-06-08 02:09:16 +02:00
Sokomine
ce7877bc2b make delete precondition work 2021-06-07 21:34:36 +02:00
Sokomine
b0f141b09d moved code from calculate_displayable_options to yl_speak_up.eval_precondition_function; added yl_speak_up.eval_all_preconditions; added yl_speak_up.eval_precondition 2021-06-07 19:54:46 +02:00
Sokomine
80c25fb9fa improved documentation of fs_edit_preconditions.lua 2021-06-07 04:43:04 +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
2bd1863e79 actually save the preconditions 2021-06-07 00:32:11 +02:00
Sokomine
a482f8664c find_next_id is no longer local 2021-06-06 23:30:03 +02:00
Sokomine
850343a30d process input into field elements of fs_edit_preconditions.lua 2021-06-06 20:49:47 +02:00
Sokomine
91788f8713 fixed crash 2021-06-06 00:20:51 +02:00
Sokomine
830b18c2aa create trades table soon enough 2021-06-06 00:19:25 +02:00
Sokomine
6588ef4cdb fix crash when deleting non-existant trade 2021-06-06 00:18:01 +02:00
Sokomine
24106d984b give back button priority in edit_preconditions.lua 2021-06-06 00:06:35 +02:00
Sokomine
9ad63d1591 added formspecs for precondition setup 2021-06-06 00:02:29 +02:00
Sokomine
841581d4fd added register_node_punch.lua 2021-06-05 22:54:48 +02:00
Sokomine
79a7184a7e made staff work again (was broken) 2021-06-04 20:48:13 +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
cfe6f83ad4 added function yl_speak_up.sort_keys 2021-06-03 18:07:03 +02:00
Sokomine
bd89ba9d56 introduced action to fs_edit_options_dialog.lua 2021-06-03 03:41:17 +02:00
Sokomine
5877cd11c6 some additional comments; in general chat_send_message has mostly been replaced by formspecs now 2021-06-03 01:16:23 +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
7e3911b949 show trades as (A)ction in edit mode 2021-06-02 23:41:11 +02:00
Sokomine
e52d219204 added yl_speak_up.inventory_allow_item for formspec error messages instead of chat messages 2021-06-02 23:18:20 +02:00
Sokomine
ba96bf6975 show formspec instead of chat message in case of wrong inventory placement of dammaged tools etc 2021-06-02 23:01:10 +02:00
Sokomine
a2e11f5fb6 added missing error message 2021-06-02 22:43:28 +02:00
Sokomine
062699b1da allow to change owner in fs_initial_config.lua 2021-06-02 22:35:43 +02:00
Sokomine
5409e1fa04 error messages as formspecs in fs_initial_config.lua 2021-06-02 22:08:49 +02:00
Sokomine
30db4209e2 moved relevant functions into fs_initial_config.lua 2021-06-02 21:43:11 +02:00
Sokomine
3769f05880 added comments where each formspec is handled (in which file) 2021-06-02 19:23:41 +02:00
Sokomine
5c9b633546 moved fs_edit_options_dialog.lua functions into extra file 2021-06-02 19:19:57 +02:00
Sokomine
b491ec46de moved general formspec functions to show_fs.lua 2021-06-02 19:10:58 +02:00
Sokomine
7b12a37efe fixed deleting tades associated with dialog options 2021-06-02 18:05:40 +02:00
Sokomine
e6f9dbac67 made trade dialog more consistant for dialog option trades in edit mode or normal mode 2021-06-02 16:57:33 +02:00
Sokomine
33c79b4af0 added button back to trade list for dialog option trades 2021-06-02 03:54:30 +02:00
Sokomine
d70c94f2d7 made link to add trades in inventory more clear 2021-06-02 02:57:50 +02:00
Sokomine
5381dfccbc show 'Sold out' for the right trade 2021-06-02 01:32:06 +02:00
Sokomine
a62b898020 allow to toggle between trades attached to dialog options and those in the trade list 2021-06-02 01:29:16 +02:00
Sokomine
ae5107b1ea added better hint as to where to add trades 2021-06-02 01:02:22 +02:00
Sokomine
26fb546bf7 count trades properly so that the right target dialog can be choosen 2021-06-02 01:00:34 +02:00
Sokomine
a8c9321672 catch some error conditions 2021-06-02 00:56:46 +02:00
Sokomine
786ca77c7f moved rest of minetest.show_formspec to yl_speak_up.show_fs 2021-05-31 22:34:01 +02:00
Sokomine
85bdf88ba9 moved optionsdialog to yl_speak_up.show_fs 2021-05-31 22:16:51 +02:00
Sokomine
a6a2b3f566 moved setdialog to yl_speak_up.show_fs 2021-05-31 22:09:42 +02:00
Sokomine
60d17124b6 moved edit_options_dialog to yl_speak_up.show_fs 2021-05-31 21:52:04 +02:00
Sokomine
cf145bb07d moved talk to yl_speak_up.show_fs 2021-05-31 21:41:09 +02:00
Sokomine
4c9c66e7c1 moved frashion to yl_speak_up.show_fs 2021-05-31 21:35:50 +02:00
Sokomine
4095be4e43 added yl_speak_up.show_fs to combine almost all formspecs 2021-05-31 21:15:42 +02:00