Commit Graph

605 Commits

Author SHA1 Message Date
Sokomine
8f1773fbd7 added two more example dialogs to new npc in order to help new users 2022-10-08 22:48:33 +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
403911ef81 show text_input action in a readable way in formspec version 2 and 3 2022-10-01 23:17:04 +02:00
Sokomine
2b58aac1dc trade_inv now calls extra functions so that the code can be changed at runtime with npc_talk_reload, too 2022-10-01 22:43:35 +02:00
Sokomine
3104889208 taking the purchase in a trade_simple inside an action finished the action successfully 2022-10-01 22:25:57 +02:00
Sokomine
045f9b51f0 npc_gives no longer requires an explicit click on 'Done' 2022-10-01 21:04:43 +02:00
Sokomine
712f19656e fixed trade as an action (which shall work diffrently than trade from trade list) 2022-10-01 07:01:52 +02:00
Sokomine
35761ac779 properly store changed shield texture 2022-10-01 06:11:37 +02:00
Sokomine
48202642dd minor bugfix 2022-09-30 02:20:12 +02:00
Sokomine
dffd17a44b show more formspecs in the correct version 2022-09-27 23:51:43 +02:00
Sokomine
11e555e639 inventory preconditions work again 2022-09-27 23:48:11 +02:00
Sokomine
9ffabc17ce removed missing textures 2022-09-26 04:59:30 +02:00
Sokomine
b5fa3dd4c2 always show let's trade or show me your inventory 2022-09-26 04:58:30 +02:00
Sokomine
5bd0bf23f3 fixed bug in trade_simple 2022-09-26 02:40:53 +02:00
Sokomine
87a2ea1f2d added tutor savefile 2022-09-26 01:48:21 +02:00
Sokomine
474a7ad717 when a new option is added: let it point to the current dialog instead of a new one in order to prevent spamming 2022-09-25 20:46:44 +02:00
Sokomine
937fb8d38f fixed bug in more general property handling 2022-09-24 03:03:18 +02:00
Sokomine
2ade21640e did preparations for making blocks talk 2022-09-24 02:37:36 +02:00
Sokomine
3dfae53782 added hint how to do local adjustments 2022-09-23 23:27:06 +02:00
Sokomine
5dbf91800f explain how to use this mod in other NPC mods 2022-09-23 23:24:06 +02:00
Sokomine
90dc2d34d5 added random option for dialogs 2022-09-23 23:10:53 +02:00
Sokomine
7f60031ab1 do not add dialogs to d_end 2022-09-15 23:56:10 +02:00
Sokomine
608935277f hide autoanswer options if their preconditions are not fulfilled 2022-09-15 23:21:10 +02:00
Sokomine
5a4f137b65 display earlier in edit mode if an option is an automaticly selected one 2022-09-15 23:02:39 +02:00
Sokomine
ccf93a8fd3 added npc_talk_reload to README.md 2022-09-15 04:31:57 +02:00
Sokomine
61dfe5c267 moved register_once.lua further up 2022-09-14 23:05:19 +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
46ebb1d894 moved directory creation to a point after reading the config file so that that value can be changed on the fly as well 2022-09-14 22:47:30 +02:00
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