Commit Graph

22 Commits

Author SHA1 Message Date
Sokomine
ccfffc9568 fixed undeclared use of global vars 2022-04-12 03:48:08 +02:00
Sokomine
6cadbd9b65 trade_simple fs is shown in fs ver 1 again so that it fits 2022-04-12 01:57:53 +02:00
Sokomine
9aa7d4f8a6 allow to force a specific formspec version for some formspecs 2022-04-11 19:05:03 +02:00
Sokomine
5204c5c8ee deal with formspec_version lower than 3 and display formspec where possible 2022-01-16 21:49:52 +01:00
Sokomine
45616bb4ba auto-refuse unwanted items and let the player take them back 2022-01-02 06:12:50 +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
8a7d6e24b3 avoid infinite loop in automatic/autoselect mode; added yl_speak_up.max_allowed_recursion_depth config option 2021-12-31 17:41:12 +01:00
Sokomine
972a1e1e61 yl_speak_up.show_what_points_to_this_dialog is now handled by show_fs, and the back button works 2021-07-25 03:42:22 +02:00
Sokomine
577ea356aa actually apply alternate_text texts 2021-07-01 23:14:33 +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
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
Sokomine
661caaff4e removed yl_speak_up.save_changes_and_switch_to_other_dialog; handled now by show_fs.lua and the new fs_save_or_discard_or_back.lua 2021-06-27 04:33:14 +02:00
Sokomine
701f687415 variables can now be added, set and queried; time is rounded to seconds 2021-06-20 23:24:33 +02:00
Sokomine
c6a837d663 added example for custom action 2021-06-19 03:21:02 +02:00
Sokomine
822fb48da9 added basic formspecs for npc_wants/npc_gives 2021-06-19 00:50:41 +02:00
Sokomine
5d82cbc32d added fs_edit_actions.lua and necessary sourroundings 2021-06-12 21:17:58 +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
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
b491ec46de moved general formspec functions to show_fs.lua 2021-06-02 19:10:58 +02:00