very simple method:
1 object:
if [EXPRESSION] coffee.parent=player
-> then, print a message "you leave a tip"
else, print a message "Is a little weird leave a tip without buying nothing"
2 objects:
if [EXPRESSION] coffee.parent=player or candy.parent=player
-> then, print a message "you leave a tip"
else, print a message "Is a little weird leave a tip without buying nothing"
3 objects:
if [EXPRESSION] coffee.parent=player or candy.parent=player or soda.parent=player
-> then, print a message "you leave a tip"
else, print a message "Is a little weird leave a tip without buying nothing"
4 objects:
if [EXPRESSION] coffee.parent=player or candy.parent=player or soda.parent=player or pizza.parent=player
-> then, print a message "you leave a tip"
else, print a message "Is a little weird leave a tip without buying nothing"
5 objects:
(you get the idea or pattern, hehe)
----------------
ONLY with ALL 4 objects TOGETHER:
if [EXPRESSION] coffee.parent=player and candy.parent=player and soda.parent=player and pizza.parent=player
-> then, print a message "you leave a tip"
else, print a message "Is a little weird leave a tip without buying nothing"
// if player has only coffee, then output: "Is a little weird leave a tip without buying nothing"
// if player has only pizza, then output: "Is a little weird leave a tip without buying nothing"
// if player has coffee, candy, and soda, then output: "Is a little weird leave a tip without buying nothing"
// if player has coffee, candy, soda, and pizza, then output: "you leave a tip"
--------------
there's better ways to do what you want, but it might be hard for me to explain in english, whereas someone who can speak your language can help you better, obviously. As to show you better ways of doing things, means I'll need to explain them so that you can understand how and why they work, which will be difficult if you don't understand english well.
I'm sure we got people here who can help you in our language, what is your native language?
ah, spanish... I think user 'm4u' knows spanish (he~she is helping with translating quest to spanish, I think), and we certainly have many other users who know spanish too. Hopefully, one of them can help you out.