Commit Graph

45 Commits

Author SHA1 Message Date
Sokomine
187416396b implemented effect 'property' and prepared effect 'evaluate' 2022-06-19 19:32:30 +02:00
Sokomine
0e62741926 extracted exec_apply_effects.lua from fs_edit_effects.lua 2022-01-06 18:15:54 +01:00
Sokomine
b536ce99f3 improved documentation of values in fs_edit_effects.lua 2022-01-06 02:52:54 +01:00
Sokomine
3c52cfeae6 implemented deal_with_offered_item effect (only editing, not effect yet) 2022-01-06 02:41:04 +01:00
Sokomine
e61baf7ab5 implemented put_into_block_inv and take_from_block_inv 2021-12-28 03:15:41 +01:00
Sokomine
f01744aa70 added put_into_block_inv and take_from_block_inv formspec and storing 2021-12-26 22:43:06 +01:00
Sokomine
aae92b7da3 added menu entries for put_into_block_inv, take_from_block_inv 2021-12-26 18:50:04 +01:00
Sokomine
eb7d1701a1 allow to set prefix and color for chat_all message 2021-08-01 20:31:05 +02:00
Sokomine
d16cc44e6c convert to numbers were necessary in the effects 2021-07-12 00:31:27 +02:00
Sokomine
5cab21449d fixed bug in effects when the variable is nil 2021-07-12 00:24:47 +02:00
Sokomine
7a0c442508 added missing effects for variable states 2021-07-10 17:51:50 +02:00
Sokomine
5cf3e412c5 quest api variables are now properly saved and restored 2021-07-03 21:25:38 +02:00
Sokomine
577ea356aa actually apply alternate_text texts 2021-07-01 23:14:33 +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
e199257fb6 added support for editing effect of type move 2021-06-28 23:05:23 +02:00
Sokomine
e47680fd7d added give_item and take_item (editable with npc_master) 2021-06-28 18:24:07 +02:00
Sokomine
f7470a7bb1 made function get_number_from_id accessible 2021-06-21 18:22:37 +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
827020d167 variable handling related to current time 2021-06-20 17:28:21 +02:00
Sokomine
fd177472c5 fixed bug; effects are executed again 2021-06-20 03:55:15 +02:00
Sokomine
a44cb0fbdd allow actual editing of most preconditions, actions and effects 2021-06-19 23:42:05 +02:00
Sokomine
a1ce1db375 preparations/formspecs for npc_wants/npc_gives 2021-06-14 01:12:12 +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
4e4948923a added effect send chat message to all 2021-06-10 17:46:09 +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
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
d916178ca0 added fs_edit_preconditions.lua and fs_edit_effects.lua 2021-06-03 21:12:58 +02:00