Commit Graph

22 Commits

Author SHA1 Message Date
Sokomine
a44cb0fbdd allow actual editing of most preconditions, actions and effects 2021-06-19 23:42:05 +02:00
Sokomine
7045842359 actions of type custom can now be created 2021-06-16 02:59:10 +02:00
Sokomine
5f652f62ae added save function for actions of type trade 2021-06-16 01:36:50 +02:00
Sokomine
5d0083212a added input formspec for action of type trade 2021-06-16 00:25:18 +02:00
Sokomine
51e8e197b4 implemented saving password input action 2021-06-15 19:40:56 +02:00
Sokomine
634631a8e9 added blacklist for quest items 2021-06-15 01:23:49 +02:00
Sokomine
4d81955421 implementing storing action npc_wants 2021-06-15 00:14:21 +02:00
Sokomine
ed333192cb implemented storing action npc_gives 2021-06-14 23:44:28 +02:00
Sokomine
a1ce1db375 preparations/formspecs for npc_wants/npc_gives 2021-06-14 01:12:12 +02:00
Sokomine
5d82cbc32d added fs_edit_actions.lua and necessary sourroundings 2021-06-12 21:17:58 +02:00
Sokomine
62cfd61e8a took care of undeclared globals 2021-06-12 17:36:15 +02:00
Sokomine
69d29d7aec added blacklist for effect block interaction 2021-06-12 16:52:39 +02:00
Sokomine
003b322af3 implemented effects that are block- and crafting-related 2021-06-12 00:17:51 +02:00
Sokomine
d21141ec1f on_failure effect now acts upon failed *effects* instead of a failed action 2021-06-11 16:47:56 +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
4e4948923a added effect send chat message to all 2021-06-10 17:46:09 +02:00
Sokomine
d2e5840886 only blocks where the player (npc owner) can build are suitable for preconditions and effects 2021-06-09 22:04:07 +02:00
Sokomine
5c8586cc50 removed done TODO point 2021-06-09 21:49:29 +02:00
Sokomine
6ec65d6a17 added effects craft and on_failure (but not implemented yet) 2021-06-09 21:43:49 +02:00
Sokomine
2d233a16e7 preparations for on_failure effect 2021-06-09 00:56:50 +02:00
Sokomine
967e7c6eb4 created fs_edit_general.lua with common functions for preconditions and effects 2021-06-08 23:56:55 +02:00