You mean, is the officer allowed to lie to you to obtain evidence?

Yes, yes he is. There is no "must always tell the truth" clause in the criminal code.

The fact that you were helpful after he saw one pipe in plain sight and brought him more just makes you a ... well... I would not recommend doing that.