diff --git a/exec_actions.lua b/exec_actions.lua index a6cedfe..ac4f9fb 100644 --- a/exec_actions.lua +++ b/exec_actions.lua @@ -11,6 +11,10 @@ yl_speak_up.action_inv_changed = function(inv, listname, index, stack, player, h -- if not in edit mode: the player may just be normally interacting with the NPC; -- nothing to do for us here (wait for the player to click on "save") if(not(n_id) or yl_speak_up.edit_mode[pname] ~= n_id) then + if(listname and listname == "npc_gives") then + yl_speak_up.input_fs_action_npc_gives(player, "action_npc_gives", {}) + return + end return end -- is the player in the process of editing an action of the npc_gives/npc_wants type?