add this after:
L17366
and before
push_event // reply
push_const 104
Code:
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 3139
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 6
greater
branch_false L1736612
L1736611
it counts if player has items needed, and only then lets perform the action.
also add
L1736612
after
L17374
L17372
L17362
P.S. hope you understood... i can't post whole code as mine has 2nd protection, that cant be shared. I have similar fiexs for chamberlain and doorkeepers. If you able to implement this one, ill post other two