Commit Graph

487 Commits

Author SHA1 Message Date
Sokomine
4c577280ac added handling of property changes through custom functions 2022-07-17 19:08:43 +02:00
Sokomine
0d86db2088 fixed unregistered global 2022-07-14 20:01:52 +02:00
Sokomine
4e4ae0da9e always show show-me-your-inventory to owner 2022-07-14 03:22:24 +02:00
Sokomine
b251e27830 show head in formspec for npc with only one texture as well 2022-07-13 19:03:11 +02:00
Sokomine
6e35b01bd5 added yl_speak_up.enable_yl_mobs config option 2022-07-12 22:54:08 +02:00
Sokomine
dad8ebb81c adjusted preview/fashin for npc with diffrent models and textures 2022-07-12 21:07:21 +02:00
Sokomine
80ce8d4892 implemented d_end 2022-07-11 19:48:50 +02:00
Sokomine
952111c7fe properly check privs of generic npc when used by other npc 2022-07-09 22:15:51 +02:00
Sokomine
48c722c943 allowed precondition "property" for generic npc 2022-07-09 21:35:46 +02:00
Sokomine
9bbd3e943c added some selections for precondition 'evaluate' 2022-06-27 00:00:08 +02:00
Sokomine
58329d03a1 fixed typo in file name 2022-06-26 23:30:44 +02:00
Sokomine
722556b37f added yl_speak_up.custom_functions_p_ etc. 2022-06-25 00:56:45 +02:00
Sokomine
adb5c5573f added yl_speak_up.get_fs_operator_based_comparison for operator + value entry for preconditions and effects 2022-06-24 23:26:47 +02:00
Sokomine
98c63c83bd staff-based editing can now be enabled/disabled 2022-06-19 21:29:01 +02:00
Sokomine
6be2883b6a moved chat command npc_talk_privs into own file 2022-06-19 21:19:04 +02:00
Sokomine
74b024645b moved chat command npc_talk_style into own file 2022-06-19 21:15:35 +02:00
Sokomine
300d557a80 moved chat command npc_talk_generic into own file 2022-06-19 20:34:09 +02:00
Sokomine
187416396b implemented effect 'property' and prepared effect 'evaluate' 2022-06-19 19:32:30 +02:00
Sokomine
4612576cfc implemented precondition 'property' and prepared precondition 'evaluate' 2022-06-19 02:49:25 +02:00
Sokomine
8bfc59a9a2 moved chat command npc_talk_debug into extra file 2022-06-08 22:16:14 +02:00
Sokomine
428b11afd6 removed formspec_escape where not needed 2022-05-30 20:40:38 +02:00
Sokomine
299915708f added general handling of properties of npc 2022-05-29 22:02:02 +02:00
Sokomine
b9827d848c fixed back button 2022-05-29 19:30:04 +02:00
Sokomine
45142bc34a deal with nameless npc in fs_fashion.lua 2022-05-27 19:49:37 +02:00
Sokomine
1e6e7e96d8 merge d_got_item for generic dialogs with existing ones of current npc 2022-05-23 03:00:52 +02:00
Sokomine
7d92433d7c adjusted style for msg windows in d_got_item 2022-05-09 20:17:12 +02:00
Sokomine
978962412f allow to provide a specific formspec version manually 2022-05-09 20:16:19 +02:00
Sokomine
bb399d3381 made i want to give you something window nicer 2022-05-09 19:32:24 +02:00
Sokomine
0c099640ac fixed bug in adding/removing generic npc dialogs 2022-05-09 19:15:14 +02:00
Sokomine
06cadd9f3e added is_a_start_dialog for adding buttons to some dialogs 2022-05-09 18:02:41 +02:00
Sokomine
86c87b0c45 fixed bug in exec_apply_effects when taking items 2022-05-09 17:42:07 +02:00
Sokomine
4949afcd00 add text from generic dialogs to start dialogs as well 2022-05-07 14:17:10 +02:00
Sokomine
6cb44d54e0 added npc_talk_generic chatcommand 2022-05-06 19:14:49 +02:00
Sokomine
e803837259 added preconditions true and false 2022-05-06 17:29:28 +02:00
Sokomine
2435732db2 show msg formspecs in formspec version 1 2022-05-06 15:55:39 +02:00
Sokomine
47f9c83358 handled missing text in textual replacements 2022-05-06 15:06:01 +02:00
Sokomine
9fadc666ae make sure generic dialogs never get injected in edit mode 2022-05-05 13:49:52 +02:00
Sokomine
9260989bed minor bugfixes 2022-05-04 14:13:18 +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
f8138908bc check if the player is allowed to edit the npc before applying changes 2022-04-22 21:43:34 +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
795dce0c2b added hint for npc privs 2022-04-22 21:19:31 +02:00
Sokomine
d25420157c added some missing local declarations 2022-04-22 03:46:18 +02:00
Sokomine
3c7ece2f77 preparations for add_generic_dialogs 2022-04-22 03:45:52 +02:00
Sokomine
282ae84c81 npc privs have to match for the npc or for the generic npc who provides a functionality 2022-04-22 03:18:49 +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
d36ab58a8e improved scrolling (at least for formspec version 3) 2022-04-17 22:21:39 +02:00