Commit Graph

454 Commits

Author SHA1 Message Date
Sokomine
c5aca7d9a8 actually print the debug output for variable changes 2021-08-03 19:18:42 +02:00
Sokomine
7117131207 allow to activate and deactivate debug mode for variables 2021-08-03 18:11:35 +02:00
Sokomine
eb7d1701a1 allow to set prefix and color for chat_all message 2021-08-01 20:31:05 +02:00
Sokomine
420452e4ff added fs_show_all_var_values.lua 2021-08-01 19:15:45 +02:00
Sokomine
18b8529b3b made yl_speak_up.print_as_table_prepare_formspec more flexible 2021-08-01 19:10:57 +02:00
Sokomine
d767c4854e moved function from quest_api.lua into fs_get_list_of_usage_of_variable.lua 2021-07-31 21:55:51 +02:00
Sokomine
23da9c8a27 moved some functions from quest_api.lua into fs_manage_variables.lua 2021-07-31 21:46:12 +02:00
Sokomine
742ec53a6b added var_type for storing the type of the variable (not yet used) 2021-07-31 21:33:44 +02:00
Sokomine
9856842074 added yl_speak_up.set_variable_metadata for cleaner setting of metadata 2021-07-31 20:53:53 +02:00
Sokomine
372a37f8e6 added yl_speak_up.get_variable_metadata for cleaner access to metadata 2021-07-31 20:36:47 +02:00
Sokomine
4f524f7fc1 empty variables can now be deleted 2021-07-31 19:01:09 +02:00
Sokomine
144eb53719 delete npc from used_by_npc if they no longer use a particular variable 2021-07-29 22:00:21 +02:00
Sokomine
f0d7bbf6c4 show npc id in initial config 2021-07-29 21:28:32 +02:00
Sokomine
e1072f1c72 show which npc and node_pos(itions) use a variable; fixed bug in manage_variables formspec 2021-07-29 21:17:13 +02:00
Sokomine
c8345cee4d added vars with access rights to lists of available vars 2021-07-29 19:56:47 +02:00
Sokomine
30d14ed999 add or revoke read or write access to a variable - formspec interface part 2021-07-29 19:43:48 +02:00
Sokomine
8367a60c0f make sure items are given back when setting wielded items via inventory slots 2021-07-27 19:28:45 +02:00
Sokomine
ea276c04d8 allow to set up the npc again 2021-07-27 01:58:44 +02:00
Sokomine
e96365a483 fixed typo in function name 2021-07-27 00:35:46 +02:00
Sokomine
8e3ba06a7e manage_variables formspec has all elements now but still lacks implementation of most functions 2021-07-26 22:53:44 +02:00
Sokomine
c19e478728 allow to select variables in manage_variables 2021-07-26 22:08:45 +02:00
Sokomine
24fd2b0df5 added a stretch parameter to make the formspec fields in the dropdown menu larger 2021-07-26 21:23:21 +02:00
Sokomine
f35387fcd0 adjusted parameters for modified yl_speak_up.create_dropdown_playerlist 2021-07-26 19:53:21 +02:00
Sokomine
4e23d10497 made yl_speak_up.create_dropdown_playerlist more flexible 2021-07-26 19:52:51 +02:00
Sokomine
ab87304ed2 npc_talk_owner priv is still required even for players added to the list of allowed editors 2021-07-26 19:41:35 +02:00
Sokomine
430cbd65bb players can now add others that may edit their npc with just npc_talk_owner priv 2021-07-26 19:39:31 +02:00
Sokomine
3e019907da added yl_speak_up.create_dropdown_playerlist in new file formspec_helpers.lua 2021-07-26 19:37:21 +02:00
Sokomine
2ecab8554e player names are tabu as NPC names 2021-07-26 01:40:20 +02:00
Sokomine
48482ce23f wielded items can now be set using inventory slots 2021-07-26 01:25:29 +02:00
Sokomine
952ed84733 moved skin functions etc. into fs_fashion.lua 2021-07-25 23:47:45 +02:00
Sokomine
0241d649ff added comment to staff based editing 2021-07-25 23:28:17 +02:00
Sokomine
4eac20c045 moved staff based editing functions into extra file 2021-07-25 23:27:18 +02:00
Sokomine
6fe510026d completed turning dialog into alternate text 2021-07-25 21:55:14 +02:00
Sokomine
784ac2af71 some more progress on turning dialogs in alternate texts 2021-07-25 04:30:29 +02:00
Sokomine
972a1e1e61 yl_speak_up.show_what_points_to_this_dialog is now handled by show_fs, and the back button works 2021-07-25 03:42:22 +02:00
Sokomine
fc06ddc8ba moved some helper functions from quest_api.lua to print_as_table.lua 2021-07-25 02:12:35 +02:00
Sokomine
c324f5a8d9 added yl_speak_up.print_as_table_* functions for two functions: show usage of a variable and show what points to this dialog 2021-07-25 02:07:52 +02:00
Sokomine
2eecc18bda fixed crash 2021-07-18 01:49:05 +02:00
Sokomine
45335caeda show what points to a dialog 2021-07-18 01:24:55 +02:00
Sokomine
d48195cd6a put most handling of alternate dialog texts into fs_alternate_text.lua 2021-07-17 21:28:33 +02:00
Sokomine
53fd0d1827 allow to turn alternate text into a new dialog 2021-07-17 16:23:06 +02:00
Sokomine
a4b6bc1d02 explained alternate texts 2021-07-17 15:04:50 +02:00
Sokomine
fb2217d8cc handled alternate texts centralized in yl_speak_up.input_edit_option_dialog 2021-07-16 22:15:53 +02:00
Sokomine
58b5aa2cbb allow to show usage of internal variables again 2021-07-15 04:40:25 +02:00
Sokomine
cbaf8d4640 deleting unused variables is now possible 2021-07-15 04:23:06 +02:00
Sokomine
681b9568a9 improve the show variable usage formspec 2021-07-15 02:52:45 +02:00
Sokomine
ceaff334e3 show statistics about how often a variable is used in the show usage formspec 2021-07-15 02:28:32 +02:00
Sokomine
85a9a50d38 yl_speak_up.get_list_of_usage_of_variable is now sorted by the value the variable is set to 2021-07-15 02:07:17 +02:00
Sokomine
c2402ccaed show variable usage (nicely colored) 2021-07-12 17:52:34 +02:00
Sokomine
82e4d37436 removed debug message 2021-07-12 00:35:33 +02:00