Restaurant cars are available on New Zealand long-distance trains. You are allowed to carry your food on a train.