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 |
|
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
|
86701d5325
|
sort keys numericly, i.e. p_2 before p_10
|
2021-06-09 18:51:55 +02:00 |
|
Sokomine
|
2d233a16e7
|
preparations for on_failure effect
|
2021-06-09 00:56:50 +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
|
ba31a932ad
|
added tooltips for precondition and effect list
|
2021-06-07 04:28:15 +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 |
|