In addition to what you take with you onto the ship, you could have a separate strategy for stockpiling after boarding. I've never been on an overnight cruise but surely these things would be obtainable once on board and could be stored in the room for the duration:

water bottles, soda, juice

fruit, bread, nuts, chips


It's my understanding that the big ships are 24/7 floating buffets.


.