Commit Graph

24 Commits

Author SHA1 Message Date
Sokomine
cce17c7c23 fixed undeclared globals 2025-06-09 03:41:34 +02:00
Sokomine
3855a9b393 allow to take parts of a stack in d_got_item if take_as_wanted is set 2025-06-08 16:32:57 +02:00
Sokomine
710c8e1928 fixed bug with empty list in ipairs issue #8378 2025-04-05 17:48:49 +02:00
Sokomine
8af9a995a0 #5268 mention missing npc privs in debug mode 2024-12-15 17:09:01 +01:00
Sokomine
b9bebe82bd allow NPC to use tools when punching and right-clicking blocks 2024-07-20 01:20:08 +02:00
Sokomine
189165dd22 count visits to options 2024-02-29 12:40:59 +01:00
Sokomine
21c8f1149d added dry_run_no_exec parameter to execute_all_relevant_effects so that the function can work properly in edit_mode 2024-02-07 22:12:18 +01:00
Sokomine
dd5ea7e38f added quest_step_reached 2023-08-06 03:30:33 +02:00
Sokomine
d8736a3520 added property server_nolog_effects 2023-04-27 23:14:51 +02:00
Sokomine
47277d555b bugfix: if give_item failed to give all: log properly 2023-04-27 21:00:37 +02:00
Sokomine
5fd501187d added special d_trade dialog; efects based on preconditions can now be executed before showing the trade_list 2022-10-28 13:30:19 +02:00
Sokomine
d5ad680999 effect deal_with_offered_item now properly returns true if true 2022-10-17 07:21:43 +02:00
Sokomine
ca0a699a3e log execution of effects 2022-10-09 00:44:42 +02:00
Sokomine
e842960830 added yl_speak_up.get_one_npc_property; added yl_speak_up.get_npc_properties_long_version for easier access to properties 2022-09-04 06:12:41 +02:00
Sokomine
b7d0f88790 properties starting with "server" can only be changed manually by players with the npc_master priv 2022-08-07 23:18:35 +02:00
Sokomine
a5bb692533 removed obsolete effect "custom" (use evaluate instead) 2022-07-27 03:38:49 +02:00
Sokomine
7deca89a5d finished implementation of effect "evaluate" 2022-07-27 03:32:26 +02:00
Sokomine
4c577280ac added handling of property changes through custom functions 2022-07-17 19:08:43 +02:00
Sokomine
187416396b implemented effect 'property' and prepared effect 'evaluate' 2022-06-19 19:32:30 +02:00
Sokomine
86c87b0c45 fixed bug in exec_apply_effects when taking items 2022-05-09 17:42:07 +02:00
Sokomine
282ae84c81 npc privs have to match for the npc or for the generic npc who provides a functionality 2022-04-22 03:18:49 +02:00
Sokomine
ed17ea34fd introduced privs for npc 2022-04-16 22:05:35 +02:00
Sokomine
d0e7b23127 actually handle partial taking of items 2022-01-18 21:56:01 +01:00
Sokomine
0e62741926 extracted exec_apply_effects.lua from fs_edit_effects.lua 2022-01-06 18:15:54 +01:00