Commit Graph

742 Commits

Author SHA1 Message Date
Sokomine
359664b4ef improved README.md: added chapter local overrides for your server; added table of content; reformatted for markdown format 2023-01-28 23:02:34 +01:00
Sokomine
af250b2a77 added loading of local server files for overriding existing functionality 2023-01-28 22:32:33 +01:00
Sokomine
204b3cfc93 log disambigous npc in error log 2023-01-27 21:54:57 +01:00
Sokomine
d6a439b666 set nametag color in config.lua 2023-01-25 21:14:53 +01:00
Sokomine
5445e20160 added enough room for messages in formspec_helpers.lua 2022-11-20 22:06:34 +01:00
Sokomine
1ad3bc4498 fixed bug with missing yl_speak_up.load_quest prefix 2022-11-14 21:03:58 +01:00
Sokomine
c4c14d36c8 create the path for the quest file savefiles 2022-11-14 21:03:18 +01:00
Sokomine
1ad1da470f added buttons to connect manage variables and manage quests 2022-11-14 19:13:27 +01:00
Sokomine
8b24e9b52f added basic quest management formspec 2022-11-14 18:18:33 +01:00
Sokomine
3f458bf448 created yl_speak_up.input_fs_manage_general and used for variable management input 2022-11-14 00:06:40 +01:00
Sokomine
f982b44c97 created function yl_speak_up.get_fs_manage_general for scrolling through variables, quest and quest steps (in the future) 2022-11-13 21:58:11 +01:00
Sokomine
71f9e5e540 preprarations for creating quests 2022-11-12 21:07:56 +01:00
Sokomine
664726897c fixed bug #19 (text was nil) 2022-11-12 17:37:13 +01:00
Sokomine
c9cc112169 fixed bug in storing new variable values; also checking success of variable changes now 2022-11-06 12:20:55 +01:00
Sokomine
4df6a56bf8 added quest_gui as custom action 2022-11-02 16:45:13 +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
80657b59ee allow to scroll through the variables in manage_variables with prev/next 2022-10-30 01:14:28 +02:00
Sokomine
c70f61bc38 made formspec for manage variables look good again 2022-10-29 22:13:07 +02: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
4b34c46453 removed unregistered global 2022-10-26 16:33:41 +02:00
Sokomine
aedf4b6200 options can now be moved up or down much easier 2022-10-26 14:01:25 +02:00
Sokomine
ab0e9faf14 in custom functions that use variables: set the right prefix 2022-10-23 21:00:58 +02:00
Sokomine
b7c2354cd9 put yl_speak_up.get_list_of_effects_and_target_dialog_and_effect into extra function so that it can be used in fs_edit_trade_limit.lua as well 2022-10-17 19:05:58 +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
c5587f55c7 let yl_speak_up.show_fs_simple_deco look better for smaller height 2022-10-17 07:41:19 +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
d5ad680999 effect deal_with_offered_item now properly returns true if true 2022-10-17 07:21:43 +02:00
Sokomine
05948116a0 let new options point back to their dialog again 2022-10-17 07:01:08 +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
e7e097ea20 inform other mods when npc_talk_reload is issued 2022-10-15 18:08:47 +02:00
Sokomine
2460714a6b added yl_speak_up.strip_generic_dialogs 2022-10-15 17:35:23 +02:00
Sokomine
df621c7435 added Delete button to fs_talkdialog in edit mode 2022-10-09 15:36:44 +02:00
Sokomine
ca0a699a3e log execution of effects 2022-10-09 00:44:42 +02:00
Sokomine
dbc7f4a12c improved logging of actions 2022-10-08 23:48:20 +02:00
Sokomine
6befa8f10a added logging for failed and successful actions 2022-10-08 23:34:43 +02:00
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