Commit Graph

29 Commits

Author SHA1 Message Date
Sokomine
82e4d37436 removed debug message 2021-07-12 00:35:33 +02:00
Sokomine
bcc171dff2 allowed to refer to other options' preconditions as a new precondition 2021-07-12 00:22:49 +02:00
Sokomine
586a18073e added preconditions quest_step_done and quest_step_not_done 2021-07-11 18:31:58 +02:00
Sokomine
8ea4123e01 fixed bug in variable comparison 2021-07-04 22:49:13 +02:00
Sokomine
5cf3e412c5 quest api variables are now properly saved and restored 2021-07-03 21:25:38 +02:00
Sokomine
01af5d1365 added custrom_functions_you_can_override.lua 2021-06-29 00:44:00 +02:00
Sokomine
cef75205f5 added custom precondition and effect 2021-06-29 00:15:36 +02:00
Sokomine
3a66d6b4ce allowed to edit and create preconditions and effects of type function for players with npc_master priv 2021-06-28 23:35:45 +02:00
Sokomine
fe683adefb removed undeclared global 2021-06-21 17:51:00 +02:00
Sokomine
a1af19ca46 fixed bugs regarding variable selection in preconditions and effects 2021-06-21 01:21:50 +02:00
Sokomine
701f687415 variables can now be added, set and queried; time is rounded to seconds 2021-06-20 23:24:33 +02:00
Sokomine
827020d167 variable handling related to current time 2021-06-20 17:28:21 +02:00
Sokomine
a44cb0fbdd allow actual editing of most preconditions, actions and effects 2021-06-19 23:42:05 +02:00
Sokomine
62cfd61e8a took care of undeclared globals 2021-06-12 17:36:15 +02:00
Sokomine
773be49a4e added yl_speak_up.debug_msg plus chat command /npc_talk_debug 2021-06-10 22:49:24 +02:00
Sokomine
312b9a49df renamed eval_precondition_function to eval_and_execute_function, moved to fs_edit_general.lua and used for results as well 2021-06-10 18:06:21 +02:00
Sokomine
fab84ca4a0 added get list of writable variables, some documentation and yl_speak_up.show_effect to fs_edit_effects.lua 2021-06-09 00:43:37 +02:00
Sokomine
967e7c6eb4 created fs_edit_general.lua with common functions for preconditions and effects 2021-06-08 23:56:55 +02:00
Sokomine
8a3daab3c0 added quest_api.lua; added variable handling in fs_edit_preconditions.lua 2021-06-08 02:09:16 +02:00
Sokomine
ce7877bc2b make delete precondition work 2021-06-07 21:34:36 +02:00
Sokomine
b0f141b09d moved code from calculate_displayable_options to yl_speak_up.eval_precondition_function; added yl_speak_up.eval_all_preconditions; added yl_speak_up.eval_precondition 2021-06-07 19:54:46 +02:00
Sokomine
80c25fb9fa improved documentation of fs_edit_preconditions.lua 2021-06-07 04:43:04 +02:00
Sokomine
0bea918686 limited number of preconditions and options per dialog 2021-06-07 04:19:10 +02:00
Sokomine
8157512e6b human readable texts for the preconditions 2021-06-07 04:00:06 +02:00
Sokomine
2bd1863e79 actually save the preconditions 2021-06-07 00:32:11 +02:00
Sokomine
850343a30d process input into field elements of fs_edit_preconditions.lua 2021-06-06 20:49:47 +02:00
Sokomine
24106d984b give back button priority in edit_preconditions.lua 2021-06-06 00:06:35 +02:00
Sokomine
9ad63d1591 added formspecs for precondition setup 2021-06-06 00:02:29 +02:00
Sokomine
d916178ca0 added fs_edit_preconditions.lua and fs_edit_effects.lua 2021-06-03 21:12:58 +02:00