Commit Graph

721 Commits

Author SHA1 Message Date
Sokomine
a1af19ca46 fixed bugs regarding variable selection in preconditions and effects 2021-06-21 01:21:50 +02:00
Sokomine
f794a10a30 strip whitespaces around variable names 2021-06-21 01:02:53 +02:00
Sokomine
58e701fde1 took care of unregistered globals 2021-06-21 00:43:09 +02:00
Sokomine
eb7861393b fixed bug in on_rightclick 2021-06-20 23:54:35 +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
cea602230f ignore leading/tailing whitespaces when checking password 2021-06-20 17:53:39 +02:00
Sokomine
827020d167 variable handling related to current time 2021-06-20 17:28:21 +02:00
Sokomine
a7288bb2b9 save the inventory of the NPC after npc_gives/npc_wants 2021-06-20 16:32:10 +02:00
Sokomine
fd177472c5 fixed bug; effects are executed again 2021-06-20 03:55:15 +02:00
Sokomine
4085e87f29 show dialog for on_failure of actions; improved formspecs 2021-06-20 02:18:32 +02:00
Sokomine
73aaa15c44 show target dialog for on_failure effect 2021-06-20 00:58:08 +02:00
Sokomine
c93012338d show background images when editing inventory-related actions 2021-06-20 00:36:07 +02:00
Sokomine
a44cb0fbdd allow actual editing of most preconditions, actions and effects 2021-06-19 23:42:05 +02:00
Sokomine
b594b3d237 quest items are destroyed if the NPC runs out of storage space 2021-06-19 18:20:12 +02:00
Sokomine
f8bc784776 implented action text_input 2021-06-19 18:16:52 +02:00
Sokomine
30420a6b42 trade is now an action; removed from edit options dialog 2021-06-19 03:22:47 +02:00
Sokomine
c6a837d663 added example for custom action 2021-06-19 03:21:02 +02:00
Sokomine
11edcc8b31 yl_speak_up.action_quest_item_take_back 2021-06-19 02:48:08 +02:00
Sokomine
5fecab3ed7 implemented part of npc_gives/npc_wants item handling 2021-06-19 02:23:43 +02:00
Sokomine
822fb48da9 added basic formspecs for npc_wants/npc_gives 2021-06-19 00:50:41 +02:00
Sokomine
9ed4cfc92d added yl_speak_up.execute_next_action and general action handling 2021-06-18 04:36:59 +02:00
Sokomine
2290f9d463 removed obsolete code 2021-06-16 03:08:55 +02:00
Sokomine
7045842359 actions of type custom can now be created 2021-06-16 02:59:10 +02:00
Sokomine
7fe9f18791 removed obsolete code 2021-06-16 01:43:47 +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
dc69b71a33 show actions correctly when editing dialogs 2021-06-15 19:14:40 +02:00
Sokomine
634631a8e9 added blacklist for quest items 2021-06-15 01:23:49 +02:00
Sokomine
9e4e0b9b26 added quest items and password input to README.md 2021-06-15 01:17:55 +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
2ace5da2c9 bugfix in sort_keys for actions 2021-06-14 23:18:31 +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
5abda37cf7 do not right-click on nodes which have an inventory 2021-06-12 17:22:40 +02:00
Sokomine
151b55581c do not right-click on nodes with a formspec 2021-06-12 17:12:32 +02:00
Sokomine
0784b86b1d respect owner when interacting with nodes in effects 2021-06-12 17:03:38 +02:00
Sokomine
69d29d7aec added blacklist for effect block interaction 2021-06-12 16:52:39 +02:00
Sokomine
286a83af8c added effect right-click a block 2021-06-12 02:30:37 +02:00
Sokomine
b60d5b03d0 added effect state change of variable 2021-06-12 01:07:08 +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
28ffd87362 show in edit options menu when a craft receipe effect fails due to changed receipe 2021-06-11 00:35:11 +02:00
Sokomine
d3d90134ee yl_speak_up.execute_all_relevant_effects 2021-06-11 00:20:40 +02:00
Sokomine
7cfad9586a copied player move code over to fs_edit_effects.lua 2021-06-10 23:34:34 +02:00
Sokomine
b684ec3307 implemented some of the effects 2021-06-10 23:15:28 +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
8a69b4caeb explained actions in README.md 2021-06-10 18:11:23 +02:00