Commit Graph

55 Commits

Author SHA1 Message Date
Sokomine
dd5ea7e38f added quest_step_reached 2023-08-06 03:30:33 +02:00
Sokomine
312531e8c1 show Q alongside C, A and Pr in edit menu 2023-08-06 02:31:13 +02:00
Sokomine
9e09712781 cleanup of privs; used yl_speak_up.npc_privs_priv instead of npc_master for npc priv maintenance; npc_master REMAINS necessary for executing lua code! 2023-07-24 12:24:35 +02:00
Sokomine
136abc2a23 fixed style bug in identation depth 2023-07-17 20:08:21 +02:00
Sokomine
3390b12611 added missing local for variable 2023-07-09 03:26:00 +02:00
Sokomine
56b832d9d1 show log on each dialog; allow to toggle between full and trade log 2023-02-24 13:42:07 +01:00
Sokomine
d2d7f30731 bugfix fs_talkdialog.lua:366: attempt to concatenate a nil value #18 2022-11-02 15:21:22 +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
aedf4b6200 options can now be moved up or down much easier 2022-10-26 14:01:25 +02:00
Sokomine
c3e048504f allow to close formspec when offering things to the npc via player_offers_item 2022-10-17 07:32:20 +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
df621c7435 added Delete button to fs_talkdialog in edit mode 2022-10-09 15:36:44 +02:00
Sokomine
b5fa3dd4c2 always show let's trade or show me your inventory 2022-09-26 04:58:30 +02:00
Sokomine
90dc2d34d5 added random option for dialogs 2022-09-23 23:10:53 +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
97c6741a4e fixed bug 2022-09-11 18:16:09 +02:00
Sokomine
19625b6d3a attempt to fix scrolling in formspec mode 2 and below 2022-09-11 03:33:59 +02:00
Sokomine
f514acd3bc added prefix [MOD] yl_speak_up to debug.txt entries 2022-09-10 00:50: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
5432064ae0 if an NPC supports follow/stand/wander is now a config option 2022-07-21 17:40:15 +02:00
Sokomine
4953f23737 moved edit options for main text into extra function in fs_talkdialog.lua 2022-07-18 21:39:42 +02:00
Sokomine
c92db604d2 moved edit buttonss into extra function in fs_talkdialog.lua 2022-07-18 20:06:43 +02:00
Sokomine
8a921180cd buttons/lines with options/answers are now handled by extra function in fs_talkdialog.lua 2022-07-18 19:50:15 +02:00
Sokomine
1d06c2a825 reformatted fs_talkdialog.lua 2022-07-18 19:19:21 +02:00
Sokomine
aec252c323 add buttons to make npc follow, stand or wander 2022-07-18 04:03:27 +02:00
Sokomine
4e4ae0da9e always show show-me-your-inventory to owner 2022-07-14 03:22:24 +02:00
Sokomine
80ce8d4892 implemented d_end 2022-07-11 19:48:50 +02:00
Sokomine
428b11afd6 removed formspec_escape where not needed 2022-05-30 20:40:38 +02:00
Sokomine
7d92433d7c adjusted style for msg windows in d_got_item 2022-05-09 20:17:12 +02:00
Sokomine
06cadd9f3e added is_a_start_dialog for adding buttons to some dialogs 2022-05-09 18:02:41 +02:00
Sokomine
5b0338fabc fixed sorting of options in dialogs according to o_sort 2022-04-25 19:08:12 +02:00
Sokomine
292c299b5c show the npc's start dialog instead of d_generic_start_dialog 2022-04-25 15:45:51 +02:00
Sokomine
5c95c6ae6d added general support for generic dialogs 2022-04-25 14:53:38 +02:00
Sokomine
f3573e746f added yl_speak_up.get_start_dialog_id and reload dialog when entering edit mode 2022-04-22 21:28:23 +02:00
Sokomine
d36ab58a8e improved scrolling (at least for formspec version 3) 2022-04-17 22:21:39 +02:00
Sokomine
ccfffc9568 fixed undeclared use of global vars 2022-04-12 03:48:08 +02:00
Sokomine
52d04e36e8 used fs_decorated in fs_talkdialog as well 2022-04-12 01:53:08 +02:00
Sokomine
d466436c34 created fs_decorated.lua and make trade_list.lua use it 2022-04-12 00:33:19 +02:00
Sokomine
058baca37b added npc_talk_style command 2022-04-10 20:43:41 +02:00
Sokomine
7143f81995 added further scroll up/scroll down buttons for formspec version 1 2022-01-16 21:50:14 +01:00
Sokomine
5204c5c8ee deal with formspec_version lower than 3 and display formspec where possible 2022-01-16 21:49:52 +01:00
Sokomine
68f5ac0d7c reset scroll counter when entering edit mode 2022-01-09 02:19:30 +01:00
Sokomine
1967eeef15 removed deprecated handling of older formspec versions (now handled in another part of the code) 2022-01-09 02:10:32 +01:00
Sokomine
5b49bfbccd made edit dialog work in formspec versions < 3 as far as possible 2022-01-09 02:04:10 +01:00
Sokomine
e950cdc1f0 diffrent handling for formspec versions 2 and 1 (2 is pretty ok; 1 is ugly and barely usable) 2022-01-09 00:05:50 +01:00
Sokomine
b455321528 preparations for using the same code for generating fs for diffrent versions 2022-01-08 22:53:47 +01:00
Sokomine
585492b2f7 removed duplicate declaration of formspec where the lines are the same for diffrent formspec versions 2022-01-08 20:32:10 +01:00
Sokomine
6e461b95a6 improved formatting of dropdown formspec entries in fs_talkdialog.lua 2022-01-08 19:14:13 +01:00
Sokomine
bcdd59e004 made action button in edit dialog work again 2022-01-08 19:03:32 +01:00