Commit Graph

575 Commits

Author SHA1 Message Date
Sokomine
b70bdc60b9 fixed missing global n_id in exec_actions.lua 2022-09-14 22:31:17 +02:00
Sokomine
ab9745ee01 added npc_talk_reload command 2022-09-14 22:18:09 +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
6e846b316d added hint regarding logging to README.md 2022-09-13 19:47:25 +02:00
Sokomine
be689ce739 moved read_skins_and_capes_from_folders to a yl_speak_up_addons mod for server specific stuff 2022-09-13 19:46:34 +02:00
Sokomine
7cbb394b60 fixed bug in display of editing trades 2022-09-11 22:04:10 +02:00
Sokomine
244377b2a9 fixed bug in action timers and added better debuging info 2022-09-11 21:55:02 +02:00
Sokomine
0b2c8ac5ce added color to logfile display for easier reading 2022-09-11 19:32:39 +02:00
Sokomine
258e990d7a make longer lines in logfile readable 2022-09-11 18:34:30 +02:00
Sokomine
97c6741a4e fixed bug 2022-09-11 18:16:09 +02:00
Sokomine
d5f628638f added larger scroll buttons for formspec versions 1 and 2 2022-09-11 05:17:58 +02:00
Sokomine
f825a95fd2 removed undeclared variable 2022-09-11 05:16:52 +02:00
Sokomine
7c5d28328c fixed trade list for older formspec versions 2022-09-11 04:20:56 +02:00
Sokomine
19625b6d3a attempt to fix scrolling in formspec mode 2 and below 2022-09-11 03:33:59 +02:00
Sokomine
db5a67b333 added showing of npc logfile via trade list 2022-09-11 00:07:18 +02:00
Sokomine
96a798ba5f allow to edit trade limits only when the NPC can be edited by that player 2022-09-10 22:03:59 +02:00
Sokomine
e7959477c9 allow to set trade limits only when the NPC can be edited by that player 2022-09-10 21:46:05 +02:00
Sokomine
8b9edead0e renamed fs_log.lua to fs_show_log.lua 2022-09-10 21:33:21 +02:00
Sokomine
c488f0f36e renamed trade_list.lua to fs_trade_list.lua 2022-09-10 20:14:32 +02:00
Sokomine
99c5d60dc2 show in trade list how much stock is available 2022-09-10 20:12:08 +02:00
Sokomine
da99bd3f95 corrected trade message when logging 2022-09-10 01:18:50 +02:00
Sokomine
dc80271803 got rid of further minetest.log and used own logging 2022-09-10 01:00:56 +02:00
Sokomine
f514acd3bc added prefix [MOD] yl_speak_up to debug.txt entries 2022-09-10 00:50:43 +02:00
Sokomine
940768de19 improved logging 2022-09-10 00:07:52 +02:00
Sokomine
6fe611a267 moved logging of mute/unmute to yl_speak_up.log_change 2022-09-09 23:39:12 +02:00
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
8aad949ee2 used yl_speak_up.log_change where appropriate 2022-09-09 22:56:52 +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
4067fd8f59 made delete button work for buy via button 2022-09-09 20:23:54 +02:00
Sokomine
60ae2585ae fixed bug in find_next_id 2022-09-09 20:22:56 +02:00
Sokomine
7adabf312d show stock in trade_via_buy_button 2022-09-09 06:30:07 +02:00
Sokomine
d5fe15a7c7 added trade interface via buy button 2022-09-08 23:30:25 +02:00
Sokomine
0d88093a45 fixed bug (called function in wrong mod) 2022-09-08 23:19:58 +02:00
Sokomine
1eb272ecb2 respect trade limits 2022-09-06 22:26:45 +02:00
Sokomine
3ddec81b1c added error messages when editing trade limits 2022-09-05 20:38:19 +02:00
Sokomine
a0f2f5b340 show correct item in trade limit list when returning from editing an entry 2022-09-05 07:27:29 +02:00
Sokomine
15197a8861 added delete button for trade limit 2022-09-05 07:18:11 +02:00
Sokomine
fe3b4c80df sort trade limit list by item name 2022-09-05 07:08:55 +02:00
Sokomine
0b26af1287 added limit handling to trade formspec 2022-09-05 07:00:55 +02:00
Sokomine
e7d82c1d52 prepare dialog.trades before actually starting to talk 2022-09-04 06:17:20 +02:00
Sokomine
1a7184420a fixed typo 2022-09-04 06:16:08 +02:00
Sokomine
e842960830 added yl_speak_up.get_one_npc_property; added yl_speak_up.get_npc_properties_long_version for easier access to properties 2022-09-04 06:12:41 +02:00
Sokomine
b9e6a8a74c allow to enter item name of price item instead of an example item 2022-08-28 23:47:25 +02:00
Sokomine
9358a27b03 fixed bug in trading where the npc could sell when out of stock 2022-08-16 05:53:14 +02:00
Sokomine
9c95aa2074 implemented trading via buy button in yl_speak_up.do_trade_direct (plus showing how many times traded) 2022-08-16 05:42:44 +02:00
Sokomine
b313f6fd98 added a button for buying directly in a trade 2022-08-16 05:06:43 +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
5da08359cb added update regarding custom actions to README.md 2022-08-07 22:06:26 +02:00
Sokomine
48e5af991c added code_input_handler for actions of type "evaluate" 2022-08-07 21:13:20 +02:00