Commit Graph

179 Commits

Author SHA1 Message Date
Sokomine
d58789e703 only load detached npc inventories when they are really needed - either by the npc dialog or in edit_mode 2024-02-15 22:19:08 +01:00
Sokomine
cc15431cb2 added yl_speak_up.npc_is_in_conversation / npc_is_in_conversation_with 2024-02-15 21:16:22 +01:00
Sokomine
e3e03ee990 preparations for d_dynamic dialog 2024-02-14 01:58:18 +01:00
Sokomine
04b67da670 added exception for npc_was_changed in functions.lua 2024-02-09 06:22:53 +01:00
Sokomine
763a7e27c5 moved edit_mode out of functions.lua 2024-02-07 22:53:11 +01:00
Sokomine
e33e1326fd moved edit_mode comment to editor/ 2024-02-07 20:30:50 +01:00
Sokomine
596d521345 moved '/npc_talk force_edit' into editor/ part 2024-02-07 20:28:25 +01:00
Sokomine
9b7e08f2b0 #3 made mute message less misleading 2023-11-14 02:29:43 +01:00
Sokomine
2d2afdfb26 added yl_speak_up.check_if_dialog_has_option for easier check if option is available 2023-10-01 20:18:51 +02:00
Sokomine
e2ecb7de4b prepared for /npc_talk list command 2023-07-21 01:10:46 +02:00
Sokomine
0417483fb3 determining owner of blocks acting as npc by using metadata 2023-07-17 20:10:58 +02:00
Sokomine
471776dde4 added yl_speak_up.initialize_npc for setting n_ID 2023-07-08 04:42:15 +02:00
Sokomine
7ac09d9057 added command /npc_talk_force_edit 2023-07-01 18:48:00 +02:00
Sokomine
70d81c2bd7 added animation setting to edit skin menu 2023-06-15 06:05:54 +02:00
Sokomine
204b3cfc93 log disambigous npc in error log 2023-01-27 21:54:57 +01:00
Sokomine
5fd501187d added special d_trade dialog; efects based on preconditions can now be executed before showing the trade_list 2022-10-28 13:30:19 +02:00
Sokomine
9e8cc183fa automaticly add back-button to new dialogs: Let's go back to the start of our talk. 2022-10-17 08:05:11 +02:00
Sokomine
e91dc93b11 better setup of d_got_item when adding a new option; changed text displayed in edit mode for d_got_item in order to provide more help 2022-10-17 06:55:45 +02:00
Sokomine
f2f8195285 fixed undeclared globals 2022-10-16 13:37:11 +02:00
Sokomine
d7f0abb841 stored input from text_input action in yl_speak_up.last_text_input[pname] and added function to examine that input as precondition of type evaluate 2022-10-15 18:50:39 +02:00
Sokomine
2460714a6b added yl_speak_up.strip_generic_dialogs 2022-10-15 17:35:23 +02:00
Sokomine
e85c08b0d5 add_new_option can add a fitting dialog result now upon creation 2022-10-08 22:37:58 +02:00
Sokomine
b2cddab50a allow to enter a dialog_text when adding a new dialog via function add_new_dialog 2022-10-08 22:16:32 +02:00
Sokomine
4cb12c2d2d yl_speak_up.add_new_option added 2022-10-08 21:57:05 +02:00
Sokomine
2ade21640e did preparations for making blocks talk 2022-09-24 02:37:36 +02:00
Sokomine
ffd98fc924 moved yl_speak_up.init_mob_table to a more appropriate place 2022-09-14 22:54:53 +02:00
Sokomine
d23335e6db moved all minetest.register_on_* calls into register_once.lua and removed obsolete *.lua files 2022-09-14 21:54:25 +02:00
Sokomine
6fe611a267 moved logging of mute/unmute to yl_speak_up.log_change 2022-09-09 23:39:12 +02:00
Sokomine
32a0613780 moved logging into fs_log.lua and logged in extra npc log files 2022-09-09 22:13:42 +02:00
Sokomine
60ae2585ae fixed bug in find_next_id 2022-09-09 20:22:56 +02:00
Sokomine
e7d82c1d52 prepare dialog.trades before actually starting to talk 2022-09-04 06:17:20 +02:00
Sokomine
5f98cecfaf bugfix - d_end exists as well and needs to be treated specially 2022-08-02 21:41:28 +02:00
Sokomine
6e35b01bd5 added yl_speak_up.enable_yl_mobs config option 2022-07-12 22:54:08 +02:00
Sokomine
9fadc666ae make sure generic dialogs never get injected in edit mode 2022-05-05 13:49:52 +02:00
Sokomine
3c7ece2f77 preparations for add_generic_dialogs 2022-04-22 03:45:52 +02:00
Sokomine
6442335931 use new player var reset function when endig edit mode 2022-04-19 19:58:21 +02:00
Sokomine
cda3f74508 properly reset fs_version for players on join/leave 2022-04-19 19:34:36 +02:00
Sokomine
b4a8ae893f #10 fix crash in access check 2022-04-12 03:17:43 +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
fc10be7d0e extracted interface_mobs_api.lua from functions.lua into a seperate file 2022-01-07 21:22:41 +01:00
Sokomine
bd2c8bc4cd extracted edit_mode_apply_changes.lua from functions.lua into a seperate file 2022-01-07 21:04:55 +01:00
Sokomine
2b402aaefb removed deprecated function say(..) 2022-01-07 20:53:53 +01:00
Sokomine
e8265679b4 extracted fs_talkdialog.lua from functions.lua into a seperate file 2022-01-07 20:52:34 +01:00
Sokomine
031fda8411 set useful preset for sort_by for d_got_item dialog 2022-01-05 23:54:25 +01:00
Sokomine
f00d7bb505 deal with missing sort_by parameter 2022-01-05 23:44:30 +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
788960ca0a added autoanswer/autoselect function (without loop detection) 2021-12-29 04:10:41 +01:00
Sokomine
0629d6ba2c added new tabs 'Limit guessing:' and 'Limit repeating:' to edit options menu 2021-08-04 04:15:45 +02:00